Bug#631590: znc periodically ends up in cpu-crunching EAGAIN loops

2011-06-25 Thread Michael Welsh Duggan
Package: znc Version: 0.098-2 Severity: normal Every now an then, znc starts taking up 100% of one of my CPUs. When I strace it, I get sequences like the one included below. This cycle can last from a few seconds to many minutes. This seems like undesirable behavior. poll([{fd=4,

Bug#631590: znc periodically ends up in cpu-crunching EAGAIN loops

2011-06-25 Thread Uli Schlachter
Easy way to reproduce: nc -l -p 1230 Then add 127.0.0.1 +6667 as an IRC server (important: ssl!) and see it eat all the CPU time. I'm not yet 100% sure what exactly happens, but it's definitely waiting for the SSL handshake to finish. @Michael: Why are you connecting to a broken SSL server with