On Mon, 20 Oct 2003, Pat Lendon wrote: > Is it possible to set specific times to run cache removal (lru)?
No. > Reason being, at random times the squid process cpu is a high 40% and > greater. Sometimes the squid process uses 99% cpu, but this is more rare. > Normally the squid process uses 10% or less of cpu. This is most likely due to other causes. The LRU process is not CPU intensive. One candidate is half_closed_clients. If left on (the default) then Squid will attempt to support half-closed connections, and on some OS:es under certain conditions not yet fully identified this is reported to cause very high CPU usage while such connection exists. So it might be worth to try half_closed_clients off Also make sure you get the quick_abort_* settings correct. > Should I switch the cache replacement policy from "lru" to GDSF or LFUDA ? Probably not. These policies use slightly more CPU, but can give a slightly better cache hit ratio depending on the situation. Regards Henrik
