Search squid archive

RE: File Descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you set the limit before you compiled it? The upper limit is set at compile time. I ran into this problem myself.

-Dan


-----Original Message-----
From:	Superted666 [mailto:ruckafella@xxxxxxxxx]
Sent:	Mon 7/5/2010 3:33 PM
To:	squid-users@xxxxxxxxxxxxxxx
Cc:	
Subject:	 File Descriptors


Hello,

Got a odd problem with file descriptors im hoping you guys could help me out
with?

Background

I'm running CentOS 5.5 and squid 3.0 Stable 5.
The system is configured with 4096 file descriptors with the following : 

/etc/security/limits.conf 
*                -       nofile          4096
/etc/sysctl.conf 
fs.file-max = 4096

Also /etc/init.d/squid has ulimit -HSn 4096 at the start.

Problem

Running a ulimit -n on the box does indeed show 4096 connectors but squid
states it is using 1024 despite what is said above. I noticed this because
im starting to get warnings in the logs about file descriptors...

Any help greatly appreciated.

Thanks

Ed

Ed
-- 
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/File-Descriptors-tp2278923p2278923.html
Sent from the Squid - Users mailing list archive at Nabble.com.







[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux