Swap on ZFS / swap_pager: indefinite wait buffer

bsalinux at gmail.com bsalinux at gmail.com
Fri Apr 27 23:09:14 UTC 2012


After moving swap to another USB stick, these are gone but the system
still goes unresponsive after few days of continuous write. The
machine responds to ping but no nfs or ssh or other services.

There is nothing in /var/log/messages.

Thanks,

On Wed, Apr 4, 2012 at 6:23 AM, Peter Ankerstål <peter at pean.org> wrote:
> On 04/02/2012 08:13 PM, bsalinux at gmail.com wrote:
>>
>> Hi,
>>
>> I have been running FreeBSD 9.0-RELEASE from a USB stick running ZFS.
>> I have created swap file on zfs volume using the md driver.
>>
>> Swapinfo shows
>>
>> Device          1K-blocks     Used    Avail Capacity
>> /dev/md0          4194304        0  4194304     0%
>>
>>
>> The system has hung twice and all I can find in the log is
>>
>> Mar 22 03:17:30 server kernel: swap_pager: indefinite wait buffer:
>> bufobj: 0, blkno: 927, size: 4096
>> Mar 23 09:00:26 server kernel: swap_pager: indefinite wait buffer:
>> bufobj: 0, blkno: 55, size: 4096
>> Mar 23 22:01:26 server kernel: swap_pager: indefinite wait buffer:
>> bufobj: 0, blkno: 49, size: 4096
>> Mar 24 04:00:38 server kernel: swap_pager: indefinite wait buffer:
>> bufobj: 0, blkno: 60, size: 4096
>>
>> As the swap is on zfs, I assume it is not failing.
>>
>> Do I need to move swap off of ZFS?
>>
>> Thanks
>> _______________________________________________
>> freebsd-fs at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>>
> I had alot of this when I had swap on zfs. Everything went away when I moved
> the swap off
> zfs.
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


More information about the freebsd-fs mailing list