Page 1 of 1

0.4.8 - "Insufficient resources" + "Thread x failed to initialise"

Posted: April 13th, 2009, 4:41 am
by HVD
I'm having a really strange and frustrating problem.  I'm using 0.4.8 on the Windows 7 beta buld 7077 and when I leave sabnzbd downloading for a while, after a couple of hours my entire PC slows right down to a crawl.  Attempting to start task manager, open a windows explorer window or perform any task at all merely leads to a message appearing saying "insufficent resources exist to complete the requested service".

The webUI for sabnzbd also looks odd.  In plush, the queue disappears, The black bar with "QUEUE" written inside sits directly above the black bar saying "HISTORY".  I can't take a screenshot because of the "insufficient resources" problem.

Below is a section of the log that covers the period when everything goes mental.

Code: Select all

2009-04-13 04:49:17,815::INFO::[downloader] Thread 16@news-europe.giganews.com:443: fetching 5e24f$498d3f05$c31667a0$27383@news.libranewsservice.com
2009-04-13 04:49:17,831::INFO::[articlecache] Flushing <Article: article=34a59$498d3f05$c31667a0$27383@news.libranewsservice.com, bytes=258905, partnum=187, art_id=SABnzbd_article_zumqsn> to disk
2009-04-13 04:49:17,831::INFO::[sabnzbd] Saving data for SABnzbd_article_zumqsn in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_article_zumqsn
2009-04-13 04:49:18,267::INFO::[downloader] Thread 16@news-europe.giganews.com:443: 5e24f$498d3f05$c31667a0$27383@news.libranewsservice.com done
2009-04-13 04:49:18,267::INFO::[decoder] Decoding <Article: article=5e24f$498d3f05$c31667a0$27383@news.libranewsservice.com, bytes=259019, partnum=188, art_id=None>
2009-04-13 04:49:18,267::INFO::[downloader] Thread 16@news-europe.giganews.com:443: fetching 88824$498d3f05$c31667a0$27383@news.libranewsservice.com
2009-04-13 04:49:18,282::INFO::[articlecache] Flushing <Article: article=5e24f$498d3f05$c31667a0$27383@news.libranewsservice.com, bytes=259019, partnum=188, art_id=SABnzbd_article_yw_5vj> to disk
2009-04-13 04:49:18,282::INFO::[sabnzbd] Saving data for SABnzbd_article_yw_5vj in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_article_yw_5vj
2009-04-13 04:49:18,688::INFO::[downloader] Thread 16@news-europe.giganews.com:443: 88824$498d3f05$c31667a0$27383@news.libranewsservice.com done
2009-04-13 04:49:18,688::INFO::[decoder] Decoding <Article: article=88824$498d3f05$c31667a0$27383@news.libranewsservice.com, bytes=259119, partnum=189, art_id=None>
2009-04-13 04:49:18,688::INFO::[downloader] Thread 16@news-europe.giganews.com:443: fetching b2af5$498d3f05$c31667a0$27383@news.libranewsservice.com
2009-04-13 04:49:18,688::INFO::[articlecache] Flushing <Article: article=88824$498d3f05$c31667a0$27383@news.libranewsservice.com, bytes=259119, partnum=189, art_id=SABnzbd_article_oezqyk> to disk
2009-04-13 04:49:18,688::INFO::[sabnzbd] Saving data for SABnzbd_article_oezqyk in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_article_oezqyk
2009-04-13 04:49:18,875::INFO::[downloader] Thread 16@news-europe.giganews.com:443: server closed connection
2009-04-13 04:49:23,946::INFO::[downloader] 16@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:49:23,961::ERROR::[downloader] Failed to initialize 16@news-europe.giganews.com:443
2009-04-13 04:49:23,961::WARNING::[downloader] Thread 16@news-europe.giganews.com:443: failed to initialize
2009-04-13 04:49:56,410::INFO::[downloader] 17@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:49:56,410::ERROR::[downloader] Failed to initialize 17@news-europe.giganews.com:443
2009-04-13 04:49:56,410::WARNING::[downloader] Thread 17@news-europe.giganews.com:443: failed to initialize
2009-04-13 04:49:56,410::INFO::[downloader] 2@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:49:56,410::ERROR::[downloader] Failed to initialize 2@news-europe.giganews.com:443
2009-04-13 04:49:56,426::WARNING::[downloader] Thread 2@news-europe.giganews.com:443: failed to initialize
2009-04-13 04:49:57,440::INFO::[downloader] 4@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:49:57,440::ERROR::[downloader] Failed to initialize 4@news-europe.giganews.com:443
2009-04-13 04:49:57,440::WARNING::[downloader] Thread 4@news-europe.giganews.com:443: failed to initialize
2009-04-13 04:50:10,621::INFO::[downloader] 18@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:50:10,621::ERROR::[downloader] Failed to initialize 18@news-europe.giganews.com:443
2009-04-13 04:50:10,621::WARNING::[downloader] Thread 18@news-europe.giganews.com:443: failed to initialize
2009-04-13 04:50:15,691::INFO::[downloader] 10@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:50:15,691::ERROR::[downloader] Failed to initialize 10@news-europe.giganews.com:443
2009-04-13 04:50:15,691::WARNING::[downloader] Thread 10@news-europe.giganews.com:443: failed to initialize
2009-04-13 04:50:22,789::INFO::[downloader] 5@news-europe.giganews.com:443: Initiating connection
2009-04-13 04:50:22,789::ERROR::[downloader] Failed to initialize 5@news-europe.giganews.com:443

