Hello:
I have a FreeBSD 12.0 virtual machine on a KVM virtual private server. I installed from the 12.0-RELEASE installer ISO and chose encrypted ZFS root file system. I believe after that choice I accepted the default partitioning. So SWAP is part of the encrypted ZFS root disk. I'm using the generic kernel and basically running FAMP stack for Nextcloud.
In a couple of months, three times now the machine has locked up, in the sense it didn't serve web pages and could not be contacted via SSH, though it would still respond to pings. In this error state I can look at the console from the provider's web VNC and I see repeating messages about swap_pager, something like:
(I stole that from someone else's post on the subject, but that's the idea. bufobj is always 0 and the others change)
My only option then is to use the KVM control panel to power off the virtual machine.
I saw someone mentioned the swap pager will wait 20 seconds before getting really upset, and although my VPS is optimized for amount of storage over speed of storage, I can't imagine it prevented a read or write from happening for that long.
Is there anything else that could cause this in my case?
Thanks.
I have a FreeBSD 12.0 virtual machine on a KVM virtual private server. I installed from the 12.0-RELEASE installer ISO and chose encrypted ZFS root file system. I believe after that choice I accepted the default partitioning. So SWAP is part of the encrypted ZFS root disk. I'm using the generic kernel and basically running FAMP stack for Nextcloud.
Code:
# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/vtbd0p3.eli none swap sw 0 0
In a couple of months, three times now the machine has locked up, in the sense it didn't serve web pages and could not be contacted via SSH, though it would still respond to pings. In this error state I can look at the console from the provider's web VNC and I see repeating messages about swap_pager, something like:
Code:
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 16888849, size:4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 16867303 size: 8192
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 16888849, size:4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 16889145, size: 12288
(I stole that from someone else's post on the subject, but that's the idea. bufobj is always 0 and the others change)
My only option then is to use the KVM control panel to power off the virtual machine.
I saw someone mentioned the swap pager will wait 20 seconds before getting really upset, and although my VPS is optimized for amount of storage over speed of storage, I can't imagine it prevented a read or write from happening for that long.
Is there anything else that could cause this in my case?
Thanks.