You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/07/07 05:18:11 UTC

Re: reliable piped logs

> On Sun, 6 Jul 1997, Dean Gaudet wrote:
> 
> > On Sun, 6 Jul 1997, Marc Slemko wrote:
> > 
> > > Note that I also want to be able to do something similar for the listen
> > > sockets.  On some OSes (particularly Linux and Solaris) we can get in
> > > endless loops of accept() failures when something bad happens to the
> > > socket, so it would be nice to detect that and close/reopen it.
> > 
> > The endless loop of select() thing seems to have disappeared with 1.2
> > though, hasn't it?  I remember seeing reports against early betas but Roy
> > rewrote child_main and it seemed to cure it.
> 
> Erm... accept(), not select().
> 
> No, I think I still have reports under 1.2.  Just remembered, Unixware was
> the other OS I saw a lot of reports about it on.  The basic problem with
> the current code is that if the socket gets messed up in any way, Apache
> will never figure it out and reopen it.  Unfortunately, this isn't easy to
> fix which is why it isn't. 
> 
> We can see how it goes with 1.2... 

I seem to remember that Roy's changes fixed the problem for some of 
the Unixware sites I had been talking to.