Date: Fri, 17 Apr 2009 15:36:25 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: ZFS: unlimited arc cache growth? Message-ID: <gsa0kr$dv9$1@ger.gmane.org> In-Reply-To: <20090417145024.205173ighmwi4j0o@webmail.leidinger.net> References: <20090417145024.205173ighmwi4j0o@webmail.leidinger.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Alexander Leidinger wrote: > Hi, > > to fs@, please CC me, as I'm not subscribed. > > I monitored (by hand) a while the sysctls kstat.zfs.misc.arcstats.size > and kstat.zfs.misc.arcstats.hdr_size. Both grow way higher (at some > point I've seen more than 500M) than what I have configured in > vfs.zfs.arc_max (40M). > > After a while FS operations (e.g. pkgdb -F with about 900 packages... my > specific workload is the fixup of gnome packages after the removal of > the obsolete libusb port) get very slow (in my specific example I let > the pkgdb run several times over night and it still is not finished). > > The big problem with this is, that at some point in time the machine > reboots (panic, page fault, page not present, during a fork1). I have > the impression (beware, I have a watchdog configured, as I don't know if > a triggered WD would cause the same panic, the following is just a > guess) that I run out of memory of some kind (I have 1G RAM, i386, max > kmem size 700M). I restarted pkgdb several times after a reboot, and it > continues to process the libusb removal, but hey, this is anoying. > > Does someone see something similar to what I describe (mainly the growth > of the arc cache way beyond what is configured)? Anyone with some ideas > what to try? What you've come across is probably *the* single most important problem with ZFS - unfortunately not yet resolved. If ARC could be constrained or removed, other issues would probably be forgivable :) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ6IXfldnAQVacBcgRAiCHAJ0S00oDz8k8dV6sr08gWZ42bL6VYACfX0sP 4V08WCXPUTwI4CCYSVimH2c= =WAkT -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gsa0kr$dv9$1>
