* wu-ftpd stale processes under Dunix 3.2C
@ 1996-01-09 5:00 Jon Hartford
1996-01-10 5:00 ` Donn Cave
0 siblings, 1 reply; 2+ messages in thread
From: Jon Hartford @ 1996-01-09 5:00 UTC (permalink / raw)
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.
wu-ftpd 2.4 Dec's CC compiler.
Here are a few samples:
ricford 4723 0.0 0.0 1.52M 0K ?? IW 10:38:50 0:00.15
-red.macintouch.com: ric (wu-ftpd)
ftp 25140 0.0 0.0 1.45M 0K ?? IW 04:37:31 0:00.28
-dialup101-116.swipnet.s (wu-ftpd)
ftp 4871 0.0 0.0 1.52M 0K ?? IW 10:00:44 0:00.10
-kd.rpms.ac.uk: anonymou (wu-ftpd)
I know that these people haven't been logged in for 10 hours, I can't even
ping their address.
Here's a netstat:
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 augustus.http funnel01.Btx.DTA.3974 SYN_RCVD
tcp 0 0 augustus.http www-h5.proxy.aol.3519 TIME_WAIT
tcp 0 0 augustus.http 205.214.195.38.1413 SYN_RCVD
tcp 226 0 augustus.http 205.214.195.38.1412 ESTABLISHED
???
udp 0 0 localhost.1040 *.*
udp 0 0 localhost.1039 *.*
udp 0 0 localhost.1038 *.*
udp 0 0 localhost.1037 *.*
udp 0 0 localhost.1036 *.*
udp 0 0 augustus.1035 *.*
udp 0 0 localhost.domain *.*
udp 0 0 augustus.domain *.*
Jon Hartford (u-jon@ultranet.com)
Network and Systems Administration Team, UltraNet Communications Inc.
508.229.8400(voice) noc@ultra.net 508.229.8111(data)
The Premier Network Service Provider in New England mailto:info@ultra.net
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: wu-ftpd stale processes under Dunix 3.2C
1996-01-09 5:00 wu-ftpd stale processes under Dunix 3.2C Jon Hartford
@ 1996-01-10 5:00 ` Donn Cave
0 siblings, 0 replies; 2+ messages in thread
From: Donn Cave @ 1996-01-10 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-01-10 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-09 5:00 wu-ftpd stale processes under Dunix 3.2C Jon Hartford
1996-01-10 5:00 ` Donn Cave
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox