Date: Fri, 7 Mar 2008 10:10:02 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: Uwe Doering <gemini@geminix.org> Cc: Scott Oertel <freebsd@scottevil.com>, FreeBSD Mailing List <freebsd-stable@freebsd.org> Subject: Re: accf_http and incqlen Message-ID: <20080307101002.GA99525@walton.maths.tcd.ie> In-Reply-To: <47D063FF.7000409@geminix.org> References: <47D006F7.1030607@scottevil.com> <47D063FF.7000409@geminix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 06, 2008 at 10:37:03PM +0100, Uwe Doering wrote: > Last time I looked (in FreeBSD 4.x) these were connections that got > stuck in an early stage, that is, before the HTTP request had been > received. The 'accf_http' filter which wants to parse said request > waits forever in this situation because there is no timeout implemented, > as far as I recall. So these would-be HTTP connections pile up over time. The accf_http should flush out the oldest of these connections once there are more than a certain number of them. I think that the number permitted depeneds on the backlog parameter passed to listen. I checked that this worked recently, and it seemed to do the right thing on 7.X and 4.X. I'd be suprised if 5.X and 6.X differed in a substantial way. David.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080307101002.GA99525>