Re: [squid-users] Setting ulimit for Filedescriptors.

From: <[email protected]>
Date: Tue, 20 Nov 2001 17:15:25 +0530

Hello Palmer J.D.F,

   You can change the value of #define __FD_SET SIZE 1024 to 8192 in the
file /usr/include/bits/types.h .
Next you need to raise the user limit in the shell so the configure script
will see the added descriptors.
#ulimit -HSn 8192
#pwd
#/usr/local/squid-2.4STABLE1
#./configure
#make
#make install

Thanks and Regards,
-Kanchana
squid@visolve.com
www.visolve.com

----- Original Message -----
From: "Palmer J.D.F." <J.D.F.Palmer@Swansea.ac.uk>
To: <squid-users@squid-cache.org>
Sent: Tuesday, November 20, 2001 3:31 PM
Subject: [squid-users] Setting ulimit for Filedescriptors.

> 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?


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Received on Tue Nov 20 2001 - 04:40:39 MST

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