httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: [PATCH] ENOBUFS is not a shooting offense.
Date Tue, 15 Jan 2002 21:26:07 GMT

-----
> "Bill Stoddard" <bill@wstoddard.com> writes:
>
> > Apache on HPUX will return ENOBUFS when resources are low. When ENOBUFS is returned,
the
> > TCP connection has whacked the connection before the call to accept() completed.
This
> > patch will enable the child process to stay up and running.
> >
> > This patch enables Apache on HPUX to more gracefully handle low resource conditions.
Any
> > concerns with committing this?
>
> > +#ifdef ENOBUFS
> > +                    /* HPUX 11 generates ENOBUFS when resources are low.
> > +                     * Ignore ENOBUFS rather than taking down the child
> > +                     */
> > +                case ENOBUFS:
> > +#endif
>
> The comment is very HP specific but the code isn't.  That makes me
> nervous.
>

I can change the comment.

The problem was reported on HP but I have no specific reason to believe the fix should be
limited to HP or that it will break anyone else.

Bill


Mime
View raw message