Very slow start-up of Deluge in Windows 10

Specific support for Deluge on Microsoft Windows OS
vlix
Member
Member
Posts: 13
Joined: Fri Oct 23, 2015 4:00 pm

Very slow start-up of Deluge in Windows 10

Post by vlix »

Hi all,

Since upgrading my PC to Windows 10 (x64), I'm experiencing extremely slow start-up times for Deluge (exactly 58 seconds before the GUI appears, every time). After the slow start-up, Deluge works fine. It's a clean install of Deluge, and no torrents need to be loaded. The GUI is running in classic mode. I've tried to find logging, but can't find any. I thought there was supposed to be a deluge.log in c:\users\<profile>\appdata\roaming\deluge, but there isn't. Things I've tried so far (but which have made no difference):

- Turned off firewall
- Turned off antivirus
- Started Deluge with administrative privileges
- Tried both the Python 2.6 version and the Python 2.7 version of Deluge 1.3.12-1.
- Tried the Python 2.6 version of Deluge 1.3.9.

I'm out of ideas... does anyone here have any ideas what could be wrong? Thanks!
fullkontakt

Re: Very slow start-up of Deluge in Windows 10

Post by fullkontakt »

Same exact problem here... Takes at least 3-4 minutes to start up. Sometimes longer. My PC is very fast, built for Gaming.
manu4000rocourt
New User
New User
Posts: 4
Joined: Fri Oct 30, 2015 10:54 am

Re: Very slow start-up of Deluge in Windows 10

Post by manu4000rocourt »

Did you turn off the windows defender ?
urdoomd

Re: Very slow start-up of Deluge in Windows 10

Post by urdoomd »

