Date: Wed, 13 Feb 2019 02:38:53 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Mike Tancsa <mike@sentex.net> Cc: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: 11.2-STABLE kernel wired memory leak Message-ID: <bfbcaaba-0da3-ac6f-9543-1b717acd8a89@grosbein.net> In-Reply-To: <672edbe6-ac42-f21e-ad8a-7a5f5d4c4e3c@sentex.net> References: <d8c7abc0-3ba1-40e4-22b1-1b30d28ced14@grosbein.net> <20190212163446.GA29847@raichu> <4ab1331f-80e3-b856-b402-9985e73618bc@grosbein.net> <672edbe6-ac42-f21e-ad8a-7a5f5d4c4e3c@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
13.02.2019 2:18, Mike Tancsa wrote: > On an nfs server, serving a few large files, my 32G box is showing > > vmstat -z | sed 's/:/,/' | awk -F, '{printf "%10s %s\n", > $2*$5/1024/1024, $1}' | sort -k1,1 -rn | head > 11014.3 abd_chunk > 2090.5 zio_data_buf_131072 > 1142.67 mbuf_jumbo_page > 1134.25 zio_buf_131072 > 355.28 mbuf_jumbo_9k > 233.42 zio_cache > 163.099 arc_buf_hdr_t_full > 130.738 128 > 97.2812 zio_buf_16384 > 96.5099 UMA Slabs > > > CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > Mem: 1348K Active, 98M Inact, 3316K Laundry, 30G Wired, 1022M Free > ARC: 11G Total, 7025M MFU, 3580M MRU, 11M Anon, 78M Header, 681M Other > 9328M Compressed, 28G Uncompressed, 3.05:1 Ratio > Swap: 64G Total, 13M Used, 64G Free > > > Right now its OK, but prior to limiting ARC, I had an issue with memory > and the disk thrashing due to swapping > > pid 643 (devd), uid 0, was killed: out of swap space mbuf* numbers represent memory being wasted IMHO. In contrast to ZFS memory that can contain useful cached data, contents of freed mbufs cannot be re-used, right? Some amount of "free" mbufs in the zone's just fine to serve bursts of traffic without need to grow the zone but your numbers are way too big IMHO. Do you have memory pressure here? Growth of swap usage?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bfbcaaba-0da3-ac6f-9543-1b717acd8a89>