It appears you have not registered with our community. To register please click here ...

Author Topic: Error - child pid XXXX exit signal Segmentation fault (11)  (Read 2225 times)

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Error - child pid XXXX exit signal Segmentation fault (11)
« on: August 23, 2005, 05:19:01 PM »
I am having trouble with Apache on one of my web servers.  Every couple days, Apache jams up.  Upon looking at the log at /var/log/httpd/error_log I see the "[error] server reached MaxClients setting" but before that is the warning "[notice] child pid xxxx exit signal Segmentation fault (11)".  Here are a few bytes from the log:
Quote
[Mon Aug 22 23:52:12 2005] [notice] child pid 1053 exit signal Segmentation fault (11)
[Tue Aug 23 00:14:56 2005] [notice] child pid 1056 exit signal Segmentation fault (11)
[Tue Aug 23 04:30:49 2005] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Tue Aug 23 12:13:48 2005] [warn] child process 3058 still did not exit, sending a SIGTERM
[Tue Aug 23 12:13:50 2005] [warn] child process 32079 still did not exit, sending a SIGTERM
[Tue Aug 23 12:13:50 2005] [warn] child process 6229 still did not exit, sending a SIGTERM
[Tue Aug 23 12:13:50 2005] [warn] child process 2574 still did not exit, sending a SIGTERM

The "process xxxx still did not exit" warnings continue on for a while.  They are from the Apache restart command which tries to kill all Apache processes but has trouble doing that for some reason.  After a few minutes, Apache does restart, but it is really annoying me and the people who have data on this server.  The weird thing is that this server has not had such a problem since it\'s commission over a year ago and no updates or anything recently have been performed which could be associated to this problem.

SERVER INFO:
OS: Linux Redhat 9
Apache version: 2.0
Persistent connections: Off
PHP version: 4.2.2

Any help?  Thanks.
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

adb22791

  • Former Moderator
  • Full Member
  • ***
  • Posts: 149
  • Karma: +10/-0
    • ICQ Messenger - 226098809
    • View Profile
    • Email
Error - child pid XXXX exit signal Segmentation fault (11)
« Reply #1 on: August 24, 2005, 06:09:44 AM »
Maybe its an issue with Red Hat 9 and Apache 2.0. You might want to try and upgrade to Fedora Core or CentOS.
-Alex

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Error - child pid XXXX exit signal Segmentation fault (11)
« Reply #2 on: August 24, 2005, 09:11:08 PM »
This is a production web server, so upgrading in such a way is not an option.
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Error - child pid XXXX exit signal Segmentation fault (11)
« Reply #3 on: September 09, 2005, 10:02:00 AM »
After trying many different tweaks, I finally found the solution to this problem.  It appears that adjusting the MaxRequestsPerChild setting in the httpd.conf file does the trick.  By default, Apache assumes unlimited child requests which is fine if everything is working perfectly all the time, but if a process hangs, it creates a clog that never gets cleaned out.  Adjusting the setting from 0 to something high like 1000 or 10000 kept processes new and prevented crashing for us.
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
2625 Views
Last post November 23, 2005, 12:39:57 PM
by dynaweb
0 Replies
2203 Views
Last post December 19, 2005, 12:35:24 PM
by dynaweb
1 Replies
1733 Views
Last post January 15, 2006, 01:42:32 AM
by dynaweb
1 Replies
1961 Views
Last post June 05, 2006, 03:01:39 PM
by dynaweb
1 Replies
1484 Views
Last post August 28, 2006, 03:02:54 PM
by ctwjr