I only heard about deluge after I upgraded to Windows 10, but I did run into a ton of problems after doing the "upgrade" to Windows 10. The upgrade is only required to reserve your copy of the OS and afterwards your hardware ID (from the motherboard) is stored on the MS servers you can download the media creation tool to make your own copy and do a clean install, then it will automatically activate itself the first time you connect to the internet (or at least it's supposed to). I would highly recommend you do a clean install from USB or DVD if you haven't already (since this thread is already a week old) and let it do its updates before you try installing anything. Check for updates, reboot when necessary and keep checking for updates until it's done. For me, deluge starts up in less than a few seconds. I don't know if I'm allowed to post links here because I haven't read the guidelines yet (just created the account to write this) but if you search "download windows 10" in google, it should be one of the first, if not the first link that pops up. Just make sure it's a Microsoft web link. Here's the direct link to the tool for your convenience which the admins can remove if it's not allowed: https://www.microsoft.com/en-ca/softwar ... /windows10

As always, before you format there are a few things to remember, and even before downloading this tool.

1. Make sure you backup anything you need to keep to an external hard drive or a separate partition since formatting is highly recommended also.
2. Check the version of windows you are running (32 or 64bit version) IIRC you SHOULD be able to upgrade from the 32bit to 64bit version, but not vice versa. (64 is better anyway if you have a supported CPU)
3. If you have not upgraded to windows 10 yet, do the UPGRADE first and then do a clean install or your "copy" will not be reserved for activation. You cannot activate a clean install unless you've done the upgrade first because MS verifies whether you are eligible for the upgrade based on the currently installed copy of windows you are running.
4. After you've done the upgrade, check which version of windows has been installed and then go back to the media creation tool from the link above and download the appropriate version and then you'll be able to do a clean install.

I'm assuming you know what you're doing if you need a clean install so these basic steps are for anyone new coming into this thread who might not have done the upgrade yet.

This seems like a bit of a stretch to get a slow program to start faster though and it's obviously not guaranteed to work.

Good luck
vlix
Member
Member
Posts: 13
Joined: Fri Oct 23, 2015 4:00 pm

Re: Very slow start-up of Deluge in Windows 10

Post by vlix »

Thanks for the replies.

@ manu4000rocourt: Windows Defender is disabled on my system.

@ urdoomd: I am, in fact, already running a clean install of Windows 10.
lunch
New User
New User
Posts: 5
Joined: Sun Nov 01, 2015 1:52 am

Re: Very slow start-up of Deluge in Windows 10

Post by lunch »

You might find out the culprit by using Process Monitor.
vlix
Member
Member
Posts: 13
Joined: Fri Oct 23, 2015 4:00 pm

Re: Very slow start-up of Deluge in Windows 10

Post by vlix »

lunch wrote:You might find out the culprit by using Process Monitor.
I've made a trace of Deluge starting up with Process Monitor, but I don't really have the expertise to make sense of it. There is no obvious time when deluge.exe stops functioning or is waiting for a timeout or anything. Basically deluge.exe is doing all sorts of activities for about a minute, after which it finally actually starts. Some of it does seem repetitive, like it's doing the same thing over and over again.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Very slow start-up of Deluge in Windows 10

Post by Cas »

lunch
New User
New User
Posts: 5
Joined: Sun Nov 01, 2015 1:52 am

Re: Very slow start-up of Deluge in Windows 10

Post by lunch »

To get a clean report:
  • Start Process Monitor, then Deluge.
  • Once Deluge has started, in Process Monitor stop capturing (Ctrl+E).
  • Then include only deluge.exe (in "Process Name" column, right-clic on deluge.exe > Include "deluge.exe")
To analyse the events:
  • You may guess long operations by scrolling back and forth through "Time of Day" column (requires a bit of dexterity!)
  • By using "Tools > File Summary..." you could see if there is an I/O bottleneck
vlix
Member
Member
Posts: 13
Joined: Fri Oct 23, 2015 4:00 pm

Re: Very slow start-up of Deluge in Windows 10

Post by vlix »

OK, so I did a completely fresh, virginal install of Deluge 1.3.12-1-win32-py2.6-setup.exe. Then I logged the startup process with deluge -L debug -l delugelog.txt. See below for what came out.

Basically, it starts, does a bunch of stuff for a second, then logs absolutely nothing for 20 seconds, then does some more stuff, then logs absolutely nothing for another 37 seconds, then does some more stuff, then freezes again for 18 seconds, then finally it's done.

Code: Select all

[INFO    ] 15:57:45 main:125 Deluge ui 1.3.12
[DEBUG   ] 15:57:45 main:126 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': 'c:\\temp\\delugelog.txt', 'config': None}
[DEBUG   ] 15:57:45 main:127 args: []
[DEBUG   ] 15:57:45 main:128 ui_args: []
[INFO    ] 15:57:45 main:131 Starting ui..
[DEBUG   ] 15:57:45 ui:129 UI init..
[DEBUG   ] 15:57:45 configmanager:111 Getting config 'ui.conf'
[DEBUG   ] 15:57:45 config:197 Setting 'default_ui' to gtk of <type 'str'>
[DEBUG   ] 15:57:45 config:391 Config C:\Users\vlix.SPRINGFIELD\AppData\Roaming\deluge\ui.conf version: 1.1 loaded: {'default_ui': u'gtk'}
[INFO    ] 15:57:45 ui:148 Starting GtkUI..
[WARNING ] 15:57:46 gtkui:207 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[DEBUG   ] 15:57:46 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:57:46 config:197 Setting 'close_to_tray' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_sound_path' to C:\Users\vlix.SPRINGFIELD\Downloads of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'window_width' to 640 of <type 'int'>
[DEBUG   ] 15:57:46 config:197 Setting 'default_load_path' to None of <type 'NoneType'>
[DEBUG   ] 15:57:46 config:197 Setting 'window_y_pos' to 0 of <type 'int'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_email' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'tray_upload_speed_list' to [5.0, 10.0, 30.0, 80.0, 300.0] of <type 'list'>
[DEBUG   ] 15:57:46 config:197 Setting 'show_statusbar' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_popup' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_pass' to  of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'tray_download_speed_list' to [5.0, 10.0, 30.0, 80.0, 300.0] of <type 'list'>
[DEBUG   ] 15:57:46 config:197 Setting 'window_maximized' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'enable_system_tray' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'show_sidebar' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'show_connection_manager_on_start' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'lock_tray' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'createtorrent.trackers' to [] of <type 'list'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_sound' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'tray_password' to  of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'focus_add_dialog' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_server' to  of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'start_in_tray' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_tray_blink' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'check_new_releases' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'autoadd_queued' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'pref_dialog_width' to None of <type 'NoneType'>
[DEBUG   ] 15:57:46 config:197 Setting 'autoadd_enable' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'autoconnect_host_id' to None of <type 'NoneType'>
[DEBUG   ] 15:57:46 config:197 Setting 'classic_mode' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'window_pane_position' to -1 of <type 'int'>
[DEBUG   ] 15:57:46 config:197 Setting 'enabled_plugins' to [] of <type 'list'>
[DEBUG   ] 15:57:46 config:197 Setting 'show_rate_in_title' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'pref_dialog_height' to None of <type 'NoneType'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_username' to  of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'interactive_add' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'sidebar_show_zero' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'window_x_pos' to 0 of <type 'int'>
[DEBUG   ] 15:57:46 config:197 Setting 'window_height' to 480 of <type 'int'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_security' to None of <type 'NoneType'>
[DEBUG   ] 15:57:46 config:197 Setting 'connection_limit_list' to [50, 100, 200, 300, 500] of <type 'list'>
[DEBUG   ] 15:57:46 config:197 Setting 'sidebar_position' to 170 of <type 'int'>
[DEBUG   ] 15:57:46 config:197 Setting 'show_new_releases' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'autoconnect' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'choose_directory_dialog_path' to C:\Users\vlix.SPRINGFIELD\Downloads of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'sidebar_show_trackers' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'autostart_localhost' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'show_toolbar' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'autoadd_location' to  of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'enable_appindicator' to False of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'focus_main_window_on_add' to True of <type 'bool'>
[DEBUG   ] 15:57:46 config:197 Setting 'ntf_email_add' to  of <type 'str'>
[DEBUG   ] 15:57:46 config:197 Setting 'signal_port' to 40000 of <type 'int'>
[DEBUG   ] 15:57:46 config:391 Config C:\Users\vlix.SPRINGFIELD\AppData\Roaming\deluge\gtkui.conf version: 1.1 loaded: {'close_to_tray': False, 'ntf_sound_path': u'C:\\Users\\vlix.SPRINGFIELD\\Downloads', 'window_width': 682, 'default_load_path': None, 'window_y_pos': 0, 'ntf_email': False, 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'show_statusbar': True, 'ntf_popup': False, 'ntf_pass': u'', 'show_sidebar': True, 'window_maximized': True, 'enable_system_tray': True, 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'show_connection_manager_on_start': True, 'lock_tray': False, 'createtorrent.trackers': [], 'ntf_sound': False, 'tray_password': u'', 'focus_add_dialog': True, 'ntf_server': u'', 'start_in_tray': False, 'ntf_tray_blink': True, 'check_new_releases': True, 'pref_dialog_height': None, 'autoadd_queued': False, 'pref_dialog_width': None, 'autoconnect_host_id': None, 'classic_mode': True, 'window_pane_position': 694, 'focus_main_window_on_add': True, 'show_rate_in_title': False, 'autoadd_enable': False, 'ntf_username': u'', 'interactive_add': True, 'sidebar_show_zero': False, 'window_x_pos': 0, 'window_height': 480, 'ntf_security': None, 'connection_limit_list': [50, 100, 200, 300, 500], 'sidebar_position': 170, 'show_new_releases': True, 'autoconnect': False, 'choose_directory_dialog_path': u'C:\\Users\\vlix.SPRINGFIELD\\Downloads', 'sidebar_show_trackers': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': u'', 'enable_appindicator': False, 'enabled_plugins': [], 'ntf_email_add': u'', 'signal_port': 40000}
[DEBUG   ] 15:57:46 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:57:46 ipcinterface:181 Processing args from other process: []
[DEBUG   ] 15:57:46 ipcinterface:184 Not connected to host.. Adding to queue.
[DEBUG   ] 15:57:46 sessionproxy:55 SessionProxy init..
[DEBUG   ] 15:57:46 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:06 config:304 Registering function for show_rate_in_title key..
[DEBUG   ] 15:58:06 menubar:53 MenuBar init..
[DEBUG   ] 15:58:06 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:06 toolbar:51 ToolBar Init..
[DEBUG   ] 15:58:06 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:06 listview:192 ListView initialized..
[DEBUG   ] 15:58:06 listview:323 Loading ListView state file: torrentview.state
[DEBUG   ] 15:58:06 torrentview:222 TorrentView Init..
[DEBUG   ] 15:58:06 torrentdetails:443 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 15:58:06 torrentdetails:157 weights: []
[DEBUG   ] 15:58:06 torrentdetails:158 weight of tab: 0
[DEBUG   ] 15:58:06 torrentdetails:193 Trying to insert tab at -1
[DEBUG   ] 15:58:06 torrentdetails:69 parent: None
[DEBUG   ] 15:58:06 torrentdetails:198 Tab inserted at 0
[DEBUG   ] 15:58:06 files_tab:280 Loading FilesTab state file: files_tab.state
[DEBUG   ] 15:58:06 torrentdetails:157 weights: [(0, 'Status')]
[DEBUG   ] 15:58:06 torrentdetails:158 weight of tab: 2
[DEBUG   ] 15:58:06 torrentdetails:193 Trying to insert tab at -1
[DEBUG   ] 15:58:06 torrentdetails:69 parent: None
[DEBUG   ] 15:58:06 torrentdetails:198 Tab inserted at 1
[DEBUG   ] 15:58:06 peers_tab:211 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 15:58:06 torrentdetails:157 weights: [(0, 'Status'), (2, 'Files')]
[DEBUG   ] 15:58:06 torrentdetails:158 weight of tab: 3
[DEBUG   ] 15:58:06 torrentdetails:193 Trying to insert tab at -1
[DEBUG   ] 15:58:06 torrentdetails:69 parent: None
[DEBUG   ] 15:58:06 torrentdetails:198 Tab inserted at 2
[DEBUG   ] 15:58:06 torrentdetails:157 weights: [(0, 'Status'), (2, 'Files'), (3, 'Peers')]
[DEBUG   ] 15:58:06 torrentdetails:158 weight of tab: 1
[DEBUG   ] 15:58:06 torrentdetails:164 Found pos 1
[DEBUG   ] 15:58:06 torrentdetails:193 Trying to insert tab at 1
[DEBUG   ] 15:58:06 torrentdetails:69 parent: None
[DEBUG   ] 15:58:06 torrentdetails:198 Tab inserted at 1
[DEBUG   ] 15:58:06 torrentdetails:157 weights: [(0, 'Status'), (1, 'Details'), (2, 'Files'), (3, 'Peers')]
[DEBUG   ] 15:58:06 torrentdetails:158 weight of tab: 4
[DEBUG   ] 15:58:06 torrentdetails:193 Trying to insert tab at -1
[DEBUG   ] 15:58:06 torrentdetails:69 parent: None
[DEBUG   ] 15:58:06 torrentdetails:198 Tab inserted at 4
[DEBUG   ] 15:58:06 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:06 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:06 sidebar:85 add tab:filters
[DEBUG   ] 15:58:06 filtertreeview:322 nothing selected
[DEBUG   ] 15:58:43 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:43 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:58:43 config:304 Registering function for enable_system_tray key..
[DEBUG   ] 15:58:43 systemtray:132 Enabling the system tray icon..
[DEBUG   ] 15:58:43 config:304 Registering function for enable_appindicator key..
[DEBUG   ] 15:58:43 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:59:01 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:59:01 pluginmanagerbase:65 Plugin manager init..
[DEBUG   ] 15:59:01 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: AutoAdd 1.4 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\autoadd-1.4-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: Execute 1.3 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\execute-1.3-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: Blocklist 1.3 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\blocklist-1.3-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: Extractor 0.4 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\extractor-0.4-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: Label 0.2 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\label-0.2-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: Notifications 0.2 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\notifications-0.2-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: WebUi 0.1 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\webui-0.1-py2.6.egg
[DEBUG   ] 15:59:01 pluginmanagerbase:124 Found plugin: Scheduler 0.2 at c:\program files (x86)\deluge\deluge-1.3.12-py2.6.egg\deluge\plugins\scheduler-0.2-py2.6.egg
[DEBUG   ] 15:59:01 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 15:59:01 configmanager:111 Getting config 'hostlist.conf.1.2'
[DEBUG   ] 15:59:01 config:197 Setting 'hosts' to [('19238bf680b9eee0957f085ddc6591ccf8de7510', '127.0.0.1', 58846, '', '')] of <type 'list'>
[WARNING ] 15:59:01 config:361 Unable to open config file C:\Users\vlix.SPRINGFIELD\AppData\Roaming\deluge\hostlist.conf.1.2: [Errno 2] No such file or directory: 'C:\\Users\\vlix.SPRINGFIELD\\AppData\\Roaming\\deluge\\hostlist.conf.1.2'
[DEBUG   ] 15:59:01 gtkui:334 _on_reactor_start
[DEBUG   ] 15:59:01 mainwindow:107 Showing window
[DEBUG   ] 15:59:02 config:216 Setting 'window_pane_position' to 213 of <type 'int'>
[DEBUG   ] 15:59:02 mainwindow:239 pos: (-8, -8)
[DEBUG   ] 15:59:02 config:216 Setting 'window_pane_position' to 694 of <type 'int'>
[DEBUG   ] 15:59:02 systemtray:360 on_menuitem_show_deluge_activate
[DEBUG   ] 15:59:02 listview:309 Saving ListView state file: torrentview.state
[DEBUG   ] 15:59:02 listview:309 Saving ListView state file: torrentview.state
[DEBUG   ] 15:59:02 systemtray:360 on_menuitem_show_deluge_activate
[INFO    ] 15:59:02 daemon:124 Deluge daemon 1.3.12
[DEBUG   ] 15:59:02 daemon:125 options: None
[DEBUG   ] 15:59:02 daemon:126 args: None
[DEBUG   ] 15:59:02 core:76 Core init..
[INFO    ] 15:59:02 core:80 Starting libtorrent 1.0.6.0 session..
<snip>
Post Reply