sabnzbd freezing

Get help with all aspects of 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
thomashw
Newbie
Newbie
Posts: 3
Joined: August 28th, 2012, 11:29 pm

sabnzbd freezing

Post by thomashw »

Version: 0.7.x (technically 0.7.3, but the UI displays 0.7.x)
OS: Ubuntu 12.04.1 LTS
Install-type: github repo (master branch)
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Yes.. eventually

The issue is, sabzndb freezes while a download is in progress. I cannot access the website (it doesn't load). I would say 1 out of every 10-20 downloads causes sabnzbd to freeze. It doesn't freeze immediately after adding the download, but when I come back I sometimes find it frozen.

This is what is shown when I run ps aux | grep sabnzbd after it has frozen.

Code: Select all

sabnzbd   1301  0.7  1.1 1285448 93756 ?       Sl   Aug22  60:07 python /home/sabnzbd/sabnzbd/SABnzbd.py -d -f /home/sabnzbd/.sabnzbd/sabnzbd.ini
The most recent time it froze (tonight), there were 3 downloads. Two were pending and one was approximately 50% done. None had completed previous to that tonight. But, I have 4 downloads completed within the last few days that caused no issues.

I am running sabnzbd using the source code from github because this seems to increase the time between freezes. Before I was using the PPA repository and it seemed to freeze much more frequently.

This is the line I've put in /etc/rc.local to run sabnzbd at startup:

Code: Select all

su sabnzbd -c 'python /home/sabnzbd/sabnzbd/SABnzbd.py -d -f /home/sabnzbd/.sabnzbd/sabnzbd.ini'
I also saved the log before I restarted to see what's recorded as it freezes. Here's the last few lines that I think are relevant. As you can see, the connections are eventually closed and that's the end of the log file until I restart sabnzbd.

Code: Select all

2012-08-28 19:10:59,657::INFO::[urlgrabber:116] Grabbing URL notTheRealURL
2012-08-28 19:11:01,268::INFO::[misc:792] Creating directories: /media/sf_d/downloads/incomplete/notTheRealDirectory
2012-08-28 19:11:01,275::INFO::[nzbstuff:429] File kart3l-raid.par2 added to queue
2012-08-28 19:11:01,278::INFO::[nzbstuff:429] File kart3l-raid.nfo added to queue
2012-08-28 19:11:01,282::INFO::[nzbstuff:429] File kart3l-raid.r00 added to queue
2012-08-28 19:11:01,285::INFO::[nzbstuff:429] File kart3l-raid.r01 added to queue
2012-08-28 19:11:01,289::INFO::[nzbstuff:429] File kart3l-raid.r02 added to queue
2012-08-28 19:11:01,293::INFO::[nzbstuff:429] File kart3l-raid.r03 added to queue
2012-08-28 19:11:01,297::INFO::[nzbstuff:429] File kart3l-raid.r04 added to queue
2012-08-28 19:11:01,300::INFO::[nzbstuff:429] File kart3l-raid.r06 added to queue
2012-08-28 19:11:01,304::INFO::[nzbstuff:429] File kart3l-raid.r05 added to queue
2012-08-28 19:11:01,308::INFO::[nzbstuff:429] File kart3l-raid.r07 added to queue
2012-08-28 19:11:01,311::INFO::[nzbstuff:429] File kart3l-raid.r09 added to queue
2012-08-28 19:11:01,315::INFO::[nzbstuff:429] File kart3l-raid.r08 added to queue
2012-08-28 19:11:01,319::INFO::[nzbstuff:429] File kart3l-raid.r10 added to queue
2012-08-28 19:11:01,323::INFO::[nzbstuff:429] File kart3l-raid.r11 added to queue
2012-08-28 19:11:01,326::INFO::[nzbstuff:429] File kart3l-raid.r12 added to queue
2012-08-28 19:11:01,330::INFO::[nzbstuff:429] File kart3l-raid.r13 added to queue
2012-08-28 19:11:01,334::INFO::[nzbstuff:429] File kart3l-raid.r14 added to queue
2012-08-28 19:11:01,337::INFO::[nzbstuff:429] File kart3l-raid.r16 added to queue
2012-08-28 19:11:01,341::INFO::[nzbstuff:429] File kart3l-raid.r15 added to queue
2012-08-28 19:11:01,344::INFO::[nzbstuff:429] File kart3l-raid.r18 added to queue
2012-08-28 19:11:01,349::INFO::[nzbstuff:429] File kart3l-raid.r17 added to queue
2012-08-28 19:11:01,353::INFO::[nzbstuff:429] File kart3l-raid.r19 added to queue
2012-08-28 19:11:01,356::INFO::[nzbstuff:429] File kart3l-raid.r20 added to queue
2012-08-28 19:11:01,361::INFO::[nzbstuff:429] File kart3l-raid.r21 added to queue
2012-08-28 19:11:01,364::INFO::[nzbstuff:429] File kart3l-raid.r22 added to queue
2012-08-28 19:11:01,367::INFO::[nzbstuff:429] File kart3l-raid.r23 added to queue
2012-08-28 19:11:01,371::INFO::[nzbstuff:429] File kart3l-raid.r24 added to queue
2012-08-28 19:11:01,374::INFO::[nzbstuff:429] File kart3l-raid.r25 added to queue
2012-08-28 19:11:01,378::INFO::[nzbstuff:429] File kart3l-raid.r26 added to queue
2012-08-28 19:11:01,381::INFO::[nzbstuff:429] File kart3l-raid.r27 added to queue
2012-08-28 19:11:01,385::INFO::[nzbstuff:429] File kart3l-raid.r28 added to queue
2012-08-28 19:11:01,389::INFO::[nzbstuff:429] File kart3l-raid.r29 added to queue
2012-08-28 19:11:01,393::INFO::[nzbstuff:429] File kart3l-raid.r30 added to queue
2012-08-28 19:11:01,399::INFO::[nzbstuff:429] File kart3l-raid.r31 added to queue
2012-08-28 19:11:01,403::INFO::[nzbstuff:429] File kart3l-raid.r32 added to queue
2012-08-28 19:11:01,406::INFO::[nzbstuff:429] File kart3l-raid.r33 added to queue
2012-08-28 19:11:01,410::INFO::[nzbstuff:429] File kart3l-raid.r34 added to queue
2012-08-28 19:11:01,417::INFO::[nzbstuff:429] File kart3l-raid.r35 added to queue
2012-08-28 19:11:01,421::INFO::[nzbstuff:429] File kart3l-raid.r36 added to queue
2012-08-28 19:11:01,424::INFO::[nzbstuff:429] File kart3l-raid.r37 added to queue
2012-08-28 19:11:01,428::INFO::[nzbstuff:429] File kart3l-raid.r38 added to queue
2012-08-28 19:11:01,432::INFO::[nzbstuff:429] File kart3l-raid.r40 added to queue
2012-08-28 19:11:01,436::INFO::[nzbstuff:429] File kart3l-raid.r39 added to queue
2012-08-28 19:11:01,439::INFO::[nzbstuff:429] File kart3l-raid.r41 added to queue
2012-08-28 19:11:01,443::INFO::[nzbstuff:429] File kart3l-raid.r42 added to queue
2012-08-28 19:11:01,447::INFO::[nzbstuff:429] File kart3l-raid.r44 added to queue
2012-08-28 19:11:01,451::INFO::[nzbstuff:429] File kart3l-raid.r43 added to queue
2012-08-28 19:11:01,455::INFO::[nzbstuff:429] File kart3l-raid.r45 added to queue
2012-08-28 19:11:01,459::INFO::[nzbstuff:429] File kart3l-raid.r46 added to queue
2012-08-28 19:11:01,463::INFO::[nzbstuff:429] File kart3l-raid.r47 added to queue
2012-08-28 19:11:01,466::INFO::[nzbstuff:429] File kart3l-raid.r48 added to queue
2012-08-28 19:11:01,470::INFO::[nzbstuff:429] File kart3l-raid.r49 added to queue
2012-08-28 19:11:01,474::INFO::[nzbstuff:429] File kart3l-raid.r50 added to queue
2012-08-28 19:11:01,477::INFO::[nzbstuff:429] File kart3l-raid.r51 added to queue
2012-08-28 19:11:01,481::INFO::[nzbstuff:429] File kart3l-raid.r52 added to queue
2012-08-28 19:11:01,485::INFO::[nzbstuff:429] File kart3l-raid.r53 added to queue
2012-08-28 19:11:01,489::INFO::[nzbstuff:429] File kart3l-raid.r54 added to queue
2012-08-28 19:11:01,492::INFO::[nzbstuff:429] File kart3l-raid.r55 added to queue
2012-08-28 19:11:01,496::INFO::[nzbstuff:429] File kart3l-raid.r56 added to queue
2012-08-28 19:11:01,499::INFO::[nzbstuff:429] File kart3l-raid.r57 added to queue
2012-08-28 19:11:01,504::INFO::[nzbstuff:429] File kart3l-raid.r58 added to queue
2012-08-28 19:11:01,508::INFO::[nzbstuff:429] File kart3l-raid.r60 added to queue
2012-08-28 19:11:01,511::INFO::[nzbstuff:429] File kart3l-raid.r59 added to queue
2012-08-28 19:11:01,515::INFO::[nzbstuff:429] File kart3l-raid.r61 added to queue
2012-08-28 19:11:01,519::INFO::[nzbstuff:429] File kart3l-raid.r62 added to queue
2012-08-28 19:11:01,522::INFO::[nzbstuff:429] File kart3l-raid.r63 added to queue
2012-08-28 19:11:01,525::INFO::[nzbstuff:429] File kart3l-raid.r65 added to queue
2012-08-28 19:11:01,529::INFO::[nzbstuff:429] File kart3l-raid.r64 added to queue
2012-08-28 19:11:01,533::INFO::[nzbstuff:429] File kart3l-raid.r66 added to queue
2012-08-28 19:11:01,537::INFO::[nzbstuff:429] File kart3l-raid.r67 added to queue
2012-08-28 19:11:01,541::INFO::[nzbstuff:429] File kart3l-raid.r68 added to queue
2012-08-28 19:11:01,544::INFO::[nzbstuff:429] File kart3l-raid.r69 added to queue
2012-08-28 19:11:01,548::INFO::[nzbstuff:429] File kart3l-raid.r70 added to queue
2012-08-28 19:11:01,551::INFO::[nzbstuff:429] File kart3l-raid.r71 added to queue
2012-08-28 19:11:01,555::INFO::[nzbstuff:429] File kart3l-raid.r72 added to queue
2012-08-28 19:11:01,558::INFO::[nzbstuff:429] File kart3l-raid.r73 added to queue
2012-08-28 19:11:01,562::INFO::[nzbstuff:429] File kart3l-raid.r74 added to queue
2012-08-28 19:11:01,565::INFO::[nzbstuff:429] File kart3l-raid.r75 added to queue
2012-08-28 19:11:01,569::INFO::[nzbstuff:429] File kart3l-raid.r76 added to queue
2012-08-28 19:11:01,573::INFO::[nzbstuff:429] File kart3l-raid.r77 added to queue
2012-08-28 19:11:01,576::INFO::[nzbstuff:429] File kart3l-raid.r78 added to queue
2012-08-28 19:11:01,580::INFO::[nzbstuff:429] File kart3l-raid.r79 added to queue
2012-08-28 19:11:01,584::INFO::[nzbstuff:429] File kart3l-raid.r80 added to queue
2012-08-28 19:11:01,588::INFO::[nzbstuff:429] File kart3l-raid.r82 added to queue
2012-08-28 19:11:01,591::INFO::[nzbstuff:429] File kart3l-raid.r81 added to queue
2012-08-28 19:11:01,595::INFO::[nzbstuff:429] File kart3l-raid.r83 added to queue
2012-08-28 19:11:01,598::INFO::[nzbstuff:429] File kart3l-raid.r84 added to queue
2012-08-28 19:11:01,602::INFO::[nzbstuff:429] File kart3l-raid.r85 added to queue
2012-08-28 19:11:01,606::INFO::[nzbstuff:429] File kart3l-raid.r86 added to queue
2012-08-28 19:11:01,609::INFO::[nzbstuff:429] File kart3l-raid.r87 added to queue
2012-08-28 19:11:01,613::INFO::[nzbstuff:429] File kart3l-raid.r88 added to queue
2012-08-28 19:11:01,617::INFO::[nzbstuff:429] File kart3l-raid.r89 added to queue
2012-08-28 19:11:01,621::INFO::[nzbstuff:429] File kart3l-raid.r90 added to queue
2012-08-28 19:11:01,625::INFO::[nzbstuff:429] File kart3l-raid.r91 added to queue
2012-08-28 19:11:01,628::INFO::[nzbstuff:429] File kart3l-raid.r92 added to queue
2012-08-28 19:11:01,632::INFO::[nzbstuff:429] File kart3l-raid.r93 added to queue
2012-08-28 19:11:01,635::INFO::[nzbstuff:429] File kart3l-raid.sfv added to queue
2012-08-28 19:11:01,639::INFO::[nzbstuff:429] File kart3l-raid.rar added to queue
2012-08-28 19:11:01,642::INFO::[nzbstuff:429] File kart3l-raid.vol002+04.par2 added to queue
2012-08-28 19:11:01,645::INFO::[nzbstuff:429] File kart3l-raid.vol006+08.par2 added to queue
2012-08-28 19:11:01,648::INFO::[nzbstuff:429] File kart3l-raid.vol000+02.par2 added to queue
2012-08-28 19:11:01,651::INFO::[nzbstuff:429] File kart3l-raid.vol014+16.par2 added to queue
2012-08-28 19:11:01,656::INFO::[nzbstuff:429] File kart3l-raid.vol030+32.par2 added to queue
2012-08-28 19:11:01,661::INFO::[nzbstuff:429] File kart3l-raid.vol062+64.par2 added to queue
2012-08-28 19:11:01,664::INFO::[nzbstuff:429] File kart3l-raid.vol126+13.par2 added to queue
2012-08-28 19:11:01,665::INFO::[__init__:565] Backing up /media/sf_d/downloads/incomplete/notTheRealDirectory/__ADMIN__/notTheRealName.nzb.gz
2012-08-28 19:11:01,696::INFO::[nzbqueue:176] Saving queue
2012-08-28 19:11:01,702::INFO::[__init__:895] Saving data for queue9.sab in /home/sabnzbd/.sabnzbd/admin/queue9.sab
2012-08-28 19:11:01,703::INFO::[notifier:87] Sending registration to localhost:23053
2012-08-28 19:11:02,204::INFO::[__init__:884] /home/sabnzbd/.sabnzbd/admin/future/SABnzbd_nzo_hF3vK1 removed
2012-08-28 19:13:02,347::INFO::[downloader:643] Thread 3@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:04,230::INFO::[downloader:643] Thread 17@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:06,862::INFO::[downloader:643] Thread 13@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:07,848::INFO::[downloader:643] Thread 15@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:10,655::INFO::[downloader:643] Thread 6@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:12,229::INFO::[downloader:643] Thread 20@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:12,980::INFO::[downloader:643] Thread 16@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:15,843::INFO::[downloader:643] Thread 9@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:16,331::INFO::[downloader:643] Thread 18@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:16,832::INFO::[downloader:643] Thread 8@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:16,998::INFO::[downloader:643] Thread 1@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:19,666::INFO::[downloader:643] Thread 10@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:21,017::INFO::[downloader:643] Thread 19@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:23,592::INFO::[downloader:643] Thread 7@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:26,057::INFO::[downloader:643] Thread 5@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:27,196::INFO::[downloader:643] Thread 11@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:27,605::INFO::[downloader:643] Thread 2@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:28,094::INFO::[downloader:643] Thread 4@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:29,734::INFO::[downloader:643] Thread 14@ssl.astraweb.com:563: server closed connection
2012-08-28 19:13:29,945::INFO::[downloader:643] Thread 12@ssl.astraweb.com:563: server closed connection
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd freezing

Post by shypike »

Hard to diagnose.
Complete freezing suggest that the underlying Python + libraries have a problem.
(Or the hardware, but that's just a guess).
thomashw
Newbie
Newbie
Posts: 3
Joined: August 28th, 2012, 11:29 pm

Re: sabnzbd freezing

Post by thomashw »

Anything I can try? All of the libraries are up-to-date.

A little more info...

I have sabnzbd running in Virtualbox. It's saving the files it downloads through a shared folder in virtualbox to drives on the host. The guest doesn't freeze when sabnzbd does - it's only sabnzbd that freezes. I don't think it has to do with virtualbox since it happens at strange times and saving files through the shared folders works fine.

I don't think it's the hardware as I had sabnzbd running with, I believe, Ubuntu 11.04 for a long time without any freezing.

I suppose I could try using 11.04 to see if the issues go away. Would that be a good way to go?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd freezing

Post by shypike »

thomashw wrote: I suppose I could try using 11.04 to see if the issues go away. Would that be a good way to go?
Not sure.
It could be the Python version. Different versions of Ubuntu have different default Python versions.
I think 12.04 has 2.5, 2.6 and 2.7. You can try explicit versions: try 2.5 first (called python25, I think).
As an illustration: on Windows we still work with 2.5, because later versions have a memory leak
that manifests itself after a few days of heavy downloading.
thomashw
Newbie
Newbie
Posts: 3
Joined: August 28th, 2012, 11:29 pm

Re: sabnzbd freezing

Post by thomashw »

Well, I installed an Ubuntu 11.04 guest in Virtualbox and installed sabnzbd inside that. It has been up and running for about a week now and I haven't had any issues. Looks like it might of been an issue with 12.04 *knock on wood*.
Post Reply