BenV's notes

Syslog-ng POLLERR occurred while idle; fd=’NN’

by on Aug.05, 2011, under Software

While trying to craft a custom firewall traffic logger using iptables and syslog-ng to run it through a script I ran into this lovely error.
Syslog-ng is happy to spam 2458734597 lines (or more if you have lots of diskspace ;)) like this into your syslog:

Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='17'
Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='16'
Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='17'
Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='16'
Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='17'
Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='16'
Aug 5 15:11:47 ss syslog-ng[18731]: POLLERR occurred while idle; fd='17'

The reason was -not- that it could not be executed…. the reason was that the program (“test.sh”) quit (or at least closed its input) instantly.
Good to know for next time.




:

Leave a Reply

You must be logged in to post a comment.