Johan Hendriks wrote:
Hello all.

Lately I noticed above (error) when I reboot machine.

It looks like this.

Stopping cron.
Waiting for PIDS: 1183
swapoff: /dev/gpt/swap-9M286954: Cannot allocate memory
stopping zfsd.
Waiti......

My swap space concists of two GPT swap partitions on the zfs mirror OS
disks, both 4GB each.
The machine has 4 GB mem.

This does not happen after normal use, but if i wait a day, do a
buildworld then the swapoff error shows.

content off /etc/fstab

/dev/gpt/swap-Z3TX7DTA   none           swap    sw      0       0
/dev/gpt/swap-9M286954   none           swap    sw      0       0

I think you are bitten by a bad swapoff logic. I made patch for it eons ego:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187081

From my point of view swapping off from non-late swap devices is just a waste of time.

--
Sphinx of black quartz judge my vow.
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to