-
Notifications
You must be signed in to change notification settings - Fork 174
Running Flood with >8k torrents locks rTorrent in IO loop #320
Comments
By this I mean when looking at the strace, it was polling every file with Also, I did confirm my install worked fine for an instance with a sane number of torrents. |
Thanks for the additional information! I'll look into this. |
Is there any way to trace the XMLRPC calls that are sent to rtorrent? I'm not too familiar with nodejs, but I'd be happy to perform any troubleshooting, even if it means applying a patch file or something. |
@kannibalox Sorry for the delay, I totally forgot to reply to you. You can see the XMLRPC calls that are sent to rTorrent by checking out the contents of this file: https://github.com/jfurrow/flood/blob/master/server/util/scgi.js. The XML is generated here and stored in the variable So you could write let fs = require('fs');
fs.appendFile('/path/to/file', xml); Specifically line number 39 is where the request is sent to rTorrent. |
@kannibalox It just dawned on me that this bug is probably caused by requesting If you wouldn't mind testing this for me, I'd be super grateful. Try commenting out two lines in this file: https://github.com/jfurrow/flood/blob/master/shared/constants/torrentGeneralPropsMap.js (yes this file is messy AF, I'm working on cleaning this up right now): line number 49 and line number 120. You'll need to kill and restart the Flood server for your changes to take effect. There might be other properties that cause I/O here also... |
I did the change you propose and the same behavior. |
Hello, any news on this? |
Any news on this - almost 2 years now :) |
It's an extremely hard problem to solve, feel free to give it a try yourself. I'm more than willing to lock up my instances in pursuit if need be. |
A user wrote:
The text was updated successfully, but these errors were encountered: