1
naish
Xoops causes segmentation faults under high load.
  • 2004/2/5 13:23

  • naish

  • Just popping in

  • Posts: 21

  • Since: 2003/6/10


We just went live with our XOOPS site: www.fyn.dk

And now we get a lot of these errors:

[Thu Feb 5 14:15:33 2004] [notice] child pid 3033 exit signal Segmentation fault (11)

We have been unable to track the problem down. On a sister server (not using xoops) we have no problem whatsoever.

Ideas and suggestions are most welcome

Michael

2
RemyA
Re: Xoops causes segmentation faults under high load.
  • 2004/2/5 14:37

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


naish,

great to hear that you went live with XOOPS .."congrats!"

You paste a line from your httpd log, however it does not contain enough information, could you perhaps show us some output of the "core" file ? perhaps we can determine if XOOPS has anything to do with it and where things goes wrong.
I suppose you use Apache, but pasting more info about the environment in which XOOPS runs would help us more ..

Whenever a SEGV occurs paste also the line(s) of the access and error logs of your httpd daemon .


3
naish
Re: Xoops causes segmentation faults under high load.
  • 2004/2/5 14:49

  • naish

  • Just popping in

  • Posts: 21

  • Since: 2003/6/10


Thats the problem, the process segfaults before it writes anything to the access_log, thus it is empty.

There is no core dump either, we are currently looking into building apache/php with debug options.

I seem to recall that xoops.org once suffered from "blank pages" and that it suddenly went away. Anybody know what happened there? It would seem that we are the victims of the same problem.

4
ackbarr
Re: Xoops causes segmentation faults under high load.

the blank pages were due to a template caching bug which would cause the CPU to be eventually maxed out. The temporary solution was to disable module / block level template caching. Personally it does sound like a problem with Apache+PHP that is manifesting itself due to site traffic.

5
RemyA
Re: Xoops causes segmentation faults under high load.
  • 2004/2/5 15:29

  • RemyA

  • Documentation Writer

  • Posts: 14

  • Since: 2003/12/5


Michael,

please commit the following command to retrieve coredumps from a segv : " ulimit -c unlimited "

for further information about ulimit you can have a look at the man. page.

You could let php do the debugging :

in "/etc/php.ini"
--------------------------
error_reporting = E_ALL
error_log = filename
--------------------------

Try to look at the logfile entries before the segv occurs and after (just watch the timestamps) .

Post your results again if you want .

With these steps you should be able to show a core file or a good overview of debug messages


6
naish
Re: Xoops causes segmentation faults under high load.
  • 2004/2/6 6:45

  • naish

  • Just popping in

  • Posts: 21

  • Since: 2003/6/10


Thanks for the advice.

We are already logging all errors to an error file, but nothing shows up there. No php errors at all.

But we are going to try and get a coredump ASAP.

Kind regards
Michael

Login

Who's Online

143 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits