[H-GEN] Apache segfaulting... how to debug

Robert Brockway robert at timetraveller.org
Wed Jul 9 11:35:45 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Thu, 10 Jul 2003, Michael Anthon wrote:

> I have a problem with apache.  I am finding a lot of log messages
> indicating that apache child process are segfaulting, e.g.
>
> > [Thu Jul 10 00:12:53 2003] [notice] child pid 22379 exit signal
> > Segmentation fault (11)
>
> I am not getting any reports of problems from the users of the system so
> I'm not currently sure if this is actually causing a problem.  It's
> possible that it is and that the users are just reloading the affected
> page.  The actual cause of the segfault is also eluding me.  I can't
> find anything in particular that triggers it.  It seems to be random but
> relatively regular, on the order of 1% of requests judging by the logs
> since Sunday night.  This is not a new problem, I've noticed it before
> and put it into the "I'll fix that later cause nobody has noticed it"
> basket.

Do you have a resource allocation problem?  Is apache running out of file
descriptors or memory or something else?

> I have just upgraded apache and mod_ssl (using debian testing) and I use
> a custom compiled php4 package (I needed to add OCI8 support)

You mention the problem has been going on for a while - so it predates the
update?  Has it got worse since the update?

> What I would like to do is to track down the cause of these faults
> (obviously) so that I can fix it or ignore it.  I figured the best place

Is dmesg saying anything?

Turn logging right up and make sure apache is giving debug logs.

Rob

-- 
Robert Brockway B.Sc. email: robert at timetraveller.org  ICQ: 104781119
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list