Re: [squid-users] Frequent cache rebuilding

From: Chris Robertson <crobertson_at_gci.net>
Date: Mon, 26 Jan 2009 15:29:20 -0900

Andreev Nikita wrote:
> Damn! I changed squid cache directory to local partition and still
> see the same problem.
>
> # vmstat 2
> procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
> r b swpd free buff cache si so bi bo in cs us sy id wa st
> 1 0 0 3148784 297840 206828 0 0 99 523 716 81 17 44 38 1 0
> 0 0 0 3148544 297864 207092 0 0 0 416 1619 157 17 34 49 0 0
> 1 0 0 3148420 297868 207228 0 0 0 0 1462 175 17 34 49 0 0
> 1 0 0 3148296 297892 207332 0 0 0 46 1515 153 16 25 59 0 0
> 1 0 0 3148048 297908 207416 0 0 0 182 1544 174 14 30 56 0 0
> 1 0 0 3147168 297908 207644 0 0 0 0 1640 132 18 36 46 0 0
> 1 0 0 3146820 297928 207804 0 0 0 286 1618 161 20 37 44 0 0
> 1 0 0 3146432 297932 207960 0 0 0 0 1664 127 22 40 38 0 0
> 1 0 0 3146092 297944 208088 0 0 0 28 1645 144 18 35 47 0 0
> 1 0 0 3145720 297964 208316 0 0 0 258 1688 139 17 33 49 0 0
> 1 0 0 3145364 297964 208420 0 0 0 0 1687 129 18 34 48 0 0
> 1 0 0 3144744 297992 208588 0 0 0 230 1687 149 19 37 45 0 0
> 1 0 0 3143636 297996 208952 0 0 0 0 1728 144 23 46 31 0 0
> 1 0 0 3142620 298020 209328 0 0 0 24 1692 173 26 54 20 0 0
> 1 0 0 3141868 298044 209600 0 0 0 570 1718 137 19 38 43 0 0
> 1 0 0 3141124 298060 210196 0 0 0 12 1663 120 18 36 46 0 0
> 1 0 0 3140644 298072 210316 0 0 0 42 1644 125 18 34 47 0 0
> 1 0 0 3140404 298080 210468 0 0 0 420 1576 113 21 41 39 0 0
> 1 0 0 3139660 298092 210808 0 0 0 24 1698 142 17 36 47 0 0
>
> Now I don't even know what else to try.
>

There has to be some reason for the high load. At 4 mbit/sec a recent
CPU should be mostly idle. Let's have a look at your configuration.
Use something like...

egrep -v "^#|^$" /etc/squid.conf

...to cut the fluff. If you defined ACLs that use exernal files, please
give an indication of what those files contain.

> Regards,
> Nikita.
>

Chris
Received on Tue Jan 27 2009 - 00:26:44 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 12:00:03 MST