Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2019 18:50:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 229670] Too many vnodes causes ZFS ARC to exceed limit vfs.zfs.arc_max (high ARC "Other" usage)
Message-ID:  <bug-229670-3630-65TCkPrMkg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229670-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229670-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229670

--- Comment #18 from Leif Pedersen <leif@ofWilsonCreek.com> ---
(In reply to Leif Pedersen from comment #17)

After upgrading to 12.0, and letting yesterday's cycle run on defaults, I
cranked up maxvnodes to 1048576 (default was 179420) and squashed arc_max to
64M (default was 758M). After a backup cycle, it had madly overrun
vfs.zfs.arc_max. The ARC usage shows 2449M now. (This machine runs rsync-st=
yle
backups for me, so it churns through a lot of inodes -- a good test case for
this.) Here are the sysctl stats you asked for:

$ sysctl vfs.zfs.arc_max kern.maxvnodes kstat.zfs.misc.arcstats.other_size
kstat.zfs.misc.arcstats.bonus_size kstat.zfs.misc.arcstats.dnode_size
kstat.zfs.misc.arcstats.dbuf_size kstat.zfs.misc.arcstats.metadata_size
vfs.zfs.arc_max: 67108864
kern.maxvnodes: 1048576
kstat.zfs.misc.arcstats.other_size: 1614528504
kstat.zfs.misc.arcstats.bonus_size: 398285120
kstat.zfs.misc.arcstats.dnode_size: 906573304
kstat.zfs.misc.arcstats.dbuf_size: 309670080
kstat.zfs.misc.arcstats.metadata_size: 936406016

$ top
last pid:  6873;  load averages:  0.36,  0.24,  0.20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                            up 0+13:13:01  12:39:03
46 processes:  1 running, 45 sleeping
CPU:  0.4% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.5% idle
Mem: 24M Active, 291M Inact, 5389M Wired, 190M Free
ARC: 2449M Total, 440M MFU, 453M MRU, 1376K Anon, 15M Header, 1540M Other
     181M Compressed, 713M Uncompressed, 3.94:1 Ratio
Swap: 46G Total, 46G Free

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229670-3630-65TCkPrMkg>