shutdown or saving config in interface cpu -> 100% -> nothing more happens

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
mephist0
Newbie
Newbie
Posts: 7
Joined: June 8th, 2008, 1:21 pm

shutdown or saving config in interface cpu -> 100% -> nothing more happens

Post by mephist0 »

Hi,

since a few weeks sabnzb+ hangs everytime I want it to shutdown or save the config via web interface.
I think I updated python and cheetah and since then it doesnt shutdown properly.
If I do a "kill -6 *pidofsab*" it saves the queue and exits.

Here is the log with debug enabled: (I left my puter on during the night and nothing happened)
I think theres something wrong with the scheduler?! But I dont know :D I am not a progger :)

[EDIT]
forgot to mention, everytime I start sabnzbd+ there is a deprecated warning:

Code: Select all

mephisto@dampframme ~ $ python SABnzbd/SABnzbd.py -d
/home/mephisto/SABnzbd/cherrypy/lib/cptools.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/home/mephisto/SABnzbd/cherrypy/filters/sessionfilter.py:33: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
[/EDIT]

Code: Select all

2009-09-13 23:18:11,257::INFO::SABnzbd shutting down...
2009-09-13 23:18:11,257::INFO::[sabnzbd] Saving data for bookmarks.sab in /home/mephisto/SABnzbd/cache/bookmarks.sab
2009-09-13 23:18:11,266::DEBUG::Stopping URLGrabber
2009-09-13 23:18:11,266::INFO::[sabnzbd.misc] URLGrabber shutting down
2009-09-13 23:18:11,266::DEBUG::Stopping msgidgrabber
2009-09-13 23:18:11,267::DEBUG::[newzbin] Stopping MSGIDGrabber
2009-09-13 23:18:11,267::DEBUG::Stopping dirscanner
2009-09-13 23:18:11,267::INFO::[sabnzbd] Saving data for watched_data.sab in /home/mephisto/SABnzbd/cache/watched_data.sab
2009-09-13 23:18:11,268::INFO::[downloader] Thread [email protected]:563: part89of401.c5&x$OUU9Xqqe&[email protected] done
2009-09-13 23:18:11,268::INFO::[decoder] Decoding <Article: article=part89of401.c5&x$OUU9Xqqe&[email protected], bytes=258486, partnum=89, art_id=None>
2009-09-13 23:18:11,271::INFO::[articlecache] Added <Article: article=part89of401.c5&x$OUU9Xqqe&[email protected], bytes=258486, partnum=89, art_id=None> to cache
2009-09-13 23:18:11,271::DEBUG::[articlecache] cache_size -> 22214400

[snip]

2009-09-13 23:18:11,607::INFO::[downloader] Thread [email protected]:563: fetching part112of401.c5&x$OUU9Xqqe&[email protected]
2009-09-13 23:18:11,750::INFO::[downloader] Thread [email protected]:563: part97of401.c5&x$OUU9Xqqe&[email protected] done
2009-09-13 23:18:11,751::INFO::[decoder] Decoding <Article: article=part97of401.c5&x$OUU9Xqqe&[email protected], bytes=258455, partnum=97, art_id=None>
2009-09-13 23:18:11,754::INFO::[articlecache] Added <Article: article=part97of401.c5&x$OUU9Xqqe&[email protected], bytes=258455, partnum=97, art_id=None> to cache
2009-09-13 23:18:11,754::DEBUG::[articlecache] cache_size -> 22963200
2009-09-13 23:18:11,755::INFO::[downloader] Thread [email protected]:563: fetching part113of401.c5&x$OUU9Xqqe&[email protected]
2009-09-13 23:18:11,792::DEBUG::Stopping downloader
2009-09-13 23:18:11,832::INFO::[downloader] Thread [email protected]:563: part106of401.c5&x$OUU9Xqqe&[email protected] done
2009-09-13 23:18:11,832::INFO::[decoder] Decoding <Article: article=part106of401.c5&x$OUU9Xqqe&[email protected], bytes=258623, partnum=106, art_id=None>
2009-09-13 23:18:11,835::INFO::[articlecache] Added <Article: article=part106of401.c5&x$OUU9Xqqe&[email protected], bytes=258623, partnum=106, art_id=None> to cache
2009-09-13 23:18:11,836::DEBUG::[articlecache] cache_size -> 23212800
2009-09-13 23:18:15,661::INFO::[downloader] Shutting down
2009-09-13 23:18:15,661::DEBUG::Stopping assembler
2009-09-13 23:18:15,662::INFO::[assembler] Shutting down
2009-09-13 23:18:15,663::DEBUG::Stopping postprocessor
2009-09-13 23:18:15,663::INFO::[articlecache] Flushing <Article: article=part2of401.c5&x$OUU9Xqqe&[email protected], bytes=258637, partnum=2, art_id=SABnzbd_article_8XPJCQ> to disk
2009-09-13 23:18:15,663::DEBUG::[articlecache] cache_size -> 0
2009-09-13 23:18:15,663::INFO::[sabnzbd] Saving data for SABnzbd_article_8XPJCQ in /home/mephisto/SABnzbd/cache/SABnzbd_article_8XPJCQ

