[0.5.3] CherryPy MemoryError

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
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

[0.5.3] CherryPy MemoryError

Post by jocke »

Version: 0.5.0 Final
OS: Win XP SP2
Install-type: Windows Installer
Skin (if applicable): smpl Version: 1.3
Firewall Software: None
Are you using IPV6? It's enabled in the OS, but not in use by SABnzbd
Is the issue reproducible? No

Haven't updated to 0.5.2 yet, and I've been away for a while. When I got back today, the following met me when opening SABnzbd;

Image

The daemon itself runs, and there are no obvious error-logs. Ended the process, started it, and it was fine. I'm pretty sure this is a one-time-thing, but thought I'd post it here, just to be sure.
Last edited by jocke on October 14th, 2010, 4:24 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.0 Final] CherryPy MemoryError

Post by shypike »

The web server is quite independent from the rest of the software.
Also we run a patched pre-release of CherryPy, which probably contains some errors.
It's good enough for our purposes.
0.5.2 is worth the upgrade, but it contains exactly the same CherryPy.
Thanks for the report, for now I'll consider it a flaky.
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: [0.5.0 Final] CherryPy MemoryError

Post by jocke »

It happened again. Exactly the same error. Same CherryPy-version (3.2.0), but this time with SABnzbd+ 0.5.3.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.3] CherryPy MemoryError

Post by shypike »

>>> DO NOT USE CHERRYPY 3.2.0 <<<<
Use the CherryPy that's in our tar.gz distribution file.
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: [0.5.3] CherryPy MemoryError

Post by jocke »

Was the CherryPy-version changed between 0.5.3 and 0.5.4?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.3] CherryPy MemoryError

Post by shypike »

No, we have been using the same since 0.5.0.
0.4.x uses another one.
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: [0.5.3] CherryPy MemoryError

Post by jocke »

So SABnzbd-upgrades doesn't upgrade CherryPy? Because I'm running SABnzbd 0.5.3, and my CherryPy-version is still 3.2.0.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.3] CherryPy MemoryError

Post by shypike »

To avoid confusion.
Are you using the CherryPy included in SABnzbd's distribution or
a CherryPy from your OS's packaging system?
You must use the included one.
The version number in the included one is not reliable, because it's a patched test release.
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: [0.5.3] CherryPy MemoryError

Post by jocke »

shypike wrote:Are you using the CherryPy included in SABnzbd's distribution?
Yes. If you see my first post, I'm using Windows.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.3] CherryPy MemoryError

Post by shypike »

Sorry, I lost track (I have to monitor too many track).
I was convinced you were experimenting with different CherryPy modules.

It seems you simply hit a bug in CherryPy.
What happens inside CherryPy is a black box to use, we just use it.
Does this issue result in any loss of functionality?
Does the UI recover when you just refresh the browser page?
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: [0.5.3] CherryPy MemoryError

Post by jocke »

shypike wrote:Sorry, I lost track.
No problem (-:
Does this issue result in any loss of functionality? Does the UI recover when you just refresh the browser page?
No data-loss or corruption occurs. I have to restart SABnzbd before it goes away.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.3] CherryPy MemoryError

Post by shypike »

How weird, this wasn't reported before and I never saw it myself.
Are there any specific circumstances that lead to this?
Multilpe skins, multiple computers accessing the UI?
jocke
Newbie
Newbie
Posts: 38
Joined: April 22nd, 2009, 4:47 pm

Re: [0.5.3] CherryPy MemoryError

Post by jocke »

shypike wrote:Are there any specific circumstances that lead to this?
Not that I can think of. I haven't been able to reproduce the issue, and it's only happened two times so far.
Multiple skins?
Just the default ones.
Multiple computers accessing the UI?
Mainly just one, but some times there are 2 or 3 computers that access the UI at the same time. I'm not sure how many accessed the UI when the error occurred, though.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.3] CherryPy MemoryError

Post by shypike »

CherryPy is capable of handling multiple access.
I don't know how good that works, because it's very hard to test this seriously.
Looking at the code I'd say it could even be a problem  in the Python runtime library.
Post Reply