In article 
<[EMAIL PROTECTED]>,
Philippe PAULEAU  <[EMAIL PROTECTED]> wrote:
>
>  In order to let squid running with enough filedescriptors, you just
>have to rebuild your kernel after modyfing #define NR_OPEN in
>Linux files fs.h and limits.h
>( for exemple #fdefine NR_OPEN 1024 )
>
>That's all

That's not true. If you allocate more then 300-400 file descriptors,
the kernel stack for the select() system call will overflow and
really strange things will happen.

For the proper way to increase the file descriptor limit (up to 3000
file descriptors per process) see:

http://www.linux.org.za/filehandle.patch.linux

Mike.
-- 
Indifference will certainly be the downfall of mankind, but who cares?
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to [EMAIL PROTECTED] (Miquel van Smoorenburg)

Reply via email to