Subject: Re: lfs
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Sean Davis <dive@endersgame.net>
List: tech-kern
Date: 02/26/2003 17:12:11
On Wed, Feb 26, 2003 at 04:32:07PM -0500, Thor Lancelot Simon wrote:
> 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...

I get a panic dumping a > 2GB filesystem to an LFS volume, maybe these two cases
are related? The panic doesn't happen until the amount of data dumped (watched
by running ls -l on the dump file over and over) approaches 2GB..

-- 
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!