[nycbug-talk] Strange Apache Coredump behavior
mark.saad at ymail.com
Fri Dec 30 15:15:49 EST 2011
On Thu, Dec 29, 2011 at 10:14 AM, Brian Seklecki (Mobile)
<root at probikesllc.com> wrote:
>> I have no cores and I am stumped.
> Check the apache RC script; it may be setting ulimit(1) on coredump.
> Also try to run a "Hello World" segfault tester as the www/httpd user and
> see if you get your dump.
> int main(void)
> char *s = "hello world";
> *s = 'H';
The end result of that issue was I forgot to set kern.sugid_coredump=1
in sysctl.conf .
Also in FreeBSD 7.3 gcore would not produce any usable coredumps from
apache. I could not figure that out.
Mark Saad | mark.saad at ymail.com
More information about the talk