Rutorrent crashes when Disk Quota is implemented (Only for particular user)

saroos1

Member
May 25, 2018
718
0
16
Hello,

I'm new to this. Currently running Ubuntu and I followed the guide here : http://forums.rutorrent.org/index.php?topic=608.0 which worked flawlessly.

I could add any number of torrents and all would be downloaded succesfully.

Now, when i add a quota through Webmin 1.570, the moment the torrent is downloading and is reaching the quota, it would cause rutorrent to stop working. I would be able to login to rutorrent, and would still be asked for my username and password, however once logged in, it says :

Quote
[28.12.2011 14:00:20] No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
[28.12.2011 14:00:23] Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Error: Could not connect: (111) Connection refused​


If I were to use another username to login, rutorrent would work without any hitch, however once the disk quota is implemented and is reaching its limits, the said rutorrent would produce the error as above.

After removing the quota, and rebooting the server, rutorrent works once again. How do i solve this? Implementing disk quota is really important for my setup.
 

randac56

Member
May 25, 2018
915
0
16
Quote
After removing the quota, and rebooting the server, rutorrent works once again.​


This is a not *ruTorrent* problem really. *rTorrent* crashes, not ruTorrent.

Quote
How do i solve this? Implementing disk quota is really important for my setup.​


You may ask Wonslung about 'quotaspace' plugin. This plugin is commercial. Or you may write your own plugin.
 

saroos1

Member
May 25, 2018
718
0
16
Thanks randa56. I've pmed Wonslung and am waiting for his reply.

I apologize as i'm still new to this, and now i know that rutorrent doesn't crash, instead, rtorrent does.

Is there any remedy to this?
 

lisas4567

Member
May 25, 2018
773
0
16
if you receive a reply from wonslung i'd like to know what information you obtained as i've sent a pm and email, and not recieved word back. thanks smiley.gif
 

saroos1

Member
May 25, 2018
718
0
16
I haven't received any reply as of yet.

Anyways, i found another way to go about this. It involves creating a virtual mount as you can find it here:

http://www.linuxquestions.org/questions/linux-server-73/directory-quota-601140/

To reflect your disk quota from the plugin, simply remove the plugin entry from the main .php file and add the entry back to the .php file in your user directory reflecting the directory of your mount. It'll display the disk space / quota correctly then. Cheers.

Edit: Refer here http://code.google.com/p/rutorrent/wiki/PluginDiskspace

The NOTE part should give you the clue on how to display the correct quote / disk space.
 

randac56

Member
May 25, 2018
915
0
16
The virtual stuff seems intersting. You managed hitting the quota without rtorrent crashing?
 

saroos1

Member
May 25, 2018
718
0
16
Quote
The virtual stuff seems intersting. You managed hitting the quota without rtorrent crashing?​


Yes, so far rtorrent is not crashing. The torrent automatically stops downloading once the disk space is nearly used up.

I am still testing it if its unstable / buggy.