Opened 7 years ago

Closed 7 years ago

#3152 closed bug (Upstream)

1000s of connections stuck on CLOSE_WAIT

Reported by: LaserEyess Owned by:
Priority: major Milestone: needs verified
Component: libtorrent Version: 1.3.15
Keywords: TCP, open files, crash Cc:

Description

On announcing, Deluge is not closing the file descriptors for TCP connections and frequently crashing due to 'too many open files'. As far as I can tell, this happens with every tracker, on every announce. After 10 or so announces deluge has too many open files and it subsequently crashes when it tries to open a new file descriptor for a TCP connection.

Attachments (2)

core.txt (2.4 KB ) - added by LaserEyess 7 years ago.
core.conf
sqnY.thing.txt (20.1 KB ) - added by LaserEyess 7 years ago.
example of crash

Download all attachments as: .zip

Change History (5)

by LaserEyess, 7 years ago

Attachment: core.txt added

core.conf

by LaserEyess, 7 years ago

Attachment: sqnY.thing.txt added

example of crash

comment:1 by LaserEyess, 7 years ago

Priority: majorcritical

comment:2 by LaserEyess, 7 years ago

I'm updating this priority because this consistently crashes deluge even with no plugins enabled. I have no idea what is causing this.

comment:3 by LaserEyess, 7 years ago

Keywords: open files crash added
Priority: criticalmajor
Resolution: Upstream
Status: newclosed

The reason for the CLOSE_WAIT connections is a libtorrent bug in 1.1.6, will be fixed in 1.1.7, see https://github.com/arvidn/libtorrent/issues/2730

Note: See TracTickets for help on using tickets.