Ratio not working, always stops at 1.0

saroos1

Member
May 25, 2018
718
0
16
I have had this problem a while now but have not been able to fix it.

I have ratio set at 2.0: "200, 200, 20, 1440, stop" in rutorrent. But it only seeds to 1.0 and stops. The time limit do work but not the ratio. So the groups seems to be working but not the ratio.

I have a hard time debugging this as i don't know how it works. I assume that all this data is sent to rtorrent to keep track of but i don't know how to check what settings a torrent have in there. I'm also unsure how i shall setup .rtorrent.rc

my rtorrent.rc (i have tested many different settings here but with no success, this is my current one)
http://pastebin.com/bnb01fYw

I have ruTorrent 3.6, rtorrent 0.9.2 and libTorrent 0.13.2

Hope someone can help me with this, thank you!
 

simur612

Member
May 25, 2018
879
0
16
Please, attach screenshot where i will can see
1) Torrent size and it ratio group
2) Ratio group settings
3) When torrent was started for seeding and when it was stopped (tab of the 'History' plugin).
 

simur612

Member
May 25, 2018
879
0
16
Looks strange. If you clear 'Time' setting, then ruTorrent must use native rtorrent's ratio system.
Sorry, but i can't help. E.g. i can, but for this i must have access to your rtorrent console. I think, this is not acceptable for you.
Try to check /tmp/rtorrent.log, try restart rtorrent and various shaman's dance...
 

simur612

Member
May 25, 2018
879
0
16
Catch it.
Reason is a simple. You use one rtorrent instance for several users. This is a bad practice. Every user has his own ratio settings. As result, these settings are changed every time, when someone load ruTorrent.
Now you can
1) Use separate rtorrent instance for every user. IMHO, this is a right way. Or
2) Disable user's profiles (see variable $forbidUserSettings in the config.php). But in this case all users will operate with a one profile. This is a not good thing. Or
3) Enable plugins (such as ratio) for one user only. Don't forget to restart rtorrent in this case.

P.S. You use an old version of ruTorrent, try to update it from svn. A lot of errors was fixed during last 7 month.
P.P.S. Don't forget to change passwords.
 

saroos1

Member
May 25, 2018
718
0
16
Oh you are great!

Yes we have a odd way of using rutorrent, we want to have one common torrent client so we don't download the same files. It has been working good so far smiley.gif ill look into option 3 if thats possible if not we have to try 1.

Good idea with the SVN i shall look into that!

Do you have a donation button or link?

Many thanks!!
 

simur612

Member
May 25, 2018
879
0
16
ill look into option 3 if thats possible if not we have to try 1.
But should warn you - this situation may occurs with other plugins too. Such as 'throttle', 'extratio', 'scheduler', etc. If plugin make some automatization and this automatization has a user-defined parameters - then we have our case here.

Do you have a donation button or link?
Thanks, check start page of the project - http://code.google.com/p/rutorrent/
 

saroos1

Member
May 25, 2018
718
0
16
I tried to avoid this by not allowing anyone but me to edit the settings with canChangeOptions for these plugins. But i guess that wont help so i have to disable them completely. But that also disable any other than myself to use these plugins :/


Maybe a feature for the future smiley.gif
 

saroos1

Member
May 25, 2018
718
0
16
Sent a small donation now, hope its enough.

But a "useGlobalSettings" option per plugin in plugin.ini would be handy, don't sound like a terrible hard feature. But what do i know smiley.gif Just that the plugin uses a common settings folder for all users.
 

simur612

Member
May 25, 2018
879
0
16
I tried to avoid this by not allowing anyone but me to edit the settings with canChangeOptions for these plugins. But i guess that wont help so i have to disable them completely.
Yes, you must disable plugins completely. Otherwise default plugin settings will be applied.

But a "useGlobalSettings" option per plugin in plugin.ini would be handy,
See point 2 above (about $forbidUserSettings). If you set it to true then all settings of all plugins will be stored in the one place. Separate configuration is too complex. But for normal work you must have one rtorrent instance for one user, because rtorrent is a single-user program. If you want to share your torrents with someone, then you must use something like plugin 'multirpc' (http://forums.rutorrent.org/index.php?topic=1647.0). If you want to try it, i may give to you a free trial access.
 

saroos1

Member
May 25, 2018
718
0
16
After checking i think its only the cookies we want to keep per user, and maybe UI settings all the rest could probably be shared for us.

multirpc sounds nice, but i think it might be a overkill for us. Hope ratios continues to work now and it should be okey.