NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: httpd + php on ec2 constant crash



On Tue, Dec 10, 2013 at 5:43 PM, el kalin <kalin%el.net@localhost> wrote:
>
>
> hi all…
>
> i have an netbsd instance on amazon's ec2 ws. it has pretty standard
> php+mysql+httpd installation on it. everything was build from pkgs. today a
> lot of people who were accessing it got the "connection reset" message. many
> times.
>
>
> my https error log looks like this:
>
> [Tue Dec 10 17:21:56.060797 2013] [core:notice] [pid 5380] AH00052: child
> pid 22012 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:05.239618 2013] [core:notice] [pid 5380] AH00052: child
> pid 6222 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:06.257665 2013] [core:notice] [pid 5380] AH00052: child
> pid 16224 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:06.451431 2013] [core:notice] [pid 5380] AH00052: child
> pid 14182 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:10.498240 2013] [core:notice] [pid 5380] AH00052: child
> pid 8846 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:13.639382 2013] [core:notice] [pid 5380] AH00052: child
> pid 15447 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:52.149443 2013] [core:notice] [pid 5380] AH00052: child
> pid 11396 exit signal Segmentation fault (11)
> [Tue Dec 10 17:22:56.189382 2013] [core:notice] [pid 5380] AH00052: child
> pid 19213 exit signal Segmentation fault (11)
> [Tue Dec 10 17:23:19.458501 2013] [core:notice] [pid 5380] AH00052: child
> pid 1812 exit signal Segmentation fault (11)
> [Tue Dec 10 17:23:22.479650 2013] [core:notice] [pid 5380] AH00052: child
> pid 7702 exit signal Segmentation fault (11)
>
> i tried to attach a current httpd process to gdb but gdb dies with this:
>
> /usr/src/external/gpl3/gdb/dist/gdb/thread.c:81: internal-error:
> inferior_thread: Assertion `tp' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n)
>
> i was hoping somebody here can point in me in the right direction to figure
> out what exactly is happening and how can i get rid off it..
>
> the instance is 6.0 NetBSD 6.0 (XEN3_DOMU) amd64
>
> thanks..
>


You'll need ot rebuild with -g, but:
http://mspo.com/how-to/apache-php-gdb.html


Home | Main Index | Thread Index | Old Index