Search squid archive

Re: top reports twice memory as much as Total in mgr:mem

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

 



On 25/10/10 03:39, Kaiwang Chen wrote:
The cache dir is around 40GB, much less than the limit 128GB, looks
like bug 3068 is a different problem? We are storing small files,
average size being around 80KB.

Bug 3068 is about both the max and current size values being stored in 32-bit integers and the resulting math problems when either becomes negative. Your cache_mem display making this clear.


One extra though comes back to memory. In the last round of fixes for this 2x sizing complaint it was uncovered that memory pools were broken for 64-bit math in 3.1/3.2. You may try turning them off and see if that alters anything for the better.


2010/10/23 Amos Jeffries<squid3@xxxxxxxxxxxxx>:
On 22/10/10 04:07, Kaiwang Chen wrote:

Amos,

The cache size is configured around 128GB, as reported by mgr:config:
cache_dir aufs /export/squid/cache 131072 32 256 IOEngine=DiskThreads
cache_swap_low 90
cache_swap_high 95
cache_mem -1073741824 bytes
memory_replacement_policy lru
cache_replacement_policy lru
memory_pools on
memory_pools_limit 5242880 bytes

You have probably hit bug http://bugs.squid-cache.org/show_bug.cgi?id=3068

There is a patch in the report waiting feedback. If you can test it and see
if it fixes your problem please

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.8
  Beta testers wanted for 3.2.0.2


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux