From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: syslogd problems - fixed?
Date: Mon, 27 Jul 1998 11:20:25 -0400 (EDT) [thread overview]
Message-ID: <199807271520.LAA09012@adder.cs.Virginia.EDU> (raw)
> > This works great, and the machine has been up for weeks with a very very
> > heavy load, and until yesterday has not crashed. 20 days uptime (personal
> > alpha record).
>
> I set my file-max to 4096 two days ago, and today I got the syslogd screw-up.
> It doesn't seem to fix it, just delay it by a day or two.
Well, that's actually useful information.
When you look in /proc at which processes have files open, are there a
few processes that keep on opening more and more?
If you cat /proc/sys/kernel/file-nr, do you see the # of fd's in use
steadily rising? This count seems to represent the size of a data
structure so it may never shrink, but it's good enough for this
purpose.
Since (by default) 1 process can only open 256 fd's, the most likely
explanation at this point is that the kernel isn't properly reusing
closed fd's -- no one process (only 16) can eat up 4096 fd's. The
proof of this guess is that you'll see file-nr keep on rising, but the
# of fd's indicated as in-use in /proc will be small.
-- g
next reply other threads:[~1998-07-27 15:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-27 15:20 Greg Lindahl [this message]
1998-07-27 16:10 ` syslogd problems - fixed? Barrett G. Lyon
1998-07-27 16:13 ` Paul Tomblin
-- strict thread matches above, loose matches on Subject: below --
1998-07-23 19:51 Barrett G. Lyon
1998-07-23 23:27 ` Quant-X Alpha Linux Support
1998-07-27 15:00 ` Paul Tomblin
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