Search squid archive

Re: Squid high memory usage

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

 





On 06/06/2016 04:27 AM, FredB wrote:
Hello all,

I'm trying to use a server with 64 Go of ram, but I'm faced with a problem, squid can't works with more than 50% of memory

What is cache_mem ?
See also http://wiki.squid-cache.org/SquidFaq/SquidMemory

After that the swap is totally full and kswap process gone mad ...
I tried with vm.swappiness = 0 but same problem, perhaps a little better, I also tried memory_pool off without any change.

I recommend vm.swappiness = 5 to have 5% of the memory be used for the file system cache and maintain good disk I/O.

As you can see in this picture linux are using 22 Go of cached memory
http://image.noelshack.com/fichiers/2016/22/1464965449-capture-squid.png

The values are too high (1024 times).  I think that you incorrectly set cache_mem.
Start with setting  cache_mem to 16 GB

Marcus

I'm using two caches (133 G each)with a dedicated sata (15 k) disk for each cache
Any advice will be very appreciate

OS Debian Jessie 64 bits and squid 3.5.19

Fred
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux