Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Loglimit needed



Egalus wrote:
> 
> Hi,
> 
> I just wondered why my / got filled up to the limit in about 5 hours of
> time (was all normal at that time).
> Answer: a 3 GB /var/log/messages
> 
> Why got that file that big?
> Answer: from 15:30 to 16:30 I got almost only "ring buffer overflow (188
> bytes dropped)" messages in the log. So many a second that I can't even
> count it in screens. That blew my /var/log/messages about 2.9 GB (in
> just one hour) and it only stopped cause my / was full.
> 
> So I suggest a max number of logentrys for the same error per minute
> (like iptables logs can be trimmed for example) or a fix for the ring
> buffer overflow error ;)
> 
> But surely it should not happen that one application can spam
> /var/log/messages in such a way.

You're certainly right about this.
For a quick fix you could add a counter to cRecorder and cTransfer
that keeps track of this and maybe report it only every five minutes
or so.

I'll keep this in mind for later.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index