Date: Fri, 15 Jun 2007 16:45:23 +0200 From: "Claus Guttesen" <kometen@gmail.com> To: "Benjamin Close" <Benjamin.Close@clearchain.com> Cc: freebsd-current@freebsd.org Subject: Re: Swapfile on ZFS & Deadlock Message-ID: <b41c75520706150745w6929c24dq3bf86a204d47b1f9@mail.gmail.com> In-Reply-To: <4672945C.3060304@clearchain.com> References: <4672945C.3060304@clearchain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Whilst running out of memory compiling Xorg (scanPCI is a killer) I > discovered a quick way to deadlock the system: > > dd if=/dev/zero of=somefileonzfs bs=something count=something > mdconfig -a -f something > swapon /dev/md0 > > Then do something that needs swap.. instant deadlock. The system is > still responsive but all disk access become hung. > > Known issue? If so is there a way we can warn users/prevent users from > doing it? How much swap have you allocated? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b41c75520706150745w6929c24dq3bf86a204d47b1f9>