BenV's notes

Archive for August, 2011

IE Fascism

by on Aug.25, 2011, under Software

Obviously dealing with windows isn’t my favorite, but it comes along as part of the job.

Today my boss wanted to view some car site in internet exploder, because “Some sites don’t show properly in Firefox, Internet Explorer does a better job sometimes”. So I was like “You mean garbage sites that still write IE specific html… oh never mind, show it :)”

First he showed his problem in Firefox. As far as I’m concerned it looked like a failing search engine on the site and nothing html related, but whatever. (continue reading…)

Leave a Comment :, , , more...

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 Comment : more...

Archives

  • 2018 (1)
  • 2016 (1)
  • 2015 (7)
  • 2014 (4)
  • 2013 (11)
  • 2012 (27)
  • 2011 (26)
  • 2010 (25)
  • 2009 (68)