Bug 162455

Summary: FreeBSD 9x unstable with file-based swap
Product: Base System Reporter: subbsd
Component: miscAssignee: Mark Linimon <linimon>
Status: Closed Overcome By Events    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description subbsd 2011-11-11 00:10:11 UTC
Some information is described here http://lists.freebsd.org/pipermail/freebsd-fs/2011-October/012878.html. 
However two of my hosts with swapfile="/usr/swap0" in /etc/rc.conf, where /usr/swap0 is created by dd (official handbook way), perfectly hang without swapoff, through N time of the beginning of use swap

Fix: 

Sorry
How-To-Repeat: 1) dd if=/dev/zero of=/usr/swap0 bs=1024k count=512
2) swapfile="/usr/swap0"  to /etc/rc.conf
3) service addswap start

start to use a swap, or play with swapoff/on command like this:
http://lists.freebsd.org/pipermail/freebsd-fs/2011-October/012878.html
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:49 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2021-06-30 00:40:25 UTC
^Triage: close as OBE.

I'm sorry that this PR did not get addressed in a timely fashion.