Jump to content

RuTorrent

From Pulsed Media Wiki


ruTorrent is a web interface for rTorrent. It runs as a PHP application on the same server as your rTorrent process and communicates with it over an XMLRPC socket. On Pulsed Media seedboxes, ruTorrent is the primary way users manage their torrents.

ruTorrent is not a torrent client. It is a separate program that sends commands to a running rTorrent instance. rTorrent does the actual downloading and uploading. ruTorrent gives you a browser-based interface to control it: add torrents, manage files, monitor progress. Speed limits on a Pulsed Media seedbox are set in your own rTorrent settings file instead, as the speed limit section shows. If ruTorrent goes down, rTorrent keeps running and your torrents continue seeding.

The project is open-source under the GNU General Public License v3 (GPLv3).

How ruTorrent works on PM seedboxes

Each user on a PM seedbox has their own ruTorrent installation at ~/www/rutorrent/. It connects to your personal rTorrent process through a Unix socket at ~/.rtorrent.socket using the SCGI protocol.

Access ruTorrent at:

https://servername.pulsedmedia.com/user-username/rutorrent/

Log in with your seedbox username and password (same credentials as SFTP and the welcome page). The connection is protected by htpasswd authentication. Nginx handles the front-facing HTTPS connection and proxies requests to your per-user lighttpd instance, which serves ruTorrent's PHP.

ruTorrent loads automatically when you open your seedbox web panel. No setup required.

Adding torrents

  • Upload a .torrent file through the ruTorrent interface (click the add torrent button or drag and drop)
  • Paste a magnet link or .torrent URL
  • Drop .torrent files into ~/watch/ via SFTP for automatic addition
  • Use RSS feeds with filters to download new releases automatically

Downloaded files are stored in ~/data/. Transfer them to your local machine using SFTP, HTTPS, rsync, or Rclone. See Downloading from seedbox.

Speed limit menu missing in ruTorrent: set an rTorrent limit that lasts

Two lines in your own rTorrent settings file give you an upload or download limit that holds through every rTorrent restart. On Pulsed Media seedboxes the speed menu in ruTorrent's status bar and the Connection page in its settings are switched off, so that file is where a lasting limit goes.

  1. Over SFTP or SSH, open ~/.rtorrent.rc.custom in your home directory, or create it if it is not there. rTorrent reads this file every time it starts.
  2. Add one line for each direction you want to limit. The number is in KiB/s, and 0 means no limit. This example caps upload at 10240 KiB/s (10 MiB/s, about 84 Mbit/s) and leaves download unlimited:
    throttle.global_up.max_rate.set_kb = 10240
    throttle.global_down.max_rate.set_kb = 0
  3. Restart rTorrent from the panel, as Restarting rTorrent describes, then reload ruTorrent after a couple of minutes.
  4. Check ruTorrent's status bar. The Limit value under upload and under download shows the limit in use; no means none.

Where your panel has a Configure tab, its rTorrent custom settings box edits the same file and keeps the previous version. If the box answers that your password was not accepted, edit the file over SFTP instead.

To go back to no limit, delete the lines and restart rTorrent. Setting the same values in the rTorrent console works at once, but only until the next restart. If Pulsed Media has set an upload limit on your account, that limit is applied in place of your own upload line.

