Re: instability after increasing file-max and inode-max

From: Matti Aarnio (matti.aarnio@zmailer.org)
Date: Wed Oct 04 2000 - 15:55:02 EST


On Wed, Oct 04, 2000 at 09:28:41PM +0200, Magnus Naeslund wrote:
> From: "Adam McKenna" <adam-linux-smp@flounder.net>
....
> [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

        While this stuff in rc.local is the classical way,
        at leat RedHat initscripts package carries /etc/sysctl.conf
        file. See it and sysctl.conf(5) man page for info.

> Magnus Naeslund

/Matti Aarnio
-
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/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:14 EST