From: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 10:17 PM


> On Thu, 12 Jul 2001, Bill Stoddard wrote:
> > The problem is that the processes started by the child are inheriting the sockets 
>from the child. I
> > wasn't clear about that.
> >
> > The parent needs to manage the listen sockets to enable graceful restarts to work. 
> Having the
> > parent own the listeners allows us to not destroy the listen queue (and anything 
>on it) across a
> > graceful restart.  The code to prevent inheriting the socket is quite simple, it 
>was just behaving
> > strangely (see below).
> 
> I have a patch on my computer that closes the sockets when children create
> child processes.  I haven't committed it because I haven't fully tested it
> yet.  I'll try to finish it up and commit it tonight.  This patch should
> fix a big part of this part of the problem.

Only for fork()ed children ;-)

Reply via email to