You could put /var/log in its own partition.  That way when it's full it
doesn't mess up anything else.

Gnome gives an alert when a drive is nearly full (at least it does on my
dad's Ubuntu machine).  I'm not sure what the name of the daemon is,
though.

-Rob

On Wed, Aug 10, 2011 at 10:56:44PM +0300, David Baron wrote:
> This is a not-so-sporadic problem: USB mouse begins spewing errors and these 
> grow the syslog and daemon.log files until /var is full. At this point, the 
> filesystem journal and the mail system are crippled. One must remove these 
> two 
> files and reboot. The bootup check will remove an inode or so and things will 
> play.
> 
> I would like some daemon to monitor either selected log files or the 
> available 
> space and alert before this gets out of hand. At this point, automatic 
> execution of a script or manual deletion can be done before its "too late."
> 
> Any ideas?
> 
> (Running Sid)
> 
> 
> -- 
> To UNSUBSCRIBE, email to [email protected] 
> with a subject of "unsubscribe". Trouble? Contact [email protected]
> Archive: http://lists.debian.org/[email protected]


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to