httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: signal handler questions
Date Tue, 08 Dec 2009 16:22:53 GMT
On Tue, Dec 8, 2009 at 2:57 PM, Tianwei <tianwei.sheng@gmail.com> wrote:
> Hi, all,
>    I met some SIGHUP problem for my httpd-2.2.14 version. To verify this
> problem, I use a clean 2.2.14 version, and configure it with:
>   CFLAGS="-O0 -g" ./configure --prefix=/home/tianwei/apache/install/
> --with-mpm=worker
> after installing,
> in gdb:
> (gdb) file bin/httpd
> Reading symbols from /home/tianwei/apache/install/bin/httpd...done.
> (gdb) r -X -k start
> then use ab to test it:
> tianwei@tianwei:~/apache/install$ ./bin/ab -n 10000 http://localhost/
> but after this testing, I receive the following error in gdb:
> Program received signal SIGHUP, Hangup.

This is expected behaviour.

The default configuration of apache has "MaxRequestsPerChild 10000".
You start apache with only one child (-X) and then issue 10,000
requests. Apache then restarts the child.

Cheers

Tom

Mime
View raw message