Date: Wed, 13 Mar 2002 16:44:34 +0000 (GMT) From: Dmitry Koltsov <root@hostonfly.com> To: freebsd-net@FreeBSD.ORG Cc: freebsd-questions@freebsd.org Subject: ADD TO(NEW Info): Apache/TCP stack issues Message-ID: <20020313164434.D28A16B349@mail2.hostonfly.net>
next in thread | raw e-mail | index | archive | help
Hello, I'm running on 4.4-stable. Seems like my problem is (connection refused) caused by listen queue. I have 1-10 requsts in apache listen queue (port 80), queue len is 511 connections and have counter "listen queue overflows" growing in the same time (!) Current listen queue sizes (qlen/incqlen/maxqlen) Listen Local Address 11/11/511 216.65.107.31.80 How it may be? Is there solution? Also I have tested queue with simple program (socket(), bind(), listen(sock,128), do nothing in the loop) and received this amazing stats: Current listen queue sizes (qlen/incqlen/maxqlen) Listen Local Address 193/0/128 216.65.107.31.81 (queue len >> queue maxlen) !!! Wednesday, March 13, 2002, I wrote: DK> I have some issues with TCP stack and/or Apache. DK> Issue: DK> I'm getting "Connection refused" error when trying to connect to Apache over Internet when packet loss is 1-2%. Not all connection attempts fail but about 3% of attempts. DK> When I'm trying to connect over local network(from another machine and localhost) in the same time, all is ok. DK> In order to get this statistics, I've made 20000 attempts from each place in the same time. DK> I guess apache is ok because from local network and localhost it gives no errors. DK> Is there solution? DK> Couple of examples: DK> 00:55:26.893251 151.27.40.210.1560 > 216.65.107.31.80: S 37780527:37780527(0) win 8192 <mss 536,nop,nop,sackOK> (DF) DK> 00:55:26.893329 216.65.107.31.80 > 151.27.40.210.1560: S 2578149080:2578149080(0) ack 37780528 win 33232 <mss 1460> (DF) DK> 00:55:27.300599 216.65.107.31.80 > 151.27.40.210.1560: R 1:1(0) ack 1 win 33232(DF) DK> 00:55:27.316952 151.27.40.210.1560 > 216.65.107.31.80: . ack 1 win 8576 (DF) DK> 00:55:27.317038 216.65.107.31.80 > 151.27.40.210.1560: R 2578149081:2578149081(0) win 0 DK> 00:55:27.467521 151.27.40.210.1560 > 216.65.107.31.80: P 1:369(368) ack 1 win 8576 (DF) DK> 00:55:27.467567 216.65.107.31.80 > 151.27.40.210.1560: R 2578149081:2578149081(0) win 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313164434.D28A16B349>