Date: Tue, 9 Mar 2010 21:53:55 +1100 From: Peter Jeremy <peterjeremy@acm.org> To: Stefan Bethke <stb@lassitu.de> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: Many processes stuck in zfs Message-ID: <20100309105355.GD3978@server.vk2pj.dyndns.org> In-Reply-To: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de> References: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--4zI0WCX1RcnW9Hbu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Mar-09 10:15:53 +0100, Stefan Bethke <stb@lassitu.de> wrote: >Over the past couple of months, I've more or less regularly observed machi= nes having more and more processes stuck in the zfs wchan. The processes n= ever recover from that, How long have you waited? There seems to be a problem with low free memory handling that causes ZFS to turn into cold molasses. The work-around is to run a program that allocates a decent size chunk of memory and then exits. The original suggestion was something like: perl -e '@x =3D (0) x 1000000;' I've written a short program that allocates and dirties ~100MB and then exits and run it from cron. --=20 Peter Jeremy --4zI0WCX1RcnW9Hbu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuWKMMACgkQ/opHv/APuIfMnACfXdRRLq7lnwMLvxpAIXxBySj/ QtgAmwUTQ5iSzx0QuxXcjq3kT0VKn8fb =L+vJ -----END PGP SIGNATURE----- --4zI0WCX1RcnW9Hbu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100309105355.GD3978>