Benjamin Henrion
2011-Jul-08 08:49 UTC
Rsyslog and "Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad state"
Hi, 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? Best, -- Benjamin Henrion <bhenrion at ffii.org> FFII Brussels - +32-484-566109 - +32-2-4148403 "In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators."
Guus Sliepen
2011-Jul-08 10:53 UTC
Rsyslog and "Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad state"
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>