Kwan Lowe wrote:
> 
> On Tue, 2003-04-01 at 07:42, Mike Rambo wrote:
> > We're running squid-2.4.STABLE7-2mdk on Mandrake Linux release 9.0
> > (dolphin) for i586. It's been running ok for a few weeks. I noticed this
> > morning numerous "WARNING! Your cache is running out of filedescriptors"
> > errors in cache.log.
> >
> 
> Do you know if this is an application limit or one in the Linux kernel?

Unfortunately no.

> 
> What does your /proc/sys/fs/file-max value show? Are you approaching
> this value? 

[EMAIL PROTECTED] mrambo]# cat /proc/sys/fs/file-max
8192

Sorry, I don't know how to check whether I'm using them all up.

> Also, try doing a 'ulimit -a' from the squid user account
> and check if the 'open files' value is small.
> 

[EMAIL PROTECTED] tmp]# ulimit -a
open files                    (-n) 1024

I don't appear to be able to use ulimit to increase this value (as user
squid anyway) because of insufficient permissions. Plus I've found some
stuff in the squid FAQ that indicates squid won't pick it up without a
recompile anyway.


-- 
Mike Rambo
[EMAIL PROTECTED]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to