Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 16:32:11 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Setting coredumpsize on a running process?
Message-ID:  <j7k2lb$k85$1@dough.gmane.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I have PHP executing as fastcgi via the mod_fcgid module in Apache. I
suspect there is a bug in PHP or one of its extensions which causes it
to crash with sigsegv, but I cannot get any coredumps. I suspect
something is setting coredumpsize to 0 - either Apache, mod_fcgid or PHP.

So the question is: is there a way to set coredumpsize on a running
process, with the intention of getting a core dump when it crashes? I
already tried setting CoreDumpDirectory in Apache and also configuring
apache22limits_args in /etc/rc.conf but without effect.



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6djesACgkQldnAQVacBchXSQCeKJAvn5w/pjkU+U5bFDmIUiwr
LwwAn1IvrDqIlL9DOxczk7mdWhf24v2v
=mmqT
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j7k2lb$k85$1>