*BSD News Article 69504


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!tank.news.pipex.net!pipex!usenet2.news.uk.psi.net!uknet!EU.net!news.eunet.fi!news.spb.su!satisfy.kiae.su!news.inforis.nnov.su!news.inforis.nnov.su!not-for-mail
From: tim@xpress.inforis.nnov.su (Tim Kutergin)
Newsgroups: comp.unix.bsd.misc,comp.unix.sys5.r4
Subject: Re: TCP socket close() behavior (Was: Imcomplete Documents and Images from httpd)
Date: 27 May 1996 11:33:35 +0400
Organization: INFORIS Co. Ltd.
Lines: 22
Message-ID: <4oblsf$atl@xpress.inforis.nnov.su>
References: <4m7r3m$9qt@nntpb.cb.att.com> <31979d8d@yoda.omnicron.com> <319900f5.21380062@news.meganet.nl> <319a205f@yoda.omnicron.com> <319b6555@yoda.omnicron.com> <4nkuav$q54@noao.edu> <31a1f624@yoda.omnicron.com>
NNTP-Posting-Host: xpress.inforis.nnov.su
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:1111 comp.unix.sys5.r4:11017

			Hello All !

	Sorry for bad English. Our system suffers from similar problem.
System is SCO OpenServer 5 on Pentium machine. Http server is Apache 1.0.5,
but we are have tested Apache 1.0.3 & 1.0 and NCSA 1.5.1 with similar
results. Problem is that: 

	1. WWW client sometimes can't access our home page. Netscape shows
 "Host contacted. Waiting for reply..." in status line. Then after some
 timeout "Network error" message follows.
	2. In netstat -a display I can see that such connection locks in
 FIN_WAIT_1 state with all document in Send-Q. Connection is dropped after
 some timeout.

	This problem is not persistent. Many WWW clients make their session
perfect, but some... But if problem is in SO_LINGER, every connection will
be incomplete, isn't it ? FIN_WAIT_1 is a part of closing TCP connection so
I think that TCP stack tries to send all data in buffers, but something
prevents this. May be SCO TCP stack is buggy ?

Thanks for any suggestions
Tim