Re: File descriptors on Linux - max limit?

From: visolve cache <visolve_cache@dont-contact.us>
Date: Tue, 1 Feb 2000 05:38:30 -0800 (PST)

Hi,

--- "Miguel A.L. Paraz" <map@iphil.net> wrote:
> I've run out of file
> descriptors and want to
> increase them beyond 1024, perhaps 4096, under Linux
> 2.2.12, Red Hat 6.1.
>
> I increased NR_OPEN and OPEN_MAX in
> /usr/include/linux/limits.h, and
> set /proc/sys/fs/file-max as well. However,
> "configure" still sees 1024
> FD's.

Try doing this.

* In types.h, give
   #define _FD_SETSIZE 4096
   It will be in /usr/include/bits/ directory or
/usr/include/gnu/ directory.

* ulimit-n 4096

Reconfigure, Remake, Recompile and Reinstall the squid.

=====
regards
visolve_cache
visolve.com
http://www.v-solve.com
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Tue Feb 01 2000 - 06:49:08 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:52 MST