swap_pager indefinite wait buffer - question - SOLVED

PeerCorps Trust Fund ipc at peercorpstrust.org
Thu Dec 25 10:08:47 PST 2014


I just wanted to take the opportunity update a previous post that I made to the list concerning a swap_pager concern. It isn't an issue at all but the fault of my own ignorance and hardware limits. 

The external drive in question was simply not pulling enough power from the USB port of the laptop. This was likely resulting in a stalled drive when anything substantial was being copied to it. 

This has since been solved by connecting the drive first to an externally powered USB hub. So, if there is anyone else out there having a similar issue, trying this seems to do the trick. Alternatively, just use a drive that is powered externally.

Everything works beautifully now and this low cost experiment for a simple file server will find a home in a school classroom next year. 

######################
Previous message begin
######################

I am not sure if this should be classified as a bug, but I've been testing a basic DragonflyBSD install in order to how well an idea to use external USB disks could work.

What I seem to get repeatedly is a complete stopping of copy to disk operation and the following list of scrolling text:

swap_pager: indefinite wait buffer: offset 1783230464, size: 4096
swap_pager: indefinite wait buffer: offset 125403136, size: 4096
swap_pager: indefinite wait buffer: offset 864153600, size: 4096
swap_pager: indefinite wait buffer: offset 1893855232, size: 4096
...

This is reproducible each time any time I try to copy over large folders. Each folder is around 100 gigabytes with random content.

The DF install itself is a base installation only. The initial install was made on a Thinkpad X200 with a Sandisk 128 gigabyte SSD. The only parameter changed was selecting a larger space for swap and enabling the following in /etc/sysctl.conf

vm.swapcache.read_enable=1
vm.swapcache.meta_enable=1

After a series of NFS exports are made, and the HAMMER formatted external Western Digital Passport disk is plugged in to the USB port I've copied items via the terminal from a second machine on the network to the disk. After about 15 minutes or so of copying the above happens.

Is there anyway to stop this from happening?

I've noticed that after a while the external disk does go into standby mode, but the server must be cold restarted (it becomes unresponsive) and the system on which the copying is done also needs a restart as the GUI hangs. But my only concern at this point is the Dragonfly machine and how to stop the above messaging and stalling of copy operations.

######################
Previous message end
######################



More information about the Users mailing list