..continues like so...

2009-04-13 10:05:13,944::INFO::[downloader] 19@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:05:13,944::ERROR::[downloader] Failed to initialize 19@news-europe.giganews.com:443
2009-04-13 10:05:13,944::WARNING::[downloader] Thread 19@news-europe.giganews.com:443: failed to initialize
2009-04-13 10:05:13,944::INFO::[downloader] 15@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:05:13,944::ERROR::[downloader] Failed to initialize 15@news-europe.giganews.com:443
2009-04-13 10:05:13,944::WARNING::[downloader] Thread 15@news-europe.giganews.com:443: failed to initialize
2009-04-13 10:05:14,957::INFO::[downloader] 8@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:05:14,957::ERROR::[downloader] Failed to initialize 8@news-europe.giganews.com:443
2009-04-13 10:05:14,957::WARNING::[downloader] Thread 8@news-europe.giganews.com:443: failed to initialize

... I restart my computer...

2009-04-13 10:07:33,930::INFO::--------------------------------
2009-04-13 10:07:33,950::INFO::SABnzbd.exe-0.4.8 (rev=2378)
2009-04-13 10:07:33,950::INFO::Platform=Windows-Vista-6.1.7077 Class=nt
2009-04-13 10:07:33,950::INFO::Python-version = 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
2009-04-13 10:07:33,953::INFO::[sabnzbd] Loading data for rss_data.sab from C:\Users\Hiren\AppData\Local\sabnzbd\cache\rss_data.sab
2009-04-13 10:07:36,002::INFO::[sabnzbd] Loading data for bytes7.sab from C:\Users\Hiren\AppData\Local\sabnzbd\cache\bytes7.sab
2009-04-13 10:07:36,003::INFO::[sabnzbd] Loading data for queue7.sab from C:\Users\Hiren\AppData\Local\sabnzbd\cache\queue7.sab
2009-04-13 10:07:36,048::INFO::[sabnzbd] Loading data for SABnzbd_nzo_lobuov from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_lobuov
2009-04-13 10:07:36,526::INFO::[sabnzbd] Loading data for SABnzbd_nzo_kgvjob from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_kgvjob
2009-04-13 10:07:36,607::INFO::[sabnzbd] Loading data for SABnzbd_nzo_bq0lwi from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_bq0lwi
2009-04-13 10:07:36,736::INFO::[sabnzbd] Loading data for SABnzbd_nzo_dd42dw from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_dd42dw
2009-04-13 10:07:36,766::INFO::[sabnzbd] Loading data for SABnzbd_nzo_xo9hc9 from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_xo9hc9
2009-04-13 10:07:36,799::INFO::[sabnzbd] Loading data for SABnzbd_nzo_a-xv7p from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_a-xv7p
2009-04-13 10:07:36,838::INFO::[sabnzbd] Loading data for SABnzbd_nzo_lhujiq from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_lhujiq
2009-04-13 10:07:36,881::INFO::[sabnzbd] Loading data for SABnzbd_nzo_egrl_6 from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_egrl_6
2009-04-13 10:07:36,936::INFO::[sabnzbd] Loading data for SABnzbd_nzo_33ft_q from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_33ft_q
2009-04-13 10:07:36,960::INFO::[sabnzbd] Loading data for SABnzbd_nzo_9elgz3 from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_9elgz3
2009-04-13 10:07:37,006::INFO::[sabnzbd] Loading data for SABnzbd_nzo_mjwe4r from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_mjwe4r
2009-04-13 10:07:37,052::INFO::[sabnzbd] Loading data for SABnzbd_nzo_sflldh from C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_sflldh
2009-04-13 10:07:37,085::INFO::All processes started
2009-04-13 10:07:37,088::INFO::_yenc module... found!
2009-04-13 10:07:37,088::INFO::celementtree module... found!
2009-04-13 10:07:37,088::INFO::par2 binary... found (C:\Program Files (x86)\SABnzbd\win\par2\par2.exe)
2009-04-13 10:07:37,088::INFO::par2-classic binary... found (C:\Program Files (x86)\SABnzbd\win\par2\par2-classic.exe)
2009-04-13 10:07:37,088::INFO::unrar binary... found (C:\Program Files (x86)\SABnzbd\win\unrar\UnRAR.exe)
2009-04-13 10:07:37,088::INFO::unzip binary... found (C:\Program Files (x86)\SABnzbd\win\unzip\unzip.exe)
2009-04-13 10:07:37,088::INFO::pyOpenSSL... found (True)
2009-04-13 10:07:37,101::INFO::Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Plush
2009-04-13 10:07:37,108::INFO::Starting SABnzbd.exe-0.4.8
2009-04-13 10:07:37,109::INFO::[nzbqueue] Saving queue
2009-04-13 10:07:37,111::INFO::[sabnzbd.misc] URLGrabber starting up
2009-04-13 10:07:37,111::INFO::[sabnzbd] Saving data for SABnzbd_nzo_lobuov in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_lobuov
2009-04-13 10:07:37,111::INFO::Starting web-interface on localhost:8081
2009-04-13 10:07:37,346::INFO::[sabnzbd] Saving data for SABnzbd_nzo_kgvjob in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_kgvjob
2009-04-13 10:07:37,351::INFO::[sabnzbd] Saving data for SABnzbd_nzo_bq0lwi in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_bq0lwi
2009-04-13 10:07:37,357::INFO::[sabnzbd] Saving data for SABnzbd_nzo_dd42dw in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_dd42dw
2009-04-13 10:07:37,361::INFO::[sabnzbd] Saving data for SABnzbd_nzo_xo9hc9 in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_xo9hc9
2009-04-13 10:07:37,365::INFO::[sabnzbd] Saving data for SABnzbd_nzo_a-xv7p in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_a-xv7p
2009-04-13 10:07:37,371::INFO::[sabnzbd] Saving data for SABnzbd_nzo_lhujiq in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_lhujiq
2009-04-13 10:07:37,375::INFO::[sabnzbd] Saving data for SABnzbd_nzo_egrl_6 in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_egrl_6
2009-04-13 10:07:37,378::INFO::[sabnzbd] Saving data for SABnzbd_nzo_33ft_q in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_33ft_q
2009-04-13 10:07:37,384::INFO::[sabnzbd] Saving data for SABnzbd_nzo_9elgz3 in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_9elgz3
2009-04-13 10:07:38,318::INFO::[sabnzbd] Saving data for SABnzbd_nzo_mjwe4r in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_mjwe4r
2009-04-13 10:07:38,322::INFO::[sabnzbd] Saving data for SABnzbd_nzo_sflldh in C:\Users\Hiren\AppData\Local\sabnzbd\cache\SABnzbd_nzo_sflldh
2009-04-13 10:07:38,325::INFO::[sabnzbd] Saving data for queue7.sab in C:\Users\Hiren\AppData\Local\sabnzbd\cache\queue7.sab
2009-04-13 10:07:38,326::INFO::[sabnzbd] Saving data for bytes7.sab in C:\Users\Hiren\AppData\Local\sabnzbd\cache\bytes7.sab
2009-04-13 10:07:38,326::INFO::[downloader] 1@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,328::INFO::[sabnzbd] Saving data for rss_data.sab in C:\Users\Hiren\AppData\Local\sabnzbd\cache\rss_data.sab
2009-04-13 10:07:38,358::INFO::[downloader] 2@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,365::INFO::[downloader] 3@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,372::INFO::[downloader] 4@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,413::INFO::[downloader] 5@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,546::INFO::[downloader] 6@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,601::INFO::[downloader] 7@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,631::INFO::[downloader] 8@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,730::INFO::[downloader] 9@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,736::INFO::[downloader] 10@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,803::INFO::[downloader] 11@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,884::INFO::[downloader] 12@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,941::INFO::[downloader] 13@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:38,957::INFO::[downloader] 14@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:39,016::INFO::[downloader] 15@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:39,035::INFO::[downloader] 16@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:39,088::INFO::[downloader] 17@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:39,098::INFO::[downloader] 18@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:39,163::INFO::[downloader] 19@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:39,240::INFO::[downloader] 20@news-europe.giganews.com:443: Initiating connection
2009-04-13 10:07:40,999::INFO::Lauching browser with http://localhost:8081/sabnzbd
2009-04-13 10:07:44,930::INFO::[downloader] Connecting 1@news-europe.giganews.com:443 finished
2009-04-13 10:07:44,930::INFO::[downloader] Thread 1@news-europe.giganews.com:443: fetching a576a$498d3ee5$c31667a0$27383@news.libranewsservice.com
2009-04-13 10:07:44,941::INFO::[downloader] Connecting 8@news-europe.giganews.com:443 finished
2009-04-13 10:07:44,941::INFO::[downloader] Thread 8@news-europe.giganews.com:443: fetching d4312$498d3ee6$c31667a0$27383@news.libranewsservice.com
2009-04-13 10:07:44,944::INFO::[downloader] Connecting 6@news-europe.giganews.com:443 finished
2009-04-13 10:07:44,944::INFO::[downloader] Thread 6@news-europe.giganews.com:443: fetching 83260$498d3ee6$c31667a0$27383@news.libranewsservice.com
After I restart my computer, everything sees fine.  Does anyone know what might be causing this?

