On Wed, Dec 9, 2009 at 12:22 AM, Tom Evans <[email protected]> wrote:

> On Tue, Dec 8, 2009 at 2:57 PM, Tianwei <[email protected]> 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:
> > tian...@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
>
> Hi, Tom,
   Got it, thanks very much.

Tianwei

> Tom
>



-- 
Sheng, Tianwei
Inst. of High Performance Computing
Dept. of Computer Sci. & Tech.
Tsinghua Univ.

Reply via email to