Jack Coates, 2001-04-27 08:25 -0700
>On Fri, 27 Apr 2001, Mike Noyes wrote:
>
> > Jack Coates, 2001-04-27 07:12 -0700
> > ><snip>
> > > > >running, as "echo test > file" won't work if the disk is
> > > > >full. So...be cautious turning Nessus loose on your own
> > > > >LRP box. :)
> > > >
> > > > I think this is a problem. I believe the ramdisk shouldn't fill up
> > > > under any circumstances. Can we change log rotate to trigger on
> > > > file size in addition to periodically?
> > >
> > >It's got the ability in multicron, but commented out by default. I
> > >haven't formally tested it, but it seemed to worked on my old
> > >low-memory router. Still, a check every few minutes to start action
> > >seems like a kludgy way to handle it.
> >
> > Jack,
> > Is there an elegant solution to the problem?
> >
>Uhhh.... quotas?
Jack,
How large are the quota utilities?
>Uhhh.... at least using a cat /proc/whatever instead of df?
Would that be proc/stats?
>Here's the code from /etc/multicron-p:
<snip>
>the annoying thing is that I don't see where it's getting called from --
>it's not in crontab, but I do know it's getting called because the ping
>check goes off about hourly.
A Nessus scan can add enough log entries in less than five minutes to
exceed free ramdisk space. This is on a box with 16M of memory.
If I remember correctly, David solved this problem in Oxygen by creating a
separate partition for /var/log. He recommends 18M for Oxygen though, and I
don't know if this fixes the performance slowdown.
--
Mike Noyes <[EMAIL PROTECTED]>
http://leaf.sourceforge.net/
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel