Field Descriptor error mesg

Taking care of your Linux box.
Posts: 9
Joined: Thu Dec 04, 2003 7:01 pm

Field Descriptor error mesg

Postby Saeeds » Sat Dec 27, 2003 8:38 am

Dear all,
As I have told before tht we have squid running for web cacheing , and when i see cache.log , it shows tht " Warning your system is running out of field discriptor" .we have set the field discriptor 8192 . i have reconfigured squid but still the same error plz advise what changes should i make .
Thanks in advance.

Posts: 105
Joined: Thu Dec 25, 2003 2:31 pm

Postby kernel-trap » Sat Dec 27, 2003 10:58 am


First of all the term is file descriptor not field descriptior

it means how many files system open at one moment in case of squid .squid is opening and closing many file at moment so that this limit has to be increase

the default file descriptor limit is 1024 which can be seen ulimit -a command where is says open files

to squid to use more than 1024 file descriptor is had to compile .but before compiling do put this ulimit -HSn 16384

this will raise the file descriptor to 16384

but one important thing u have to put this command every time u are starting squid



Lieutenant Colonel
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Location: Islamabad

Postby zaeemarshad » Sat Dec 27, 2003 11:43 pm

put the line in rc.local if u r using redhat/mandrake


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 1 guest