Date: Thu, 06 Mar 2008 09:00:07 -0600 From: Scott Oertel <freebsd@scottevil.com> To: FreeBSD Mailing List <freebsd-stable@freebsd.org> Subject: accf_http and incqlen Message-ID: <47D006F7.1030607@scottevil.com>
next in thread | raw e-mail | index | archive | help
(I sent this to freebsd-questions, but I didn't receive any replies, thought I would try my luck here) I setup the http accept filter with apache and I was having a hard time understanding this, maybe you guys could help out. I've tested this among various version of freebsd, primarily FreeBSD 6.3-RELEASE, and with various apache configs, and it appears to behave the same across the board. So why is it that it "appears" that the TCP connections never terminate, just stay in a state of ESTABLISHED, and why doesn't this queue ever flush itself, is it normal, if it is, what happens exactly when the queue fills up to maxqlen. From the netstat output below, you can see that the incqlen is maxed out. I've done quite a bit of searching regarding this queue but haven't found any real solid information which describes what happens when it fills up, and at the same time this is going on, I have 517 established connections to port 80. ]# netstat -an|grep "\.80"|grep ESTAB|wc -l 519 ---- ]# netstat -Lan Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp4 0/0/5 *.8080 tcp4 0/510/511 *.80 tcp4 0/0/10 *.587 tcp4 0/0/10 *.25 tcp4 0/0/128 *.22 tcp4 0/0/100 *.3306 tcp4 0/0/9 *.21 tcp4 0/0/128 127.0.0.1.953 tcp4 0/0/3 127.0.0.1.53 -Scott Oertel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D006F7.1030607>