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

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
HVD
Newbie
Newbie
Posts: 3
Joined: December 24th, 2008, 4:18 pm

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

Post 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 [email protected]:443: fetching [email protected]
2009-04-13 04:49:17,831::INFO::[articlecache] Flushing <Article: [email protected], 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 [email protected]:443: [email protected] done
2009-04-13 04:49:18,267::INFO::[decoder] Decoding <Article: [email protected], bytes=259019, partnum=188, art_id=None>
2009-04-13 04:49:18,267::INFO::[downloader] Thread [email protected]:443: fetching [email protected]
2009-04-13 04:49:18,282::INFO::[articlecache] Flushing <Article: [email protected], 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 [email protected]:443: [email protected] done
2009-04-13 04:49:18,688::INFO::[decoder] Decoding <Article: [email protected], bytes=259119, partnum=189, art_id=None>
2009-04-13 04:49:18,688::INFO::[downloader] Thread [email protected]:443: fetching [email protected]
2009-04-13 04:49:18,688::INFO::[articlecache] Flushing <Article: [email protected], 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 [email protected]:443: server closed connection
2009-04-13 04:49:23,946::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:49:23,961::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 04:49:23,961::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 04:49:56,410::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:49:56,410::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 04:49:56,410::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 04:49:56,410::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:49:56,410::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 04:49:56,426::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 04:49:57,440::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:49:57,440::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 04:49:57,440::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 04:50:10,621::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:50:10,621::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 04:50:10,621::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 04:50:15,691::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:50:15,691::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 04:50:15,691::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 04:50:22,789::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 04:50:22,789::ERROR::[downloader] Failed to initialize [email protected]:443

..continues like so...

2009-04-13 10:05:13,944::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:05:13,944::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 10:05:13,944::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 10:05:13,944::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:05:13,944::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 10:05:13,944::WARNING::[downloader] Thread [email protected]:443: failed to initialize
2009-04-13 10:05:14,957::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:05:14,957::ERROR::[downloader] Failed to initialize [email protected]:443
2009-04-13 10:05:14,957::WARNING::[downloader] Thread [email protected]: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] [email protected]: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] [email protected]:443: Initiating connection
2009-04-13 10:07:38,365::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,372::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,413::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,546::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,601::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,631::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,730::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,736::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,803::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,884::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,941::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:38,957::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:39,016::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:39,035::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:39,088::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:39,098::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:39,163::INFO::[downloader] [email protected]:443: Initiating connection
2009-04-13 10:07:39,240::INFO::[downloader] [email protected]: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 [email protected]:443 finished
2009-04-13 10:07:44,930::INFO::[downloader] Thread [email protected]:443: fetching [email protected]
2009-04-13 10:07:44,941::INFO::[downloader] Connecting [email protected]:443 finished
2009-04-13 10:07:44,941::INFO::[downloader] Thread [email protected]:443: fetching [email protected]
2009-04-13 10:07:44,944::INFO::[downloader] Connecting [email protected]:443 finished
2009-04-13 10:07:44,944::INFO::[downloader] Thread [email protected]:443: fetching [email protected]
After I restart my computer, everything sees fine.  Does anyone know what might be causing this?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
sekm
Newbie
Newbie
Posts: 1
Joined: May 21st, 2009, 8:19 am

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

Post 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.
Verbium
Newbie
Newbie
Posts: 2
Joined: June 10th, 2009, 8:00 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Verbium
Newbie
Newbie
Posts: 2
Joined: June 10th, 2009, 8:00 am

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

Post by Verbium »

I'm not running as a service, just starting it up whenever I use it
Post Reply