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?
Pause all torrents while deluge isn't running
Re: Pause all torrents while deluge isn't running
You either need to e.g from command line start deluged and then right after set all torrents to paused e.g like this:
(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.
Code: Select all
deluged; deluge-console "pause *"
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.
Re: Pause all torrents while deluge isn't running
Could you give me the command for windows? I'm using deluge 1.3.15 btw
Re: Pause all torrents while deluge isn't running
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:
Then to pause all torrents run:
If you need host, port, user and/or password, then change the following to yours:
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:
(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.
If the deluged daemon isn't running yet, then start it:
Code: Select all
"C:\Program Files (x86)\Deluge\deluged.exe"
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 *"
Code: Select all
"C:\Program Files (x86)\Deluge\deluge-console.exe" "config -s max_active_limit 0"
Note, untested, as not at home now where I can check it in a windows VM.