On 10.03.17 05:30, Amos Jeffries wrote:
seems that my memory problem is somehow related to 4g of "2K Buffers"
whatever that means. This is cachrmgr output:
(bytes) KB/ch obj/ch (#) used free part
%Frag (#) (KB) high (KB) high (hrs) %Tot (#)
(KB) high (KB) high (hrs) %alloc (#) (KB) high (KB)
(#) %cnt %vol (#)/sec
2K Buffer 2048 1986398 3972796
3972796 0.00 89.763 1986390 3972780
3972796 0.00 100.000 8 16 198 10736355
4.914 19.208 0.009
Ah. So anything that is using a generic 2KB of memory. Tricky to track
down :-(.
I would look at the next few entries to see if there is a good clue
about what system might be worth a closer look (largest amount of things
active, or anything else not being released). Mostly it is I/O using the
various Buffer's, but some other things do as well.
will be glad if this helps...
(bytes) KB/ch obj/ch (#) used free part %Frag (#) (KB) high (KB) high (hrs) %Tot (#) (KB) high (KB) high (hrs) %alloc (#) (KB) high (KB) (#) %cnt %vol (#)/sec
mem_node 4136 62447 252228 274188 2.37 5.699 62423 252131 274188 2.37 99.962 24 97 26545 6917600 3.166 24.994 0.005
cbdata MemBuf (10) 64 2015362 125961 125961 0.01 2.846 2015348 125960 125961 0.01 99.999 14 1 103 3800466 1.739 0.212 0.004
Short Strings 40 670389 26188 28203 2.51 0.592 670008 26173 28203 2.51 99.943 381 15 1423 113557901 51.974 3.968 0.078
cache_dir rock /var/spool/squid3/rock 1024 max-size=32768
#cache_dir aufs /var/spool/squid3 8192 16 256 min-size=32769
are those correct values? (bug 3411 says something about 256B metadata)
Those 256 Byte will matter for Squid-3.4.
doesn't it for later squid versions?
Nope :-). Squid-3.5 'large rock' feature adds slots as needed to fit the
extra meta bytes. So 32KB is no longer an absolute limit.
will it waste whole slot or does it already support smaller chunks?
--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux - It's now safe to turn on your computer.
Linux - Teraz mozete pocitac bez obav zapnut.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users