Subject: Re: lfs
To: None <firstname.lastname@example.org>
From: Thor Lancelot Simon <email@example.com>
Date: 02/26/2003 16:32:07
On Wed, Feb 26, 2003 at 10:21:43PM +0100, Love wrote:
> When trying to crash lfs i filled it up, knowing that might cause problem.
> it did. lfs_cleanerd got stuck in getnewbuf together with a bunch of other
> processes. So that is not my problem, i can avoid make the filesystem full.
> I removed some files from the filesystem, but now when the cleaner runs it
> crashes. I can't get the machine to dump core, but printf debugging will
> work, my thinkpad doesn't clear memory when rebooting :)
> Any got an idea what wrong ?
Clearly the underlying problems here should be fixed, but in the interim,
how about simply reserving some more space so that even root can't write
into it? It seems to me that max(5%, segsz * 10) should suffice to avoid
the kind of deadlock that gets us into this mess...