Bug #297
closed
crash, probably due to file descriptor leak
Added by Marc Dequènes over 12 years ago.
Updated about 11 years ago.
Description
bip just crashed:
02-06-2012 11:41:24 ERROR: fopen(/srv/bouncer/logs/user/oftc/2012-06/#chan.02.log) Too many open files
02-06-2012 11:41:24 ERROR: Unable to find/create logfile for '#chan'
02-06-2012 11:42:19 ERROR: fopen(/srv/bouncer/logs/user/oftc/2012-06/#chan.02.log) Too many open files
02-06-2012 11:42:19 ERROR: Unable to find/create logfile for '#chan'
02-06-2012 11:42:22 FATAL: accept failed: Too many open files
As there are only 2 users in my configuration right now, i fail to see how it could result in reaching such limit (1024 default).
I am getting a similar if not identical error on bip versioned 0.8.8-1ubuntu0.2 on Ubuntu 12.04. It looks like I'm being port probed by someone, and that's what's causing the descriptor leak in bip. If i disable the open bip port from being accessible from the internet I don't get this crash.
If anyone comes up with a patch or fix, I'll gladly integrate/push it into Ubuntu.
07-11-2013 05:15:58 ERROR: Error on fd 1020 (state 3)
07-11-2013 05:15:58 ERROR: client read_lines error, closing...
07-11-2013 05:16:11 ERROR: Error on fd 1021 (state 3)
07-11-2013 05:16:11 ERROR: client read_lines error, closing...
07-11-2013 05:16:11 ERROR: Error on fd 1022 (state 3)
07-11-2013 05:16:11 ERROR: client read_lines error, closing...
07-11-2013 05:16:11 WARNING: Can't open/create /home/chiluk/.oidentd.conf
07-11-2013 05:16:22 ERROR: fd 1023: Connection lost
07-11-2013 05:16:22 ERROR: Error while reading on fd 1023
07-11-2013 05:16:22 ERROR: client read_lines error, closing...
07-11-2013 05:16:22 ERROR: Error in SSL handshake.
07-11-2013 05:16:22 ERROR: Error on fd 1023 (state 3)
07-11-2013 05:16:22 ERROR: client read_lines error, closing...
07-11-2013 05:16:22 FATAL: accept failed: Too many open files
- Status changed from New to Rejected
Also available in: Atom
PDF