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

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