lkml.org 
[lkml]   [2000]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: instability after increasing file-max and inode-max
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/

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