Re: How to increase number of file descriptors

From: Stewart Forster <>
Date: Fri, 17 Jan 1997 10:03:20 +1100

> Anone knows, how to securly increase the number of file descriptors in
> 3. Solaris 2.5

        Grab squid 1.1.* (latest version) and compile with USE_POLL defined.
Also edit squid.h (I think) and set SQUID_MAXFD to be 4096. Then in your
/etc/system file add the following lines:

set rlim_fd_max=0x1000
set rlim_fd_cur=0x1000

        and reboot. Your system will now be able to use 4096 file descriptors.
I have it from Sun system coders that 4096 is as high as you can SAFELY go,
as there are internal limits set to this. You can go higher but be prepared
for things to break (just in case).



Stewart Forster (Security and Web Proxy Cache Administrator) pty ltd, Level 9, 114 Albert Rd, Sth Melbourne, VIC 3205, Aust.
Email:   Phone: +61 3 9251-3684   Fax: +61 3 9251-3666
Received on Thu Jan 16 1997 - 15:13:51 MST

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