In article <cistron.F964ACB23EC6D1118E5300805F715E8A5867B8@archibald.lisbonne.cartesis.com>,
Philippe PAULEAU <ppauleau@cartesis.com> 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 miquels@cistron.nl (Miquel van Smoorenburg)Received on Fri Dec 11 1998 - 08:04:38 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:38 MST