Subject: Re: ftpd never dies (again)
To: Nathan J. Williams <nathanw@MIT.EDU>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: current-users
Date: 03/27/1999 23:30:13
On Sat, Mar 27, 1999 at 11:34:35AM -0500, Nathan J. Williams wrote:
> Jukka Marin <jmarin@pyy.jmp.fi> writes:
> 
> > I have over 110 ftpd processes sitting on one system at the moment.
> > Isn't there ANY way of making ftpd's go away after some time of idling
> > or something?  I have keepalive enabled in /etc/hosts.allow but this
> > doesn't seem to do the trick.  Is every NetBSD operator killing ftpd's
> > manually or what? :-/
> 
> 	You can specify a timeout with something like this in
> /etc/ftpd.conf: 
> 
> timeout all 900 # 15 minutes

I already have this line in /etc/ftpd.conf.

If I ftp to this box from a NetBSD system and never quit the ftp client,
the server properly times out in 900 seconds.

However, when some other users use ftp clients on dialup lines, the server
processes never die.  They seem to hang in the "STOR" state (but are
killable, of course).

Annoying. :-/

  -jm