LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2009, 11:39 AM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
apache2 error.log seg faults


Hello,

On my Debian Etch server, I'm finding a lot of the following in my /var/log/apache2/error.log file:
Code:
[Mon Jan 12 09:34:17 2009] [notice] child pid 17217 exit signal Segmentation fault (11)
[Mon Jan 12 09:34:18 2009] [notice] child pid 17206 exit signal Segmentation fault (11)
[Mon Jan 12 09:34:18 2009] [notice] child pid 17216 exit signal Segmentation fault (11)
What is a good way to trouble shoot and remedy this problem? We can't have processes dying all over the place, now can we.

Thanks!
 
Old 01-12-2009, 08:10 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
The only time I usually see that error is when a C prog writes off the end of an array. Don't know if that'll help...
 
Old 01-12-2009, 09:40 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by jhwilliams
What is a good way to trouble shoot and remedy this problem?
Crank it up to LogLevel debug, reload httpd, and check error_log for clues...

http://httpd.apache.org/docs/2.0/mod/core.html#loglevel
 
Old 01-13-2009, 07:10 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Ah yes! A fine idea. Thanks anomie.
 
Old 01-13-2009, 08:04 PM   #5
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
but alas, with debug....

Code:
285 [Tue Jan 13 19:10:54 2009] [notice] Apache configured -- resuming normal operations
286 [Tue Jan 13 19:10:54 2009] [info] Server built: Sep  8 2008 09:03:05
287 [Tue Jan 13 19:10:54 2009] [debug] prefork.c(1016): AcceptMutex: sysvsem (default: sysvsem)
288 [Tue Jan 13 19:16:33 2009] [notice] child pid 3611 exit signal Segmentation fault (11)
289 [Tue Jan 13 19:16:33 2009] [notice] child pid 3660 exit signal Segmentation fault (11)
290 [Tue Jan 13 19:16:34 2009] [notice] child pid 3659 exit signal Segmentation fault (11)
291 [Tue Jan 13 19:16:35 2009] [notice] child pid 3606 exit signal Segmentation fault (11)
292 [Tue Jan 13 19:16:36 2009] [notice] child pid 3610 exit signal Segmentation fault (11)
293 [Tue Jan 13 19:16:37 2009] [notice] child pid 3609 exit signal Segmentation fault (11)
294 [Tue Jan 13 19:16:38 2009] [notice] child pid 3607 exit signal Segmentation fault (11)
295 [Tue Jan 13 19:47:51 2009] [notice] child pid 3764 exit signal Segmentation fault (11)
296 [Tue Jan 13 19:47:51 2009] [notice] child pid 3775 exit signal Segmentation fault (11)
297 [Tue Jan 13 19:47:52 2009] [notice] child pid 3773 exit signal Segmentation fault (11)
298 [Tue Jan 13 19:49:34 2009] [notice] child pid 3765 exit signal Segmentation fault (11)
299 [Tue Jan 13 19:58:49 2009] [notice] child pid 3767 exit signal Segmentation fault (11)
 
Old 01-13-2009, 10:51 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
This thread help? Seems to be commonly related to mod_php.
 
Old 01-15-2009, 08:21 PM   #7
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Hey anomie, yea -- good find. That's the thing. I redirected php logs to syslog and the "child PID" segfaults have now disappeared from my apache2 error log. Well, not entirely; but now they come one at a time instead of ACTIVE_CHILDREN* at a time. I am surprised and someone disappointed that this package made its way into the stable repos, but it is true that it's not actually causing me any functional trouble.

* ACTIVE_CHILDREN is a fictitious macro I invented to get my point across.

Last edited by jhwilliams; 01-15-2009 at 08:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make believe seg faults binarybob0001 Programming 2 12-10-2007 05:37 AM
GCC seg faults benne Linux - Software 5 09-05-2005 02:09 AM
Repeated seg faults Tick Linux - General 5 07-29-2004 08:09 PM
seg faults happening allan_y Linux - General 2 07-25-2004 06:30 AM
w3m seg faults slakmagik Linux - Software 0 05-04-2003 11:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration