Search squid archive

Re: 1024 file descriptors is good

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

 



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


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

  Powered by Linux