Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 23:48:41 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bugs@FreeBSD.ORG
Subject:   deadlock when swap is exhausted
Message-ID:  <199811161248.XAA18427@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
Configure a system with 32MB of memory and 64MB of swap.
`dd if=/dev/zero of=/dev/null bs=104m count=1' on an otherwise
idle system then causes deadlock.  The pageout daemon runs and
keeps killing dd, but dd can't run because a critical part of
it is paged out, and the pagefault handler doesn't do anything
because of a shortage of resources (pages or pbufs, I think).

This is a fairly old bug.  I first saw it when attempting to
duplicate the dying daemons problem -- make the memory hogs too
large and you get deadlock instead of possibly dying daemons.
Deadlock doesn't always occur -- sometimes there are enough free
or freeable resources.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811161248.XAA18427>