From owner-freebsd-net@FreeBSD.ORG Tue Mar 2 21:29:37 2004
Return-Path:
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id E8E6E16A4CE
for ; Tue, 2 Mar 2004 21:29:37 -0800 (PST)
Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su
[213.184.65.80])
by mx1.FreeBSD.org (Postfix) with ESMTP id 0C7BF43D31
for ; Tue, 2 Mar 2004 21:29:36 -0800 (PST)
(envelope-from eugen@kuzbass.ru)
Received: from kuzbass.ru (kost [213.184.65.82])i235TXrx090880
for ; Wed, 3 Mar 2004 12:29:33 +0700 (KRAT)
(envelope-from eugen@kuzbass.ru)
Message-ID: <40456D3C.773A3C29@kuzbass.ru>
Date: Wed, 03 Mar 2004 12:29:32 +0700
From: Eugene Grosbein
Organization: SVZServ
X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U)
X-Accept-Language: ru,en
MIME-Version: 1.0
To: net@freebsd.org
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Subject: Frozen connections
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 03 Mar 2004 05:29:38 -0000
H!
I'm experiencing strange problems with HTTP connections between
two machines connected using 100Mbit ethernet switch.
Client is Windows 2000 SP4 (named kost),
server is FreeBSD 4.9/Apache 1.3.27 (named www).
Plain HTTP GET request starts the thansfer and it freezes often
and reproducably. I've traced this at the server side using
tcpdump -n -p -lenx -s 1518 host kost and tcp port 80 | tcpshow -cooked
[skip]
Packet 84
TIME: 12:06:40.902236 (4.996904)
LINK: 00:90:27:AB:08:88 -> 00:90:27:35:05:1B type=IP
IP: www -> kost hlen=20 TOS=00 dgramlen=1335 id=608D
MF/DF=0/1 frag=0 TTL=64 proto=TCP cksum=A720
TCP: port http -> 2136 seq=0249739568 ack=1566419520
hlen=20 (data=1295) UAPRSF=010000 wnd=58400 cksum=AB01 urg=0
DATA: mic content such as CGI output,
SSI pages, and server-generated directory listings will
generally not use Keep-Alive connections to HTTP/1.0 cli
ents.
For HTTP/1.1 clients, persistent connections are the def
ault
unless otherwise specified. If the client requests it, c
hunked
encoding will be used in order to send content of unknow
n
length over persistent connections.
Apache 1.1 only: Set max-request
s
to the maximum number of requests you want Apache to ent
ertain
per connection. A limit is imposed to prevent a client f
rom
hogging your server resources. Set this to 0
to
disable support. In Apache 1.2 and 1.3, this is controll
ed
through the MaxKeepAliveRequests directive instead.
See also MaxKeepAliveRequests.
p>