kernel debugging: seeing swap issues in 7.0

paul beard paulbeard at gmail.com
Fri May 23 20:31:26 UTC 2008


I see a lot of these as my system grinds to a halt. It never crashes
(I reboot it when it gets really boggy . . .


May 23 11:41:13 stinky kernel: swap_pager: indefinite wait buffer:
bufobj: 0, blkno: 49155, size: 4096
May 23 11:41:21 stinky kernel: swap_pager: indefinite wait buffer:
bufobj: 0, blkno: 48905, size: 4096

This is the top of the kernel debug

Unread portion of the kernel message buffer:
<118>May 23 12:48:46 stinky syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...1 0 0 done
All buffers synced.
swap_pager: I/O error - pagein failed; blkno 35668,size 4096, error 5
panic: swap_pager_force_pagein: read from swap failed
Uptime: 14h20m56s
Physical memory: 115 MB
Dumping 37 MB: 22 6
#0  doadump () at pcpu.h:195
195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));

I have partition-based swap and swap files I set up after gcc was
running out of memory.

Device:       1048576-blocks      Used:
/dev/ad0s2b          139              0
/dev/md0              128              0

Any ideas what I can do (besides buy more hardware)?
--
Paul Beard / www.paulbeard.org/
<paulbeard at gmail.com/paulbeard at gmail.com>


More information about the freebsd-questions mailing list