Pause all torrents while deluge isn't running

General support for problems installing or using Deluge
Post Reply
Loggy
New User
New User
Posts: 3
Joined: Fri Oct 20, 2017 2:56 pm

Pause all torrents while deluge isn't running

Post by Loggy »

Deluge crashes from time to time since I have to many torrents in it.

How can I pause all torrents while deluge isn't running (or starting deluge with all torrents paused?
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Pause all torrents while deluge isn't running

Post by mhertz »

You either need to e.g from command line start deluged and then right after set all torrents to paused e.g like this:

Code: Select all

deluged; deluge-console "pause *"
(New deluge-2 needs those double-quotes for pause/resume i believe when using globbing. Add 'connect <host:port> <user> <pass>;' if needed.)

You could also do it from the GUI by pressing 'ctrl+a' and selecting pause all.

Or, the only way to kinda do specifically what you're asking for, is you could change core.conf without deluge running and then start deluge afterwards. The settings I'm referring to amending, is the queue settings, so if they all 3 support to be set at 0, and if not, then 1 and you would only have 1 active torrent when starting.
Loggy
New User
New User
Posts: 3
Joined: Fri Oct 20, 2017 2:56 pm

Re: Pause all torrents while deluge isn't running

Post by Loggy »

Could you give me the command for windows? I'm using deluge 1.3.15 btw
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Pause all torrents while deluge isn't running

Post by mhertz »

If you're using the deluged daemon(thinclient-mode) and not classic-mode, then here's some windows commands:

If the deluged daemon isn't running yet, then start it:

Code: Select all

"C:\Program Files (x86)\Deluge\deluged.exe"
Then to pause all torrents run:

Code: Select all

"C:\Program Files (x86)\Deluge\deluge-console.exe" "pause *"

If you need host, port, user and/or password, then change the following to yours:

Code: Select all

"C:\Program Files (x86)\Deluge\deluge-console.exe" "connect <host:port> <user> <pass>; pause *" 
Alternatively, as I said before you could e.g change 'max_active_limit' to 0 in core.conf(should be in '%appdata%\Roaming\Deluge' ) and start deluge afterwards, or with deluged already running:

Code: Select all

"C:\Program Files (x86)\Deluge\deluge-console.exe" "config -s max_active_limit 0" 
(Again, if needed, add host, port, user and/or pass, as shown previously.)

Note, untested, as not at home now where I can check it in a windows VM.
Post Reply