[nycbug-talk] Strange Apache Coredump behavior
Jesse Callaway
bonsaime at gmail.com
Fri Dec 30 15:43:42 EST 2011
s/https/ with a d
On Dec 30, 2011 3:43 PM, "Jesse Callaway" <bonsaime at gmail.com> wrote:
> Apache https has its own corefile options. Since it starts as root it may
> override or ignore your system settings. I don't know the syntax offhand,
> and but the docs at apache.org should give some love.
> On Dec 30, 2011 3:17 PM, "Mark Saad" <mark.saad at ymail.com> wrote:
>
>> 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
>> _______________________________________________
>> talk mailing list
>> talk at lists.nycbug.org
>> http://lists.nycbug.org/mailman/listinfo/talk
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20111230/15abcc90/attachment.html>
More information about the talk
mailing list