squid ---file decriptors
Rudlof Amirjanyan
rudik at zydact.com
Thu Jan 6 13:31:30 UTC 2005
Hello list.
I have recompiled my squid for supporting more than 1024 file descriptors,
but after that this strange behavior.
In my squid startup script when I put ulimit -HSn NNN (NNN is any number
less than 960) it is working well, i.e. in
/usr/local/squid/var/logs/cache.log I get the following (With NNN file
descriptors available).
But when I put for example ulimit -HSn 1024 in and restart the squid in the
cache.log it comes "With 960 file descriptors available"
So it is not supporting more than 960 file descriptors ? But Why ?
BTW in the /usr/include/bits/typesizes.h -------- I have "#define
__FD_SETSIZE 1024"
I changed it to 4096 but did not help.
Pls come with Ideas .
Thanks in advance
More information about the fedora-list
mailing list