From: donn@u.washington.edu (Donn Cave)
Subject: Re: wu-ftpd stale processes under Dunix 3.2C
Date: 1996/01/10 [thread overview]
Message-ID: <donn-1001961031070001@xceed.cac.washington.edu> (raw)
In-Reply-To: 4cug7m$3f1@caesar.ultra.net
In article <4cug7m$3f1@caesar.ultra.net>, u-jon@theseus.ultranet.com (Jon
Hartford) wrote:
| On our Dec Alpha machines, 3000/300 with 2.1 3000/300 with 3.2C and a 200
| 4/233 running 3.2C we get wu-ftpd processes that never terminate.
There's a problem in ftpd that can be fixed by adding a select() with timeout
before its accept(). Basically some connections can trick ftpd into jumping
into an accept() just before they disconnect, and it will hang forever; the
effects include many open connections and very high mbuf allocation.
It's not specific to wu-ftpd, I think most ftpds including the 3.2C one have
the same code. (Nor is it specific to ftpd on 3.2C, it will happen on Ultrix
too for example.) I got a patch some time ago for wu-ftpd, courtesy of
Casper Dik, and it's obvious how to apply it to DEC's ftpd if you have
source. Both DEC and the wu-ftpd people know about this, but I guess
there's no organizational structure to apply a fix in either case. It's a
fairly trivial job, but if anyone wants it I may be able to dig up a patch
against some version of ftpd.
I don't know for sure if this is the same problem you're seeing. In the
case I saw, most of the connections were in some state other than established.
We have a fairly heavy ftp load, and with this problem we were crashing
more than once per week, as the mbuf allocation climbed past the point the
OS could support.
Donn Cave, University Computing Services, University of Washington
donn@u.washington.edu
prev parent reply other threads:[~1996-01-10 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-09 5:00 wu-ftpd stale processes under Dunix 3.2C Jon Hartford
1996-01-10 5: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