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

Re: [K12OSN] cache running out of file descriptors (SOLVED)



On Fri, 4 Apr 2003, Mike Rambo wrote:

>(among other things) Henrik Nordstrom wrote:
>> 
>> You can also try the following settings to reduce the amount of
>> filedescriptors used:
>> 
>>   half_closed_clients off
>> 
>> And if that does not help
>> 
>>   server_persistent_connections off
>> 
>> and finally if still a problem
>> 
>>   client_persistent_connections off
>> 
>
>The first one didn't have any discernible effect. I tried the last two
>this morning and have discovered it is a HUGE win. Not only have the
>errors disappeared but access speed has increased very very noticeably.
>According to cachemgr.cgi the number of requests per second we are
>servicing has increased by fully one third. The difference in web
>interactivity is amazing.
>
>I'm still waiting for an answer from Henrik to see if there is any
>downside to making these changes (the defaults were probably the way
>they were for _some_ reason) but I wanted to send this experience back
>to the list just in case it can help out someone else.
>

Interesting, I have not seen this mentioned as a performance improvement.
In fact, I would have assumed that this would slow the cache down.
I'll have to give it a spin ;-)
                                                                                
Here's the squid docs on these parameters:
                                                                                
http://squid.visolve.com/squid24s1/delaypool.htm#server_persistent_connections
                                                                                
-Eric





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