[squid-users] Setting ulimit for Filedescriptors.

From: Palmer J.D.F. <J.D.F.Palmer@dont-contact.us>
Date: Tue, 20 Nov 2001 10:01:23 -0000

Hi,

I have squid running with 8192 filesdescriptors, however when squid runs
from boot up it reverts back to 1024.

I have established that this must be something to do with the ulimit -HSn
8192 command not being ran correctly.

I have these two lines in my /etc/rc.d/rc.local file...

ulimit -HSn 8192
/usr/local/squid/bin -s

If I stop squid, run the ulimit command then restart squid from the console
it's fine. I guess this is something to do with the ulimit command
belonging to the session/console that squid is running in.

Does anyone have a way round this?
Received on Tue Nov 20 2001 - 02:59:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:20 MST