Upload during download chokes for no reason

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
jbucanek
Posts: 7
Joined: Wed Jun 29, 2011 12:54 am

Upload during download chokes for no reason

Post by jbucanek »

Greetings,

I've encountered an odd issue with Transmission 3.21 (or maybe this is just the first time I've ever noticed).

I have a number (~50) of seeds active, but most are idle. I started a new download of a freshly seeded file that had one seeder and 20 or more leachers. The transfer starts out like gangbusters, downloading from 13 peers and simultaneously uploading to almost all of the leachers.

Then after a while something strange happens. Even though I have plenty of upstream bandwidth, Transmission stops uploading to any of the peers. My upload speed for that torrent drops to 0 (other files continue to seed, but at very low speeds). The upload status for every peer is something like "peer would like you to upload, but you're not interested (interested and choked)".

Why is Transmission choking all of the peers? I have no shortage of bandwidth. I have all bandwidth limits disabled. Global max connections is 200 peers, max connections for new transfers (whatever that means) is 100 peers. I'm no where close to these limits.

When Transmission does this, I quit Transmission and immediately relaunch it. It will immediately go back to seeding all the peers at full speed. Right now it's DLing @ ~500KB/s, and ULing @ ~800KB/s.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Upload during download chokes for no reason

Post by gunzip »

your problem sounds a lot like this recent thread, where this issue has been reported by a number of users:

Why no uploading?!

in my experience i had to hack (patch) TR 2.31 because on a private site i frequent Transmission abruptly dropped peers i was uploading to, wrongly marking them as seeds. apparently a recent nightly build fixed the issue.
jbucanek
Posts: 7
Joined: Wed Jun 29, 2011 12:54 am

Re: Upload during download chokes for no reason

Post by jbucanek »

gunzip,

It sounded similar, but I haven't noticed the problem in that thread (files simply not seeding). Maybe they're not uploading when they should and I just haven't noticed...

Follow up: I noticed that the torrent stopped uploading again about 20 minutes after restarting Transmission. This made me think of the "Transfer is stalled when inactive for XXX minutes" setting under Transfers > Management.

So I changed this setting from 20 to 60 minutes, and sure enough it continued to upload for about 60 minutes before stopping again. I just changed the setting to 120 minutes and the transfer immediately started uploading (no relaunch) to all peers. I'm guessing it will upload for another 60 minutes before stopping again.

Now, what does the "Transfer is stalled when inactive for XXX minutes" setting have to do with uploading to the peers of an active download? Nothing about this transfer (upload or download) is stalled by any stretch of the imagination. ;)
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Upload during download chokes for no reason

Post by gunzip »

jbucanek wrote:"Transfer is stalled when inactive for XXX minutes" setting under Transfers > Management.
that must be a Mac thing as i have no such option in Linux with transmission-daemon 2.31. nevertheless, it still sounds odd that a torrent would stop uploading if in fact it is active.

maybe a Mac user can chime in on what the expected behavior should be. it's possible you're seeing a side-effect of the uploading problem.

Edit: btw, there's a related issue in the Mac Support area of the forum here: viewtopic.php?f=4&t=11809
jbucanek
Posts: 7
Joined: Wed Jun 29, 2011 12:54 am

Re: Upload during download chokes for no reason

Post by jbucanek »

Update:

I have to retract my previous theory that this phenomenon is directly related to the stalled transfer time. I changed this setting to 120 minutes, but my download stopped uploading again within an hour. I currently have this setting disabled completely, and the upload still stops within an hour.

The only way to restart it seeding to other peers is to stop and relaunch the application.

I'll try downgrading to an earlier version of Transmission and see if I can observe the same behavior.
jbucanek
Posts: 7
Joined: Wed Jun 29, 2011 12:54 am

Re: Upload during download chokes for no reason

Post by jbucanek »

Update:

Instead of going backwards, I decided to try going forwards instead. I downloaded and launched (Mac) Transmission 2.32 build #4421 (svn rev 12527). The upload during download worked for well over and hour without stopping. I couldn't test longer, because the download finished.

So maybe the problem is fixed already...
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

Re: Upload during download chokes for no reason

Post by josephj »

I have noticed similar behavior for a long time. I'm currently using Transmission-gtk 3.21 from the ppa (Linux - kubuntu lucid ). When I am seeding several torrents successfully with reasonable bandwidth utilization and I start a new download that uses a significant portion of available download bandwidth, all the seeders either stop or go to extremely low bandwidth utilization. If I pause the download, the seeders perk up almost immediately. This happens when I'm nowhere near my limit of available peers. I'm currently set for 150 overall and 75 per torrent. I have 2GB ram and 1.67GB swap. The swap does get used, but never fills up any more.
Post Reply