Search squid archive

Re: Lots of swaps

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

 



Mike Leong wrote:
Hi,

My squid instance is using a lot of swap. At the moment, it has a resident size of 3.2G and is using 980mb swap.

My system has 4G of ram, squid is a 32bit app (We can upgrade to 64bit, but will have rebuild the cache). The cache as 32232237 objects, 485.84 GB of data.

I have the cache_mem set to 512MB and memory_pools off.

Anyone know how decrease the swap? (Aside from adding more ram, or decreasing # of objs)

mike


http://wiki.squid-cache.org/SquidFaq/SquidMemory#head-3da538dc64ac0575720762e73a506ccaca6d65f0
and
http://wiki.squid-cache.org/SquidFaq/SquidMemory#head-09818ad4cb8a1dfea1f51688c41bdf4b79a69991

Just the meta-data for 32232237 objects will require over 2 GB of RAM. The recommended amount of RAM for 485GB of cache would be close to 5GB, just for Squid.

The short answer would be "Nope."

Chris

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

  Powered by Linux