From owner-freebsd-current@FreeBSD.ORG Fri Apr 17 13:06:11 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66B3F1065674; Fri, 17 Apr 2009 13:06:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 18AD98FC08; Fri, 17 Apr 2009 13:06:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2CE6F.dip.t-dialin.net [217.226.206.111]) by redbull.bpaserver.net (Postfix) with ESMTP id 946162E1FE; Fri, 17 Apr 2009 14:50:33 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 37FE4C45FA; Fri, 17 Apr 2009 14:50:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1239972628; bh=QtyPvoJKtsu/Ftw9hNgW3aVEbmjdcncPb azcBUlFnXs=; h=Message-ID:Date:From:To:Cc:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=3gXL7MGtITMJxpMCu49Q7mIb o+PY0HIGf7Ev4BQo51P1OvLWeRAQDheDFbAb8sgdGOke/ewwKMyvBb8gg9ptaK1Z5tG 2+DQQgcDtH4LXI+yjtw2DyfNc+F4mCDhPbZNHB3zAzI3j4iyaD5mVDwdQStu2dcCrV5 Oc6XR3gH3URHK+hpMR5bvD1E3Y/mDGJVEGThcBxuffoqVEC5zzCDpbpI4oVydBf4sbV k8r4bZfSn7HPVvBdeSMsfD5PMwMSRgOByhHwppCkLLiN2pfO9womm5qXihe2H+05Vyc xK6fDdM9HS3FduB8TsYiYCyUf9cDt892pJuUu4RuL0VRAbw5bg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n3HCoP1o013531; Fri, 17 Apr 2009 14:50:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 17 Apr 2009 14:50:24 +0200 Message-ID: <20090417145024.205173ighmwi4j0o@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 17 Apr 2009 14:50:24 +0200 From: Alexander Leidinger To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 946162E1FE.1BFC8 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: fs@freebsd.org Subject: ZFS: unlimited arc cache growth? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 13:06:11 -0000 Hi, to fs@, please CC me, as I'm not subscribed. I monitored (by hand) a while the sysctls kstat.zfs.misc.arcstats.size =20 and kstat.zfs.misc.arcstats.hdr_size. Both grow way higher (at some =20 point I've seen more than 500M) than what I have configured in =20 vfs.zfs.arc_max (40M). After a while FS operations (e.g. pkgdb -F with about 900 packages... =20 my specific workload is the fixup of gnome packages after the removal =20 of the obsolete libusb port) get very slow (in my specific example I =20 let the pkgdb run several times over night and it still is not =20 finished). The big problem with this is, that at some point in time the machine =20 reboots (panic, page fault, page not present, during a fork1). I have =20 the impression (beware, I have a watchdog configured, as I don't know =20 if a triggered WD would cause the same panic, the following is just a =20 guess) that I run out of memory of some kind (I have 1G RAM, i386, max =20 kmem size 700M). I restarted pkgdb several times after a reboot, and =20 it continues to process the libusb removal, but hey, this is anoying. Does someone see something similar to what I describe (mainly the =20 growth of the arc cache way beyond what is configured)? Anyone with =20 some ideas what to try? Bye, Alexander. --=20 When you go out to buy, don't show your silver. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137