Project

General

Profile

Actions

Bug #297

closed

crash, probably due to file descriptor leak

Added by Marc Dequènes almost 12 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2012-06-02
Due date:
% Done:

0%

Estimated time:
Patch Available:
No
Found in Versions:
Confirmed:
No
Branch:
Security:
No
Help Needed:
No

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).


Related issues 1 (0 open1 closed)

Is duplicate of Bip - Bug #261: Failed SSL handshake causes bip to write to a random socket, and never close the connectionResolvedPierre-Louis Bonicoli2011-11-10

Actions
Actions #1

Updated by David Chiluk over 10 years ago

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

Actions #2

Updated by David Chiluk over 10 years ago

I've uploaded debdiffs with the fix to bug#261 to launchpad, fixes should be available in precise, quantal, raring, and saucy shortly.

https://bugs.launchpad.net/ubuntu/+source/bip/+bug/1247888

This can be closed as a duplicate of 261.

Actions #3

Updated by Marc Dequènes over 10 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF