Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 23:00:04 +0930
From:      Benjamin Close <Benjamin.Close@clearchain.com>
To:        freebsd-current@freebsd.org
Subject:   Swapfile on ZFS & Deadlock
Message-ID:  <4672945C.3060304@clearchain.com>

next in thread | raw e-mail | index | archive | help
Hi All,
    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?

Cheers,
    Benjamin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4672945C.3060304>