Page 1 of 1

Sab freezing overnight - leaving unresolved items in queue...

Posted: March 29th, 2010, 3:12 am
by dukevim
Hi, I have been having a new problem with Sab+ : overnight it appears to freeze when passed items from RSS - these items never get resolved, and it will only continue to download and resolve names when restarted.

The log indicates multiple entries like this :
2010-03-29 02:44:17,919::INFO::[__init__:753] Restarting crashed urlgrabber

Version: SABnzbd Version: 0.5.0 | smpl Version: 1.3
OS: OSX Snow Leopard
Install-type: OSx .app
Skin (if applicable): Smpl
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes (as in it has happened before, but I can't force it)

This is a fantastic application, and I'm really grateful for all the effort put in by the Devs.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 29th, 2010, 3:56 am
by shypike
Is this with nzbmatrix.com ?
If so, try 0.5.1RC2.
Otherwise I would need more details.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 29th, 2010, 4:35 am
by dukevim
I use RSS feeds from :
mytvnzbrss.com and newzbin.com

I have just seen the update and will give it a try. Thanks for the quick response.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 29th, 2010, 1:01 pm
by shypike
I have never been able to get anything but an empty feed from  mytvnzbrss.com.
Does this site work at all?

newzbin.com should work without any problems.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 30th, 2010, 10:02 pm
by bmfrosty
I'm getting the same problem.  I'm running Ubuntu Koala.  The problem started over the weekend.  I'm currently running 0.5.1RC2.  What information would be helpful for troubleshooting?  Beware that I'm not terribly savvy with Python.

This is the message I'm getting in the logs:

2010-03-30 11:50:33,444::INFO::[__init__:751] Restarting crashed urlgrabber
2010-03-30 11:51:06,479::INFO::[__init__:751] Restarting crashed urlgrabber
2010-03-30 11:51:39,512::INFO::[__init__:751] Restarting crashed urlgrabber
2010-03-30 11:52:12,544::INFO::[__init__:751] Restarting crashed urlgrabber

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 30th, 2010, 10:04 pm
by bmfrosty
It does appear that this started right when I upgraded.  Here's the log from Synaptic:

Upgraded the following packages:
app-install-data-partner (12.9.10.2) to 12.9.10.3
devicekit-disks (007-2ubuntu4) to 007-2ubuntu5
google-chrome-beta (5.0.307.11-r39572) to 5.0.342.7-r42476
gstreamer0.10-plugins-bad (0.10.14-4ubuntu1) to 0.10.14-4ubuntu1.1
libaudiofile-dev (0.2.6-7ubuntu2) to 0.2.6-7ubuntu2.1
libaudiofile0 (0.2.6-7ubuntu2) to 0.2.6-7ubuntu2.1
libgssapi-krb5-2 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libgssrpc4 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libk5crypto3 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libkadm5clnt6 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libkadm5srv6 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libkdb5-4 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libkrb5-3 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libkrb5-dev (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libkrb5support0 (1.7dfsg~beta3-1ubuntu0.4) to 1.7dfsg~beta3-1ubuntu0.5
libpam-smbpass (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
libpng12-0 (1.2.37-1) to 1.2.37-1ubuntu0.1
libpng12-dev (1.2.37-1) to 1.2.37-1ubuntu0.1
libsmbclient (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
libwbclient0 (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
linux-headers-2.6.31-20 (2.6.31-20.57) to 2.6.31-20.58
linux-headers-2.6.31-20-generic-pae (2.6.31-20.57) to 2.6.31-20.58
linux-image-2.6.31-20-generic-pae (2.6.31-20.57) to 2.6.31-20.58
linux-libc-dev (2.6.31-20.57) to 2.6.31-20.58
sabnzbdplus (0.5.0-0ubuntu1~jcfp1~karmic) to 0.5.1~rc2-0ubuntu1~jcfp1~karmic
sabnzbdplus-theme-classic (0.5.0-0ubuntu1~jcfp1~karmic) to 0.5.1~rc2-0ubuntu1~jcfp1~karmic
sabnzbdplus-theme-plush (0.5.0-0ubuntu1~jcfp1~karmic) to 0.5.1~rc2-0ubuntu1~jcfp1~karmic
sabnzbdplus-theme-smpl (0.5.0-0ubuntu1~jcfp1~karmic) to 0.5.1~rc2-0ubuntu1~jcfp1~karmic
samba (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
samba-common (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
samba-common-bin (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
smbclient (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
winbind (2:3.4.0-3ubuntu5.4) to 2:3.4.0-3ubuntu5.6
xserver-common (2:1.6.4-2ubuntu4.1) to 2:1.6.4-2ubuntu4.2
xserver-xorg-core (2:1.6.4-2ubuntu4.1) to 2:1.6.4-2ubuntu4.2


I'm not sure if any of my other packages interact with Sab, so I included the entire list.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 30th, 2010, 10:16 pm
by bmfrosty
One more thing to add.  A screenshot.  See attached.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 31st, 2010, 2:03 am
by shypike
What's in the "Warnings" ?

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 31st, 2010, 2:20 am
by bmfrosty
2010-03-29 16:13:31,504 WARNING: Invalid NZB file 38981.nzb, skipping (reason=syntax error, line=1)
2010-03-29 16:13:31,505 ERROR: Error getting url http://www.tvnzb.com/nzb/38981 (cause= "")

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 31st, 2010, 2:39 am
by bmfrosty
Interestingly, the update in synaptic is timestamped as such:

Commit Log for Mon Mar 29 16:05:47 2010

Timestamps coincide rather well.

Interestingly, I have another box running 0.5.1RC2 on Ubuntu 8.10, and it doesn't have the issues.  I'm using the same RSS service there as well, just with a different set of automated downloads.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: March 31st, 2010, 4:12 am
by bmfrosty
I *think* I just resolved the problem by nuking the history and the cache.  I noticed in another thread that you stop retrying a URL grab if an earlier grab failed to avoid triggering something on tvnzb.  Is it possible that the no-retry flag that you're setting is acting on all grabs instead of just the one that failed?

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: April 2nd, 2010, 1:55 am
by bmfrosty
Interesting.  It's done it again.  Same symptoms.  I resolved it this time by stopping the server, deleting rss_data.sab and then restarting the server.  If this happens again, I would be happy to provide the file.  My apologies for not thinking to save a copy.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: April 2nd, 2010, 2:09 am
by dukevim
Hi this is still happening for me. I have attached the log.

Thanks.

Re: Sab freezing overnight - leaving unresolved items in queue...

Posted: April 2nd, 2010, 3:47 am
by shypike
Please supply the right log file: sabnzbd.log
and email it to bugs at sabnzbd.org (referring to this thread).
CherryPy.log is useless.