If you also run qBittorrent (turned on from the panel's app list), it has its own global limits under Options, Speed, Global Rate Limits, also in KiB/s with 0 for unlimited.

Every Pulsed Media seedbox lets you set your own rTorrent options in this file, and over 20 watchdogs restart rTorrent and the other services if they crash. M1000 seedboxes start at 6.99 € monthly excl. VAT for 2 TB of RAID5 storage and 1 Gbps networking, with a 14-day money-back guarantee on the first order. See the M1000 plans.

Plugins

ruTorrent's plugin system is its main advantage over qBittorrent and Deluge, which have fewer extensions. PM seedboxes ship with a standard set of plugins, and you can install additional ones via SSH.

Plugins shipped on PM seedboxes

  • hddquota — displays your disk usage and quota in the ruTorrent interface. Shows how much space you have used and how much remains.
  • unpack — automatically extracts archived torrents (.rar, .zip) after download completes.
  • RSS — subscribe to RSS feeds from trackers. Set regex filters to automatically download matching releases. Useful for keeping up with TV series or specific uploaders.
  • ratio — set seeding ratio rules per torrent or per group. Automatically stop or remove torrents after reaching a target ratio.
  • theme — switch between visual themes. MaterialDesign is the default on PMSS.
  • _getdir — retrieve directory listings from the server through the ruTorrent interface.
  • screenshots — capture screenshots from video files in your torrent library.

Additional plugins you can install

  • autodl-irssi — monitors IRC announce channels on private trackers and grabs new torrents matching your filters automatically. This is a key advantage of rTorrent over qBittorrent or Deluge for private tracker users. autodl-irssi only works with rTorrent and ruTorrent.
  • mediainfo — display technical metadata (codec, resolution, bitrate) for media files.
  • spectrogram — generate audio spectrograms, required by some music trackers for upload proof.
  • filemanager — browse, rename, and manage files on your seedbox through the web interface.

Install additional plugins by cloning their repository into ~/www/rutorrent/plugins/ via SSH.

The XMLRPC connection

ruTorrent talks to rTorrent through XMLRPC, a protocol for remote procedure calls encoded in XML. The connection happens over a local Unix socket, not over the network.

The flow:

  1. rTorrent opens a SCGI socket at ~/.rtorrent.socket
  2. ruTorrent reads its configuration from ~/www/rutorrent/conf/config.php
  3. When you click something in ruTorrent (add torrent, set speed limit, remove torrent), it sends an XMLRPC command through the socket
  4. rTorrent executes the command and returns the result
  5. ruTorrent displays the updated state in your browser

This separation means rTorrent keeps running independently of ruTorrent. If the web server restarts, your torrents are unaffected. You can also control rTorrent directly from the command line via SSH if needed (see Accessing rTorrent console).

When to choose ruTorrent

ruTorrent (with rTorrent) is the right choice when:

  • You use private trackers and want autodl-irssi for automated snatching from IRC announce channels
  • You want the largest plugin ecosystem of any seedbox web interface
  • You manage hundreds or thousands of torrents (rTorrent scales better than the alternatives)
  • You want RSS automation with regex filtering
  • You need spectrogram or mediainfo plugins for music tracker uploads

ruTorrent is the default interface on all PM seedbox plans. It is already running when your account is provisioned. That includes the free plans, so ruTorrent can be tried without installing or configuring anything.

When to consider alternatives

  • qBittorrent if you want a more modern web interface, need sequential downloading for media preview, or run Sonarr/Radarr with the simplest possible integration
  • Deluge if you prefer its label system or need execute-on-completion scripts

All three clients are available on every PM seedbox plan. Your downloaded files stay in ~/data/ regardless of which client you use.

Troubleshooting

No speed limit menu or Connection tab in ruTorrent: Both are switched off on Pulsed Media seedboxes. Set a lasting limit as the speed limit section shows.

A peer you banned keeps connecting: ruTorrent's Ban works in one torrent and does not refuse new connections the peer opens to you. Keep its address out of every torrent as the rTorrent IP filter section shows.

ruTorrent shows 0 torrents but rTorrent is running: The XMLRPC connection between ruTorrent and rTorrent may be broken. First check that rTorrent is actually running: connect via SSH and run screen -r rtorrent. If rTorrent is not running, restart it from the panel's ⚙ Configure tab (the welcome page on a panel without Configure) or wait for the cron watchdog to restart it automatically. If rTorrent is running, verify the socket exists: ls -la ~/.rtorrent.socket. A missing socket means rTorrent started without SCGI configured or the socket was removed. Restarting rTorrent from the panel recreates it.

ruTorrent shows "bad response from server" or plugin errors: Several possible causes. Check disk quota first — run quota via SSH or check the welcome page. A full quota prevents PHP from writing temporary files. If quota is fine, check that rTorrent is running (screen -r rtorrent). A crashed rTorrent process produces the same error. Also check for PHP errors in ~/www/rutorrent/ — a broken plugin can cause this.

ruTorrent loads but is slow: On shared servers, I/O contention during peak hours can slow the web interface. The underlying rTorrent process continues at full speed. If slowness persists, check whether you are running multiple torrent clients simultaneously (rTorrent + qBittorrent + Deluge), which divides server resources.

ruTorrent keeps loading but your torrents still seed: A page that never finishes loading does not mean your torrents stopped. ruTorrent and rTorrent are separate programs: rTorrent does the seeding, and the ruTorrent page only shows it, so your torrents can keep seeding while the page spins. Work through these checks in order:

  1. Open ruTorrent in a private window or another browser. That helps rule out a stale cache or a browser extension.
  2. Check your disk quota: run quota via SSH or look at the welcome page. A full quota is a known cause of a broken ruTorrent page (see the "bad response" entry above).
  3. On the panel's Welcome tab, look at the ruTorrent tile under Your apps. If it shows rTorrent as not running, press Start. After a start or restart, give it a couple of minutes, then reload ruTorrent. Restarting rTorrent has the details.
  4. If you read your web server's log, ~/.lighttpd/error.log, lines such as connect …/php.socket-1: Connection refused (with any number) are normal. The web server writes one just before it starts another PHP worker, so on their own they do not explain a page that will not load.
  5. Still loading a few minutes later, with quota fine and rTorrent running? Open a support ticket with the time it started and whether a private window behaved the same. Support can then check the server.

On every Pulsed Media seedbox, rTorrent and ruTorrent come installed and running, and a watchdog starts rTorrent again if it crashes. M1000 seedboxes start at 6.99 € per month excl. VAT for 2 TB of RAID5 storage on a 1 Gbps port, with a 14-day money-back guarantee on the first order. See the M1000 plans.

See also