Messages in this thread | | | From | "Magnus Naeslund" <> | Subject | Re: instability after increasing file-max and inode-max | Date | Wed, 4 Oct 2000 21:28:41 +0200 |
| |
From: "Adam McKenna" <adam-linux-smp@flounder.net> > 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 out > 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, as > the box has crashed twice since last friday (once on Saturday morning, and > once this morning), at exactly 7:03 am. >
[SNAP]
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: http://www.genline.nu/mag_pgp.txt -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |