[squid-users] SQUID memory error after vm.swappines changed from 60 to 10

Marcus Kool marcus.kool at urlfilterdb.com
Mon Nov 13 11:15:09 UTC 2017



On 13/11/17 07:46, Bike dernikov1 wrote:

>> are you saying that you have
>>     cache_mem 14G
>> If yes, you should read the memory FAQ and reduce this.
>> 'cache_mem 14G' explains that Squid starts 'small' and grows over time.
> 
> For our case, what do you recomend.  10GB or even lower ?
> Plan reading today, i hope that I will have peace, to concentrate.

cache_mem does NOT define the total memory use of Squid.
The FAQ explains it.
On a 24G system you can start with 7 GB and only after 3 days of running without issues and verifying that the cache is 100% utilised (if not, Squid can grow) and there is sufficient free memory, you 
can increase it.



More information about the squid-users mailing list