Why subprocess won't dump cores on segmentation fault (prefork MPM) ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

(Please CC: me of any followup)

I'm running apache2 and experience a crash of (probably mod-php) some
apache child process, with the prefork MPM Debian package (see more
details in [0]).

I've had no luck in trying to get cores dumped when the child process
crash.

I've set ulimit -c unlimited, set /proc/sys/fs/suid_dumpable to 2,
managed to set CoreDumpDirectory to a dir writable by www-data user (the
one the subprocess are run under on Debian), etc.

Only the master apache2 process will dump a core on kill -11, but not
its children spawned subprocess.

Any idea how to get a backtrace of the culprit code ?

Something is trapped by PHP maybe and prevents the core dump ?

Oh, and no, running with -X seems no option : the reproducibility
involves a POST to PHP code right after an apachectl graceful
(i.e. /etc/init.d/apache2 reload) (see details in [1], a likely
duplicate of [0]).

Many thanks in advance.

Best regards,

[0] http://bugs.debian.org/691318 
[1] http://bugs.debian.org/694473
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux