Ragheb Rustom wrote:
> Dear All,
>
> I have been noticing for some time now that my squid server passes in nearly
> regular intervals during the day where the squid process CPU usage hits 100%
> for around 20 - 30 seconds or so during which squid will not serve requests.
> After these 20 -30sec the squid CPU usage drops to around 5 - 13% and
> website navigation is normal again. This happens like I said before at
> nearly regular intervals during each day several times and it happens only
> for around 20 -30sec. I have been observing the cache.log file but there is
> nothing apparent there. Is there a way that I know what squid is doing when
> this problem happens to try and resolve it as trying to solve it like it is
> now with no info about what is going on is somewhat vague.
squid -k debug
> I think this
> problem happened after I have changed memory and disk replacement policies
> from lru to heap but I am not so sure that this is the source of the
> problem. I am using squid2.7-Stable6 on a fedora9 server which is a dual
> xeon quad 2.8Ghz CPU with 16Gb of Ram installed and 3 SAS hard drives. One
> more thing this server is also running videocache 1.9.1 but it has been
> running videocache also before the problem started with no problems
> whatsoever. I appreciate any help you can offer me.
>
Wild guesses based on the information given:
*) You are using UFS for your cache_dir instead of AUFS.
*) Your cache is pretty large and your cache_swap_high and
cache_swap_low are still at the defaults
*) You are using large lists of regex ACLs
> Sincerely,
>
> Ragheb Rustom
> Smartelecom S.A.R.L
> Sin el fil - Mar Elias Street
> Absi Center - Ground Floor
> Beirut, Lebanon
> Email: ragheb_at_smartelecom.org
>
Chris
Received on Fri May 29 2009 - 19:18:28 MDT
This archive was generated by hypermail 2.2.0 : Sat May 30 2009 - 12:00:02 MDT