Ticket #80 (closed task: fixed)

Opened 2 years ago

Last modified 10 months ago

Connection reset by peer and CPU usage

Reported by: anonymous Owned by: daelstorm
Priority: major Milestone:
Component: nicotine Version:
Keywords: Cc:

Description

Nicotine+ ? (first tried 1.2.4.1) - 1.2.6
Windows XP SP2 CZ
It does not matter what version of Python (2.4/2.5)/pyGTK/GTK+ (2.8/2.10) is used.
It does not matter if Nicotine+ is run as a native exe program (official installer) or if it's run from source.

After running for some time, especialy if there are lots of search results or some user disconects, Nicotine+ starts using 100% of CPU, it's still working (ie. it's still downloading), but it's responding very slowly. If I enable Show debug info, this message is repeated infinitely and Nicotine becomes unresponsive:

(10054, 'Connection reset by peer')
pynicotine.slskmessages.ConnectError {'err': <socket.error instance
at 0x03ABE210>,'connobj':
<pynicotine.slskproto.PeerConnection instance at 0x017F13F0>}
17:41:21 Removed connection closed by peer:
<socket._socketobject object at 0x01754DE0>
('<SOME IP>', 50223)

Attachments

Change History

in reply to: ↑ description   Changed 2 years ago by anonymous

Replying to anonymous:

Nicotine+ ? (first tried 1.2.4.1) - 1.2.6
Windows XP SP2 CZ
It does not matter what version of Python (2.4/2.5)/pyGTK/GTK+ (2.8/2.10) is used.
It does not matter if Nicotine+ is run as a native exe program (official installer) or if it's run from source. After running for some time, especialy if there are lots of search results or some user disconects, Nicotine+ starts using 100% of CPU, it's still working (ie. it's still downloading), but it's responding very slowly. If I enable Show debug info, this message is repeated infinitely and Nicotine becomes unresponsive: {{{ (10054, 'Connection reset by peer') pynicotine.slskmessages.ConnectError? {'err': <socket.error instance at 0x03ABE210>,'connobj': <pynicotine.slskproto.PeerConnection? instance at 0x017F13F0>} 17:41:21 Removed connection closed by peer: <socket._socketobject object at 0x01754DE0> ('<SOME IP>', 50223) }}}

I have a similiar cpu usage issue, with the same debug message. I'd like to add that there seems to be a connection to this happening when there are files in my download list that have errored for some reason (user logged off, remote file error, etc.). I haven't done any conclusive testing to "proove" that this is what it causing the cpu spike, but I have noticed a relationship. In particular, when my download list is empty, this doesn't seem to occur.

I'm also on WinXP SP2 (english)

  Changed 20 months ago by daelstorm

  • status changed from new to closed
  • resolution set to fixed

should be fixed in the post-1.2.7.1 subversion repository

  Changed 10 months ago by anonymous

it's not, the only reason I found this entry was a search for this exact same error. latest version.

Add/Change #80 (Connection reset by peer and CPU usage)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.