httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: graceful replace
Date Fri, 06 Mar 1998 22:21:44 GMT
Dean Gaudet wrote:
> Anyone thought about ways to do "graceful replace" -- gracefully stop
> current connections and replace the httpd binary with a new one?
> >From what I can see the biggest trouble is the scoreboard.  The parent has
> to use exec() to replace itself, because it needs to maintain parent/child
> relationships.  It'll inherit all the sockets across that, which is cool.
> But neither anon mmap() or shmget are kept across exec.
> So it'd require named mmap or named shmget.
> Doesn't seem that bad.  I'm thinking of hacking it together because one of
> my users has put a bunch of popular big files up for http and I really
> hate interrupting the slow 28.8 folks... and so I can't replace my httpd
> as frequently as I like to.

Sounds cool. I'd like to see it.



Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|
and Technical Director|Email: |
A.L. Digital Ltd,     |Apache-SSL author
London, England.      |"Apache: TDG"

View raw message