On 2023-09-23, Nick Holland <nick@holland-consulting.net> wrote:
> Hello,
> Twice in the last couple weeks, I've had httpd fall over on me.
> Only clue I've got is this in /var/log/messages:
>
> MASTER $ grep httpd daemon
> Sep 23 05:24:06 node2 httpd[69989]: logger exiting, pid 69989
> Sep 23 05:24:06 node2 httpd[80972]: parent terminating, pid 80972
> Sep 23 05:24:06 node2 httpd[46871]: server exiting, pid 46871
> Sep 23 05:24:06 node2 httpd[34953]: server exiting, pid 34953
>
> first time was after seven days of uptime, this time after
> six days. (dmesg below)
>
> I've not seen httpd fall over like this before...where can
> I look to provide better info on this problem?
There are some known problems in httpd with fastcgi.
This should get you coredumps:
sysctl kern.nosuidcoredump=2
mkdir /var/crash/httpd
or run it under gdb and poke around after a crash
pkg_add gdb
egdb /usr/sbin/httpd
set args -vd
run
Either way you'll probably wany to rebuild it with DEBUG=-g to get debug
symbols.
No comments:
Post a Comment