you should first edit
/usr/include/bits/types.h
change value for
FD_SETSIZE to whatever you want...
then do a complete rebuild
./configure
watch the messages flying over your monitor, look for FD_SETSIZE
if configure really is able to see your file descriptor change..
./make
./make install
change /usr/include/bits/types.h back to the old values.
in your startup script for squid you should add
ulimit -n xxxxx
to tell the os that for this shell/process it should use another
number of file descriptors
this worked with our squid
Markus Rietzler
* <rietzler_software/>
* RZF NRW
* Tel: 0211.4572-130
> -----Ursprüngliche Nachricht-----
> Von: Mark Tinka [mailto:aknit44@yahoo.co.uk]
> Gesendet am: Donnerstag, 27. Juni 2002 11:35
> An: squid-users@squid-cache.org
> Betreff: [squid-users] Squid File Descriptor Size
>
> hi guys...
>
> i am trying to increase my FD size from 4096 to
> 16384.. i am running SuSE 8.0 professional... i
> installed the squid source rpm, edited the spec file
> to read 16384 file descriptors from the original
> 4096.. rebuilt the spec file into an rpm, deleted the
> running rpm and installed my newly built squid rpm...
>
> upon starting squid, my cache.log tells me squid is
> still starting with 4096 descriptors.. is there
> something i am missing...?..
>
> all help appreciated...
>
> AKNIT
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
Received on Thu Jun 27 2002 - 03:51:09 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:50 MST