Date: Sat, 02 Oct 2010 11:30:42 +0200 From: Anselm Strauss <amsibamsi@gmail.com> To: freebsd-questions@freebsd.org Subject: Swap on ZFS Message-ID: <4CA6FBC2.8080908@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi I have a virtual server with only 512 MB of memory but still want to run ZFS on it. When there is IO load and only few memory left it occasionally happens that the server freezes, network ping will still work. As far as I know there was the problem that an IO request on ZFS first needs to allocate some memory before it can be run. So in the case where no memory is left and some swap must be used which lies also on ZFS, it would still first need some free memory for the request. This basically results in a deadlock and the system freezes. Would this not happen every time when the system is out of memory and swap must be used? So it basically makes swap on ZFS useless. Has there been any fix or workaround for this? I guess it does not help when I use a swap file on ZFS instead of a separate zvol. Appreciating any ideas Anselm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA6FBC2.8080908>