Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2008 10:34:36 -0600
From:      Scott Oertel <freebsd@scottevil.com>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        FreeBSD Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: accf_http and incqlen
Message-ID:  <47D16E9C.9060203@scottevil.com>
In-Reply-To: <20080307101002.GA99525@walton.maths.tcd.ie>
References:  <47D006F7.1030607@scottevil.com> <47D063FF.7000409@geminix.org> <20080307101002.GA99525@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
David Malone wrote:
> 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.
>
>   
So having the queue showing full in the netstat should be normal, and
not have any side effects? btw, i tested this on 4.x, 5.x, 6.x and 7.x,
they all appear to behave in the same fashion.


-Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D16E9C.9060203>