[lkml]   [2000]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: instability after increasing file-max and inode-max
From: "Adam McKenna" <>
> Hello, I have a system here that was up for over 100 days, using kernel
> 2.2.15. We are running Oracle 8i on it. The middle of last week, we ran
> of file handles, so I increased /proc/sys/fs/file-max to 16384 and
> /proc/sys/fs/inode-max to 16384. This appears to have caused instability,
> the box has crashed twice since last friday (once on Saturday morning, and
> once this morning), at exactly 7:03 am.


This is what i have in one of our webservers (dual p3 512MB) configuration
(in rc.local):

echo "65536" > /proc/sys/fs/file-max
echo "262144" > /proc/sys/fs/inode-max
echo "10240 61000" > /proc/sys/net/ipv4/ip_local_port_range
echo "134217728" > /proc/sys/kernel/shmmax
echo 300 > /proc/sys/net/ipv4/tcp_keepalive_time

As i've read and been told the inode-max should be atleast file-max*3, but
as you see i have it four times higher.
My system seems to be very stable, and i know i have overdimensioned
everything :)

Magnus Naeslund

Programmer/Networker [|] Magnus Naeslund
PGP Key:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:39    [W:0.090 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site