Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: donn@u.washington.edu (Donn Cave)
Subject: Re: Not enought mbufs?!?
Date: 1995/09/20	[thread overview]
Message-ID: <43phn1$e4a@nntp5.u.washington.edu> (raw)
In-Reply-To: 43oba0$pv8@news.service.uci.edu

iglesias@draco.acs.uci.edu (Mike Iglesias) writes:
|In article <43nnfh$ri0@nntp5.u.washington.edu>,
|Donn Cave <donn@u.washington.edu> wrote:
|> May also be a network service that isn't closing properly, in which case
|> the kernel fix will only reduce the number of times per week.  With us, it
|> was ftpd.  Run ``netstat -an'' some time after you have been running a day
|> or two, see if you have many connections in some moribund state.  If it's
|> ftpd, the connections will involve ports 23 and 21.
|
| Port 23 is telnet; you want to look for 20 and 21.

Oops, thanks, that's true.

| If a connection between two systems is broken for some reason, and your
| system has some data queued up to go to the other system, it's going to
| stay there until your system can contact the other system.  That's why TCP
| is "reliable" - it's going to try to get that data delivered until
| something says give up. 
|
| This happens on most of the systems we run here (Digital Unix, Ultrix,
| SunOS, Solaris). 

Right, but I believe the problem is not exactly this kind of broken
connection.  Rather, it's a protocol problem, where certain clients
(I heard NetScape singled out here) fail to follow through with the
expected second connect, and leave the daemon hanging in accept(),
which evidently holds the connection on line indefinitely.  The fix
is to insert a select() with 2 minute timeout before the accept(),
and believe me it makes a big difference on a heavily used anonymous
ftp site.  The patch I got (from Casper Dik) was for the wuarchive ftpd,
but works as well for DEC's.

	Donn Cave, University Computing Services, University of Washington
	donn@u.washington.edu



      reply	other threads:[~1995-09-20  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-19  4:00 Not enought mbufs?!? Christian Kupferschmid
1995-09-20  4:00 ` Bodo Gelbe
1995-09-20  4:00 ` Donn Cave
1995-09-20  4:00   ` Mike Iglesias
1995-09-20  4:00     ` Donn Cave [this message]
read-only archive

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