Re: 0.4.8 - "Insufficient resources" + "Thread x failed to initialise"

Posted: April 13th, 2009, 3:35 pm
by shypike
So far we have no experience with Windows 7.
Nobody of the team has access to it, so we cannot test anything.
Could be anything: Win7 itself, drivers, the Python interpreter one of our many third-party libraries.

Re: 0.4.8 - "Insufficient resources" + "Thread x failed to initialise"

Posted: May 21st, 2009, 5:07 pm
by sekm
I'm getting this exact same problem in build 7100 (RC1). Memory usage maxes out and the system is unresponsive after a few hours, giving the same errors as above. The sabnzbd process doesn't show the extra memory usage in task manager, it shows it using its normal 30-60mb.

Re: 0.4.8 - "Insufficient resources" + "Thread x failed to initialise"

Posted: June 10th, 2009, 8:10 am
by Verbium
This sounds like an issue I'm having on W7 7201. I'm experiencing the system slowdown and memory hogging, although it seems to handle itself much better when I'm using the computer. I usually leave my PC on over night if I want to download anything and 2 nights in a row the PC has frozen not allowing me to start task manager to see what's the cause or start any other piece of software.

The freeze is so severe that a few nights ago it caused my RAID to fail with data corruption (windows disk checker at boot decided to delete all corrupted blocks). It ran disk verification on my OS Drive this morning after rebooting from the freeze.

Would post logs but I continued the downloads after the reboot and have only found this thread now.

Re: 0.4.8 - "Insufficient resources" + "Thread x failed to initialise"

Posted: June 10th, 2009, 9:53 am
by shypike
You guys run SABnzbd in the usual way?
I mean, not as a service?
I got my Win7-RC system up, so I can do some stress testing now.

BTW: I'm not planning on putting much effort into 0.4.x
By the time Win7 is out, we will have released 0.5.0.

Re: 0.4.8 - "Insufficient resources" + "Thread x failed to initialise"

Posted: June 10th, 2009, 11:28 am
by Verbium
I'm not running as a service, just starting it up whenever I use it