apache crashes with signal 11

0 like 0 dislike
6 views
Tell me how to find the leak.

Has a brand piece of iron, it spins a couple of sites on Joomla, Gallery2, DokuWiki, phpMyAdmin, Munin
From time to time crashes with the same entries in the log:

[notice] child pid 22048 exit signal Segmentation fault (11)

I tried to put apache2-mpm-itk (have) — you get basically the same thing:
[error] child died with signal 11

In apache2.conf put LogLevel debug in php.ini put error_reporting = E_ALL & ~E_DEPRECATED
but nothing in the logs interesting, sometimes swears on Undefined php variable and the lack of files and all.

It seems that the memory is leaking, but can't figure out who is to blame.

A little bit about the system:

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

# uname-a
Linux myserver 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux

# apache2ctl -V
Server version: Apache/2.2.14 (Ubuntu)
Server built: Sep 28 2010 12:53:28
Server's Module Magic Number: 20051115:23
Server loaded: APR 1.3.8, APR-Util 1.3.9
Compiled using: APR 1.3.8, APR-Util 1.3.9
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)

# php5 -v
PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:49:46)
Copyright © 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
with Suhosin v0.9.29, Copyright © 2007, by SektionEins GmbH

Installed php-apc 3.1.3p1-2, tried to update to 3.1.4, and 3.1.5 — no difference.

The whole set of soft — Repov, he didn't pack anything.

UPD: the ambush was in a bunch of Joomla + APC. Demolished APC, configured nginx+apache2+eAccelerator — some days flight normal. The software upgrade has decided not to pursue for experimental purposes.
by | 6 views

3 Answers

0 like 0 dislike
it may well be that the problem in which the thread module while Apache I would still updated.
https://issues.apache.org/bugzilla/buglist.cgi?quicksearch=segmentation+fault
by
0 like 0 dislike
Rather, the issue in PHP than in Apache. Except APC no other extensions? Try to drive without php-apc. And update Apache and PHP to the latest version (2.2.16 and 5.3.3 respectively).
I have Apache regularly drops when I used eaccelerator; then fell due to xdebug.
by
0 like 0 dislike
Try to catch the core file to load the gdb debugger and pick up this file. Need to do a backtrace and try to understand at what stage the error occurs.
Most likely, we will see what function failed SIGSEGV. Debugging information is not necessarily required.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 13, 2019 by Minifets
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,857 users