Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: syslogd problems - fixed?
Date: Fri, 24 Jul 1998 01:27:45 +0200	[thread overview]
Message-ID: <199807232327.BAA13781@stefan.sime.com> (raw)
In-Reply-To: <Pine.BSI.3.95.980723193017.28017A-100000@ns1.foothill.net> (doxx@ns1.foothill.net)

Hi Barrett !

> This email is mostly a FYI,

I hope for your information too...

> My machine was very unstable, and I noticed that with the v2.1 kernels
> there was no "/proc/sys" direcotry structure.  I'm not sure if it should
> be that way or not, but I did not have anything like
> "/proc/sys/kernel/file-max" and other handy information.

On my system (LX164, 2.1.110) there _is_ a "/proc/sys" tree.
But file-max can be found under "/proc/sys/fs/file-max" and
not under "/proc/kernel" !!

> What I noticed was linux's default "file-max" was set to only 1024 by.
> Now I know that linux's fds are not static, but I am not 100%
> sure how they work, yet 1024 is some-what of a limit.  

echo "1024000000" >/proc/sys/fs/file-max seems to work here. ;-}

> I then just ditched the v2.1 kernels and went with the stable kernel
> 2.0.34.  With the 2.0.34 kernel I had the full proc filesystem, and I
> could bump up the /proc/sys/kernel/file-max to 4096, rather than 1024.

I don't know what you are really doing/running, but the proc tree under
2.1.xxx is far more complete than 2.0.34.
 
> 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).
> 
> Yeserday's crash reported "no free inodes contact Linus" on console.
> 
> I think there is some ratio with the file-max, inode-max, and inode-nr.
> But, I don't know much about that, so someone else will hafta tell me
> about that.  

All these nice fields can be found under /proc/sys/fs/... (at least here).

    ciao -
      Stefan.

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


  reply	other threads:[~1998-07-23 23:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-23 19:51 syslogd problems - fixed? Barrett G. Lyon
1998-07-23 23:27 ` Quant-X Alpha Linux Support [this message]
1998-07-27 15:00 ` Paul Tomblin
  -- strict thread matches above, loose matches on Subject: below --
1998-07-27 15:20 Greg Lindahl
1998-07-27 16:10 ` Barrett G. Lyon
1998-07-27 16:13 ` 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