List Info

Thread: apache2 segfaulting




apache2 segfaulting
user name
2006-12-08 17:57:49
Hello,

I've been dealing with apache2 segfaults on my Gentoo system
for years
now.  I noticed a recent message on this list about apache
segfaults
so I thought I'd give this a try.

My segfaults definitely seem to coincide with increases in
traffic.
They look like this:

[Fri Dec 08 09:45:02 2006] [notice] child pid 25294 exit
signal
Segmentation fault (11)

and are sometimes accompanied by one of these:

ALERT: bad pipe signal received for /index.html

The ALERT will also show up on its own sometimes without an
accompanying segfault.  My CFLAGS are as follows:

CFLAGS="-O2 -march=pentium4 -pipe
-fomit-frame-pointer"

Does anyone have any idea how to debug or fix this?

- Grant
-- 
gentoo-servergentoo.org mailing list

apache2 segfaulting
user name
2006-12-08 20:51:06
Grant wrote:
> Does anyone have any idea how to debug or fix this?
> 
> - Grant

Apache and loaded module versions would be good info.
Additionally I'd 
start using cacti/snmp to watch system resources for
tracking memory and 
load. IIRC you've got at least mod_perl in there and that's
the most 
likely culprit in my mind.

Ramin
-- 
gentoo-servergentoo.org mailing list

apache2 segfaulting
user name
2006-12-08 23:41:33
> > Does anyone have any idea how to debug or fix
this?
> >
> > - Grant
>
> Apache and loaded module versions would be good info.
Additionally I'd
> start using cacti/snmp to watch system resources for
tracking memory and
> load. IIRC you've got at least mod_perl in there and
that's the most
> likely culprit in my mind.
>
> Ramin

Hello Ramin,

I'm using apache-2.0.58 and mod_perl-2.02.  The last time I
tried to
get to the bottom of this, mod_perl was believed to be the
culprit.
mod_perl-2.0.3 has been released and I've submitted a
version bump
bug.  Is waiting for 2.0.3 the best thing to do, and then
debug if
that doesn't fix it?

- Grant
-- 
gentoo-servergentoo.org mailing list

cacti vs. munin was:
user name
2006-12-09 18:22:40
sorry for hijacking this thread.

> Additionally I'd 
> start using cacti/snmp to watch system resources for
tracking memory
> and load. 

personally, i prefer munin for this kind of job. i started
out on cacti, 
which i favoured because it uses snmp, but when trying to
get it to graph 
more than just the basic stuff its complexity just was too
much.
they do have a ton of plugins out there - but many of them
seem to be 
really hackish and difficult to get to work

with munin you can be up and running  within minutes (on
gentoo and debian 
at least) and get so much more info out... and they too have
a growing 
number of plugins available.

kind regards
Thilo
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )