Hi People:
I'm using Squid 2.3.STABLE4 supplyed by RedHat 7.1, configured
as transparent proxy,
which is running out file descriptors as seen at cache.log file:
| WARNING! Your cache is running out of filedescriptors
I´ve increased configured /proc/sys/fs/file-max to support
32768 open files, but nothing changed.
Looking around, I saw a interesting log in cache.log:
Starting Squid Cache version 2.3.STABLE4 for i386-redhat-li
nux-gnu...
Process ID 2710
With 1024 file descriptors available
Which obviously tell me that I have 1024 FD's :-) So, using
cachemgr.cgi FileDescriptor's report it shows:
Active file descriptors:
File Type Tout Nread * Nwrite * Remote Address Description
---- ------ ---- -------- -------- ---------------------
------------------------------
0 Log 0 0 0 /var/log/squid/cache.log
....
....
932 Socket 12 0* 1494 66.35.229.104.80
http://66.35.229.104/bannerserver/bannerserver.dll?GetDL
So I've got 933 actives FDs, very near max number: 1024.
My question is: Can I increase max number of file descriptors
available at compile time ?? I mean, some macro or variable at source code ?
thanks a lot,
bests regards
-- []'s Lucas Brasilino brasilino@recife.pe.gov.br http://www.recife.pe.gov.br Emprel - Empresa Municipal de Informatica (pt_BR) Municipal Computing Enterprise (en_US) Recife - Pernambuco - Brasil Fone: +55-81-34167078Received on Mon Sep 23 2002 - 08:48:31 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:23 MST