Opened 6 years ago

Closed 6 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 6 years ago.
core.conf
sqnY.thing.txt (20.1 KB) - added by LaserEyess 6 years ago.
example of crash

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by LaserEyess

core.conf

Changed 6 years ago by LaserEyess

example of crash

comment:1 Changed 6 years ago by LaserEyess

  • Priority changed from major to critical

comment:2 Changed 6 years ago by LaserEyess

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 Changed 6 years ago by LaserEyess

  • Keywords open files crash added
  • Priority changed from critical to major
  • Resolution set to Upstream
  • Status changed from new to closed

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.