Search squid archive

Re: SQUID memory error after vm.swappines changed from 60 to 10

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

 



On Mon, Nov 13, 2017 at 2:32 PM, Marcus Kool
<marcus.kool@xxxxxxxxxxxxxxx> wrote:
>
>
> On 13/11/17 10:46, Bike dernikov1 wrote:
>>
>> On Mon, Nov 13, 2017 at 12:15 PM, Marcus Kool
>> <marcus.kool@xxxxxxxxxxxxxxx> wrote:
>>>
>>>
>>>
>>> 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.
>>>
>>
>> Read FAQ.
>> Now  trying to pass trough squid-internal-mgr/ reports/statistics.
>> For now we will stay at cache_mem 14GB, because we are modifying too
>> many settings at same time. Now at 99% used at 14GB if i read correctly.
>> Thanks for sugestions and help.
>>
>>
>> squid-internal-mgr/info output:
>> Cache information for squid:
>> Hits as % of all requests: 5min: 5.8%, 60min: 6.4%
>> Hits as % of bytes sent: 5min: 16.8%, 60min: 18.7%
>> Memory hits as % of hit requests: 5min: 64.1%, 60min: 64.9%
>> Disk hits as % of hit requests: 5min: 0.0%, 60min: 0.1%
>> Storage Swap size: 0 KB
>> Storage Swap capacity: 0.0% used,  0.0% free
>> Storage Mem size: 14195856 KB
>> Storage Mem capacity: 99.0% used,  1.0% free
>> Mean Object Size: 0.00 KB
>> Requests given to unlinkd: 0
>
>
> Beware that he storage mem size is not the same as total memory used.

It is not same but not too much difference. No problems so far today :)

              total        used        free      shared  buff/cache   available
Mem:          24101       17008         695         134        6397        6543
Swap:         24561         342       24219



> _______________________________________________
> 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