Subject: kern/24715: system can stuck with no available ram when using swap on cgd(4)
To: None <email@example.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
Date: 03/09/2004 13:35:03
>Synopsis: system can stuck with no available ram when using swap on cgd(4)
>Arrival-Date: Tue Mar 09 12:36:00 UTC 2004
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.6ZI
System using swap on a cgd(4) device could stuck when it runs out of free
memory but there is still plenty of swap space available. the problem seems
to be that cgd(4) doesn't have enough memory to decrypt/encrypt swap pages.
i was able to unfreeze the system for a moment by killing processes from ddb
(when i was lucky enough and was able to get into ddb) but never to fully
recover. the issue is repeatable.
Roland Dowdeswell is aware of this issue, i filled the PR so it won't be
use swap on cgd(4), make the machine use all the available ram, observe it
use memory pools?