Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: wu-ftpd problems.
Date: Thu, 11 Jun 1998 10:47:22 -0400 (EDT)	[thread overview]
Message-ID: <199806111447.KAA16351@adder.cs.Virginia.EDU> (raw)

> I might be way off here, but I feel that
> it is caused by wu-ftpd.  I have noticed wu-ftpd sometimes gets stuck as
> user root, and starts using up cpu and memory at huge rate.  Somehow I
> feel that ftpd is causing syslogd to have some problems. The second I
> removed ftpd from inetd, my machine has not crashed.  I am not the best in
> this area, but I think that something is going on, has anyone had this
> problem also?

If you have a system which is in this state, it is easy enough to
check.

First off cat /proc/sys/kernel/file-nr and see how many files are
open; compare to /proc/sys/kernel/file-max.

Second, you can ps to find out ftpd processes, and then look in
/proc/<pid> to see how many files each has open.

Note that one process can't exhaust all the filehandles. Generally one
process can only open 256 and the system limit is 1024 or more. I have
mine upped to 8192 (echo 8192 | cat > /proc/sys/kernel/file-max),
because my systems get heavy use.

-- g


             reply	other threads:[~1998-06-11 14:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-11 14:47 Greg Lindahl [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-11 15:58 wu-ftpd problems Greg Lindahl
1998-06-11 18:11 ` Barrett G. Lyon
1998-06-11 18:35   ` Paul Tomblin
1998-06-11 20:38     ` Barrett G. Lyon
1998-06-11 21:30       ` Christopher Curtis
1998-06-12  1:22       ` Pablo A. Godel
1998-06-16  4:47 ` William C Bonner
1998-06-11 14:34 Barrett G. Lyon
1998-06-11 15:50 ` Paul M. Hirsch
1998-06-11 18:08   ` Barrett G. Lyon
     [not found] <D14F994BF41BD0118EBE0040052C2FF00372B0@masterblaster.dynamic-realities.com>
1997-02-09  1:47 ` wu-ftpd Problems Paul B. Brown
1997-02-06 17:33 Jason Sharpee
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