Interesting... so I did turn off softdep, and that did fix it.  However, based 
on my reading, I thought that softdep + disabling of write cache is the 
"approved" mechanism for allowing for hard reboots without fsck.  If this is 
the case, does this mean that I am in an either / or situation... as in, it is 
not possible to have rapid rewrites and rapid reboot simultaneously.  Or is 
sync in cron a reasonable approach?

Thanks in advance.



"Thordur I. Bjornsson" <[EMAIL PROTECTED]> wrote: Joe Advisor  wrote on Tue  
5.Dec'06 at 11:57:03 -0800

> Hi all,
> 
> If I rapidly rewrite a file, for example:
> 
>  while true; do echo "foo" > /foo; done;

softdep ?

> 
> Or for example:
> 
> #!/usr/bin/perl
> for (1 .. 100000) {
>    MyStuff::Util::writeFile('/root/foo', $blah);
> }
> 
> The filesystem eventually says filesystem full.
> 
> Obviously those are corner cases because I am rapidly rewriting.  But even if 
> I don't rapidly rewrite, if I just rewrite for example, once every few 
> seconds, based on changes to the environment, etc., the filesystem still 
> fills up.  If I make the filesystems bigger, that helps, but I was wondering 
> if there is another way.
> 
> If I put a sync in cron, that helps a lot too.  That seemed like a kludge, 
> wasn't sure if that's the right thing to do.
> 
> Is there a global setting, perhaps some sysctl, that I need to modify, to 
> prevent this from happening?
> 
> Thanks in advance.
> 
> 
>  
> ---------------------------------
> Access over 1 million songs - Yahoo! Music Unlimited.


 
---------------------------------
Need a quick answer? Get one in minutes from people who know. Ask your question 
on Yahoo! Answers.

Reply via email to