Try :

echo "32768" > /proc/sys/fs/file-max

You can change 32768 to whatever you want - I have 131072 for my servers 
by default and even higher for the big ones.

Try  cat /proc/sys/fs/file-nr to see what the current state is - from 
recollection the 3 numbers are :

highwater mark        current open           maximum  <-  this will be 
file-max


If you have an intensive network load, try this to increase the network 
throughput :


echo 131072 > /proc/sys/net/core/rmem_default
echo 131072 > /proc/sys/net/core/wmem_default
echo 131072 > /proc/sys/net/core/rmem_max
echo 131072 > /proc/sys/net/core/wmem_max

(or even 262144 instead of 131072, but make sure you have lots of memory)


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 23/05/02, 17:18:13, <[EMAIL PROTECTED]> wrote regarding [scottish] fnrgh! 
need more file handles:


> OK, against my better judgement, we now have an OpenMail installation
> (if you can read this it must be working). One of the problems is that
> we seem to be running out of file handles.

> So if anybody has any file handles they're not using, could you please
> send them to....;) just kidding.

> Anybody any ideas how to increase the number of file handles? Where I
> should be looking for more info on this ? (NOT the openmail manuals).

> Colin

> --------------------------------------------------------------------
> http://www.lug.org.uk                   http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
> --------------------------------------------------------------------
--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to