widelinks && performance

Jeremy Allison jallison at cthulhu.engr.sgi.com
Wed Apr 14 16:49:03 GMT 1999


Andrew, I know you were interested in the Apache problem
in the Mindcraft benchmark (off topic, I know :-).

Soeone posted this on Linux Today.

> I have solved their Apache collapse problem. To solve it, they need to do this:
> 
>      echo 4096 >/proc/sys/kernel/file_max
>      echo 5120 >/proc/sys/kernel/inode_max
> 
>      Yep, they were running out of file handles! So Apache was trying to accept() a connection (which uses a
>      file handle), the accept() was failing, and it appeared to the outside observer that the whole bloody server
>      had fallen to pieces.
> 
>      And these idjits weren't smart enough to notice that /var/log/messages was full of "kernel: no file"
>      messages, sigh. 


-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list