[Bug 232800] Processes killed out of swap space

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 31 06:12:14 UTC 2018


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

--- Comment #3 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to teksimian from comment #2)

See bugzilla's https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206048
for why "swap is filebacked" should be avoided if one wants to avoid
deadlocks and such. In particular, see its comments 7 and 8. I'd use
a partition as the area for paging/swapping.

Also the messages that are are like:

Oct 30 23:16:52 host kernel: swap_pager: I/O error - pageout failed; blkno
477,size 69632, error 12

suggests an unreliable page/swap media.

And, quoting Trev's reply (and the original question)
from a list exchange:

QUOTE
What does the error swap_pager: indefinite wait buffer: mean?

This means that a process is trying to page memory to disk, and the page
attempt has hung trying to access the disk for more than 20 seconds. It might
be caused by bad blocks on the disk drive, disk wiring, cables, or any other
disk I/O-related hardware. If the drive itself is bad, disk errors will appear
in /var/log/messages and in the output of dmesg. Otherwise, check the cables
and connections.
ENDQUOTE

It is possible for a some systems to queue up more than the I/O
system can process in 20 seconds, even when the I/O is working
well (but is relatively slow compared to the work load).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list