From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27014 invoked from network); 23 Jul 1998 23:30:12 -0000 Received: from stefan.sime.com (193.228.80.247) by mail2.redhat.com with SMTP; 23 Jul 1998 23:30:12 -0000 Received: (from stefan@localhost) by stefan.sime.com (8.8.7/8.8.7) id BAA13781; Fri, 24 Jul 1998 01:27:45 +0200 Date: Fri, 24 Jul 1998 01:27:45 +0200 Message-Id: <199807232327.BAA13781@stefan.sime.com> From: Quant-X Alpha Linux Support To: axp-list@redhat.com In-reply-to: (doxx@ns1.foothill.net) Subject: Re: syslogd problems - fixed? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: Quant-X Alpha Linux Support Reply-To: Quant-X Alpha Linux Support Organization: Quant-X Service & Consulting Ges.m.b.H. X-Mailer: GNU Emacs 20.2.1 C-x m (X11 ; I; Linux 2.1.108 i586) References: 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