Setting coredumpsize on a running process?

Ivan Voras ivoras at
Tue Oct 18 14:32:25 UTC 2011

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-stable mailing list