Re: [squid-users] 1024 file descriptors is good

From: Luis Daniel Lucio Quiroz <luis.daniel.lucio_at_gmail.com>
Date: Mon, 9 Nov 2009 11:36:24 -0600

Le mardi 20 octobre 2009 16:04:16, Leonardo Rodrigues a écrit :
> Mariel Sebedio escreveu:
> > Hi, I have a RHEL 5.4 with squid3.0STABLE19 and have a performance
> > problems...
> >
> > My cache.log not report warning
> >
> > When I see in cachemgr.cgi I just have a 1024 File descriptors...
>
> if you're not getting the famous WARNING in your cache.log
>
> WARNING! Your cache is running out of filedescriptors
>
> then you really dont need to worry about 1024 FDs. That's now too
> much, but that's pretty enough for having a good number of simultaneos
> clients.
>
> Filedescriptors problems (running low on them) could give you some
> problems, but in any case you would see the warning on your logs. If
> you're not seeing it, then problem is not filedescriptor related. And if
> that's not filedescriptor related, raising it wont change anything.
>
> your performance problem is somewhere else .....
>

I did fix that with this method:
/etc/security/limits.conf:
* - nofile 131072

and configure with --with-filedescriptors=8192

numbers are just a try, but you must set both of them higher than 1024. After
that I get this error rid.

LD
Received on Mon Nov 09 2009 - 17:36:47 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 10 2009 - 12:00:03 MST