public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CLOSE_WAIT Problem
@ 2001-06-29 13:45 darx kies
  0 siblings, 0 replies; 2+ messages in thread
From: darx kies @ 2001-06-29 13:45 UTC (permalink / raw)
  To: linux kernel

Hi.

I wrote a simple server application and installed it on a linux machine
in Slovakia, running Mandrake 7.2 (2.2.18).
That machine loses tcp/ip packages, as it uses a Microwave connection.
So my server works all the time, and the tcp/ip connections are set to
TIME_WAIT, but after a couple of hours
my server application won't get any connections anymore and the netstat
shows a lot of CLOSE_WAITs that belong to the server.
I've installed the same server on two SuSE 7.1 (2.2.18) machines in
Austria, and the problem never occured.
So does anyone know how to avoid that CLOSE_WAITs, or at least how to
get rid of  them?
Thanks in advance.

Chriss.
----------
The last good thing written in C was Schubert's Symphony No. 9.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* re: CLOSE_WAIT Problem
@ 2001-06-29 17:55 Dan Kegel
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Kegel @ 2001-06-29 17:55 UTC (permalink / raw)
  To: darx_kies, linux-kernel@vger.kernel.org

Chriss wrote:
> I wrote a simple server application and installed it on a linux machine
> in Slovakia, running Mandrake 7.2 (2.2.18).
> That machine loses tcp/ip packages, as it uses a Microwave connection.
> So my server works all the time, and the tcp/ip connections are set to
> TIME_WAIT, but after a couple of hours
> my server application won't get any connections anymore and the netstat
> shows a lot of CLOSE_WAITs that belong to the server.
> I've installed the same server on two SuSE 7.1 (2.2.18) machines in
> Austria, and the problem never occured.
> So does anyone know how to avoid that CLOSE_WAITs, or at least how to
> get rid of  them?

Dunno if this will help, but:

They're supposed to go away by themselves after 2MSL (about 120 seconds).
Other people (on many operating systems) have reported similar problems, btw:

http://uwsg.iu.edu/hypermail/linux/net/9611.2/0043.html
http://www.sunmanagers.org/pipermail/sunmanagers/2001-April/002894.html
http://www2.real-time.com/tclug-list/1999/Jun/msg00254.html
http://mail-index.netbsd.org/netbsd-bugs/1996/04/16/0004.html

The last one has a fix for an old bug in netbsd that could cause this.
- Dan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-29 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-29 17:55 CLOSE_WAIT Problem Dan Kegel
  -- strict thread matches above, loose matches on Subject: below --
2001-06-29 13:45 darx kies

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox