Rsyslog and "Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad state"

Guus Sliepen guus at tinc-vpn.org
Fri Jul 8 12:53:15 CEST 2011


On Fri, Jul 08, 2011 at 10:49:08AM +0200, Benjamin Henrion wrote:

> I recently had a machine filling up its harddisk with syslog and tinc
> pilling up milions of messages like this:
> 
> "Error while reading from Linux ethertap device /dev/net/tun: File
> descriptor in bad state"
> 
> I remembered that there was a difference between rsyslog and other
> loggers, where one of those was skipping those messages, and simply
> was displaying:
> 
> "this message has been repeated x times"
> 
> Any idea which logger it was?

Both rsyslog and Debian's sysklogd do that as far as I know. Also, tinc 1.0.15
will shut down if it gets too many errors from the tun device in a row.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20110708/0e06bc4c/attachment.pgp>


More information about the tinc mailing list