httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: ben's patch
Date Sun, 23 Jun 1996 19:02:50 GMT
Aram Mirzadeh wrote:
> 
> It does something very strange on linux:
> 
> # ps -afx
> ...
> 10063   2 S    0:00 nxterm -T localhost
> 10064  p2 S    0:00  \_ -csh
> 10585  p2 S    0:00      \_ strace -p 10563
> 10563  ?  S    0:00          \_ httpd
> 10564  ?  S    0:00              \_ httpd
> 10565  ?  S    0:00              \_ httpd
> 10566  ?  S    0:00              \_ httpd
> 10567  ?  S    0:00              \_ httpd
> 10568  ?  S    0:00              \_ httpd
> 10569  ?  S    0:00              \_ httpd
> 10570  ?  S    0:00              \_ httpd
> 10571  ?  S    0:00              \_ httpd
> 10572  ?  S    0:00              \_ httpd
> 10573  ?  S    0:00              \_ httpd
> 
> # kill -INT 10563
> 
> 	this doesn't do anything... strace just does the same thing.

Nothing will happen until you make a request. What you should see is one child
die per request, until there are none, then a new batch start.

> 
> # kill -HUP 10563
> 
> 	This does restart the main server...

But not the children?

> 
> # kill 10563
> 
> 	This kills the main process only the rest become zombie processes.
> 
> This happens only if you do the above in that order...
> 
> <Aram>
> 
> --
> Aram Mirzadeh						awm@qosina.com
> MIS Manager				      Apache httpd team member
> Qosina Corporation				    aram@hyperreal.com
> http://www.qosina.com/			    http://www.qosina.com/~awm
> PGP Key 			http://www.qosina.com/~awm/pgpkey.html
> Key Sig 	      BE 49 9D F6 2A A7 22 FC  02 E9 1E 3D F7 0C 67 A0
> 
> You're not drunk if you can lie on the floor without holding on.
>                 -- Dean Martin
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.

Mime
View raw message