Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2011 23:31:04 +0400
From:      Subbsd <subbsd@gmail.com>
To:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   FreeBSD 9.0-RC1 freeze after swapoff/swapon procedure on md/vnode-backend file
Message-ID:  <CAFt_eMqo7uX5Y1Fp%2BRQKvauGa_qO12bHYuH-4%2BUWgnmDJ2owXw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi

I get easy reproducible  a hang-up servers that use the file-based
swap file after swapoff / swapon procedure (in this case, some of the
data must be swapped). For example:

1) dd if=/dev/zero of=/usr/swp1 bs=1m count=100
2) mdconfig -a -t vnode -f /usr/swp1
3) swapon /dev/md0
4) begin to allocated memory, for example by simple:
tail /dev/zero

5) after a filling of some percent, do swapoff /dev/md0, then swapon
/dev/md0. you can try this procedure again.

The system may stop responding to commands and freezes or locks up
after some time. From the outside - the core lives (icmp response
goes) but the disk system is not available.

PS: one of my server to my mind is frozen without swapoff/on - just
had three swapfile, a day after he crashed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFt_eMqo7uX5Y1Fp%2BRQKvauGa_qO12bHYuH-4%2BUWgnmDJ2owXw>