[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wapbl panic in NetBSD6
On Wed, Oct 24, 2012 at 01:16:00PM -0400, Greg Kerr wrote:
> After deleting 100K+ rogue files in /tmp on NetBSD6 ("stable",
> cvs'd from netbsd.org yesterday), machine froze with a panic in
This one? :(
/* XXX should eventually instead tie this into resource estimation */
* XXX this panic needs locking/mutex analysis and the
* ability to cope with the failure.
/* XXX this XXX doesn't have enough XXX */
if (__predict_false(wl->wl_dealloccnt >= wl->wl_dealloclim))
panic("wapbl_register_deallocation: out of resources");
> Rebooted into single-user and fsck -Pfy / ; mv /tmp /tmp.o mkdir
> /tmp; chmod 1777 /tmp ? was the only way I could recover. Can't get
> rid of tmp.o though.
If that's the panic, probably you can delete the files in batches,
while :; do
VICTIMS="$(ls | head -1000)"
if [ x"$VICTIMS" = x ]; then
although if there are subdirs in there it may take somewhat more
David A. Holland
Main Index |
Thread Index |