Link to home
Start Free TrialLog in
Avatar of Shannon Adams
Shannon Adams

asked on

Squid performance problems

Running
CentOS 5.2
Squid Version 3.0.STABLE10
Server is a VM with 1 CPU and 2 GB of RAM allocated.

During working hours, the CPU on the server peaks at 100% for a minute or two about once an hour.  When this happens, all web surfing comes to a half.  Using top, squid is the top process.  I cannot tell why it maxes out the CPU several times per day.  Is it flushing to cache?  Any tips on solving this?

Thanks,
Shannon
Avatar of Shannon Adams
Shannon Adams

ASKER

I suspected Squid, but I watched it very closely. When it happened again a few minutes ago, I checked the processes using "top". It showed 0% idle and there were 10 or entries for the command "proxy" - all taking over 4% of CPU with one over 40%. After a minute or so, they disappeared and the system was back to normal - 80% or so idle. Can someone shed some light on what might be causing this?
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you post output of "uptime" and "free"

Have you tried using accept filter?
Does setting null che on disk and half of memory for mem cache help on issue?