Hi,

On Thu, Sep 09, 2004 at 01:44:33PM -0700, Eswari sharma wrote:
> Hi,
> I installed cache server in kernel-2.4.20-8 . I want to set File Descriptors
> as 8192 and for this when I check _FD_SETSIZE in /usr/include/bits/types.h ,

You will need to add this yourself, but first, also check the file
/usr/include/bits/typesizes.h. On some systems, such as Slackware, this
setting is already present with some default value (usually 1024). It
should look like this:

#define   __FD_SETSIZE            8192

> I could not get. then I skip this process and given command ulimit -HSn 8192
> , it accepts and even I check in cache.log and it shows 8192 file
> discriptors available . Still I am in confused whether it accepts 8192 or
> not.?

Make sure to set this before starting squid. The best place is probably
the service startup script (/etc/init.d/squid or /etc/rc.d/rc.squid etc.),
just before the daemon starts.

-- 
A. Sajjad Zaidi                      http://www.sajjadzaidi.com/
GnuPG Key ID: 0xD7AD0E13
"If at first you dont succeed, try a shorter bungee"

Reply via email to