[snip]

2009-09-13 23:18:15,774::INFO::[articlecache] Flushing <Article: article=part112of401.c5&x$OUU9Xqqe&[email protected], bytes=258570, partnum=112, art_id=SABnzbd_article_kuMG6u> to disk
2009-09-13 23:18:15,774::DEBUG::[articlecache] cache_size -> 0
2009-09-13 23:18:15,774::INFO::[sabnzbd] Saving data for SABnzbd_article_kuMG6u in /home/mephisto/SABnzbd/cache/SABnzbd_article_kuMG6u
2009-09-13 23:18:15,775::INFO::[nzbqueue] Saving queue
2009-09-13 23:18:15,775::INFO::[sabnzbd] Saving data for SABnzbd_nzo_M4XxLW in /home/mephisto/SABnzbd/cache/SABnzbd_nzo_M4XxLW
2009-09-13 23:18:19,354::INFO::[sabnzbd] Saving data for SABnzbd_nzo_Yyruw6 in /home/mephisto/SABnzbd/cache/SABnzbd_nzo_Yyruw6
2009-09-13 23:18:19,469::INFO::[sabnzbd] Saving data for SABnzbd_nzo_SIf4q6 in /home/mephisto/SABnzbd/cache/SABnzbd_nzo_SIf4q6
2009-09-13 23:18:19,541::INFO::[sabnzbd] Saving data for queue7.sab in /home/mephisto/SABnzbd/cache/queue7.sab
2009-09-13 23:18:19,802::INFO::[sabnzbd] Saving data for bytes7.sab in /home/mephisto/SABnzbd/cache/bytes7.sab
2009-09-13 23:18:19,803::INFO::[sabnzbd] Saving data for bookmarks.sab in /home/mephisto/SABnzbd/cache/bookmarks.sab
2009-09-13 23:18:19,832::INFO::[sabnzbd] Saving data for watched_data.sab in /home/mephisto/SABnzbd/cache/watched_data.sab
2009-09-13 23:18:19,844::DEBUG::Stopping scheduler
Last edited by mephist0 on September 14th, 2009, 11:43 am, edited 1 time in total.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: shutdown or saving config in interface cpu -> 100% -> nothing more happens

Post by jcfp »

Using Python 2.6 doesn't work with 0.4.*, the symptoms you are reporting are a result of this. Try with python 2.5 instead.
mephist0
Newbie
Newbie
Posts: 7
Joined: June 8th, 2008, 1:21 pm

Re: shutdown or saving config in interface cpu -> 100% -> nothing more happens

Post by mephist0 »

jcfp wrote: Using Python 2.6 doesn't work with 0.4.*, the symptoms you are reporting are a result of this. Try with python 2.5 instead.
When will python 2.6 be supported? I dont want to downgrade now :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: shutdown or saving config in interface cpu -> 100% -> nothing more happens

Post by shypike »

mephist0 wrote: When will python 2.6 be supported? I dont want to downgrade now :)
It will be with the release 0.5.0.
You can sign-up as alpha tester in the "Beta Release" board.
You will not get a nice package, but just the tarbal (tar.gz).
Post Reply