NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/41766



The following reply was made to PR bin/41766; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/41766
Date: Thu, 5 Mar 2015 12:45:10 +0000

 This bug still exists in NetBSD-7.99.5/amd64 of 2015-Mar-01:
 
 # sysctl hw.physmem
 hw.physmem = 2136272896
 # swapctl -lh
 Device      Size     Used    Avail Capacity  Priority
 /dev/wd0b   2.0G       0B     2.0G     0%    0
 # df -h /tmp
 Filesystem         Size       Used      Avail %Cap Mounted on
 tmpfs              3.5G       8.0K       3.5G   0% /tmp
 # dd if=/dev/zero of=big.fs count=2600272896
 dd: big.fs: No space left on device
 7508857+0 records in
 7508856+0 records out
 3844534272 bytes transferred in 92.338 secs (41635450 bytes/sec)
 # df -h .
 Filesystem         Size       Used      Avail %Cap Mounted on
 tmpfs              3.6G       3.6G         0B 100% /tmp
 # shutdown -r now
 ...
 UVM:pid 1.1 (init), uid 0 killed: out of swap
 UVM:pid 1.1 (init), uid 0 killed: out of swap
 ...
 
 
 The patch included in the original report to add "umount -aft tmpfs"
 to rc.d/swap1 before swapctl -U seems to make sense.
 


Home | Main Index | Thread Index | Old Index