Page 1 of 1

Sabnzbd 0.6.1 Intermittent crashes and pulsating downloads

Posted: May 24th, 2011, 2:48 pm
by ZephyrFox
Version: 0.6.1
OS: Windows XP Pro x64 Version 2003 SP2
System: Intel Core 2 Duo E6850 @ 3GHz, 4GB RAM
Install-type: Windows zip
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? kinda

Issue #1: Intermittent crashes
About 3-4 times a week, sabnzbd will crash. The crashes occur irregularly but consistently. It's own log file produces nothing particularly useful:

Code: Select all

example 1
2011-05-24 10:27:34,812::ERROR::[downloader:502] Failed login for server secure.usenetserver.com:443
*** crashed here (see Windows event log below) ***
2011-05-24 13:52:21,750::INFO::[_cplogging:55] [24/May/2011:13:52:21] ENGINE Bus STARTING

example 2
2011-05-22 16:18:01,342::ERROR::[__init__:802] Loading d:\_nzbs\temp\somedir\__ADMIN__\SABnzbd_article_0viqs2 failed
*** crashed sometime here ***
2011-05-22 18:57:27,092::INFO::[_cplogging:55] [22/May/2011:18:57:27] ENGINE Bus STARTING
Windows event log provides the following for example 1 above but nothing for example 2:

Code: Select all

Event Type:	Error
Event Source:	Application Error
Event Category:	None
Event ID:	1000
Date:		5/24/2011
Time:		10:35:30 AM
User:		N/A
Computer:	COMPUTER
Description:
Faulting application sabnzbd.exe, version 0.6.1.0, faulting module _yenc.pyd, version 0.0.0.0, fault address 0x000019e7.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 73 61 62   ure  sab
0018: 6e 7a 62 64 2e 65 78 65   nzbd.exe
0020: 20 30 2e 36 2e 31 2e 30    0.6.1.0
0028: 20 69 6e 20 5f 79 65 6e    in _yen
0030: 63 2e 70 79 64 20 30 2e   c.pyd 0.
0038: 30 2e 30 2e 30 20 61 74   0.0.0 at
0040: 20 6f 66 66 73 65 74 20    offset 
0048: 30 30 30 30 31 39 65 37   000019e7
0050: 0d 0a                     ..      

Issue #2: Pulsating (for lack of a better word) downloads
Occasionally the DL rate will begin to drop and spike. Rate will suddenly drop from the (otherwise consistent) 2-3 MB/s to idle and then spike back up. A restart will resolve the issue. If left alone, sabnzbd will eventually return to a consistent rate but can take anywhere from minutes to hours. Logs appear to show nothing out of the ordinary.

ini

Code: Select all

__version__ = 19

[misc]
queue_complete = ""
https_port = 9090
folder_rename = 1
allow_64bit_tools = 1
rss_rate = 15
https_key = server.key
cleanup_list = ,
cache_limit = 128M
par_option = -t+
web_color = black
replace_spaces = 0
web_color2 = ""
dirscan_speed = 30
enable_filejoin = 1
create_group_folders = 0
api_key = 
no_penalties = 0
bandwidth_limit = 0
dirscan_dir = d:\_nzbs\watch
disable_api_key = 0
email_to = ,
password = 
permissions = ""
auto_disconnect = 1
enable_date_sorting = 0
replace_dots = 0
movie_sort_extra = -cd%1
ionice = ""
enable_unzip = 1
download_free = 1G
port = 8091
email_dir = ""
email_full = 0
log_dir = logs
admin_dir = admin
nzb_backup_dir = ""
tv_sort_countries = 1
date_categories = tv,
ssl_type = v23
date_sort_string = ""
schedlines = ,
host = 0.0.0.0
ignore_samples = 2
enable_tsjoin = 1
auto_browser = 0
pause_on_post_processing = 0
enable_unrar = 1
email_account = ""
email_server = ""
config_lock = 0
api_warnings = 1
tv_sort_string = ""
dirscan_priority = 0
username = 
download_dir = d:\_nzbs\temp
size_limit = ""
enable_par_cleanup = 1
safe_postproc = 1
cache_dir = cache
complete_dir = d:\
replace_illegal = 1
par2_multicore = 1
warned_old_queue = 0
language = en
check_new_rel = 1
enable_https = 0
no_dupes = 0
top_only = 0
quick_check = 1
movie_sort_string = ""
email_from = ""
movie_extra_folder = 0
dirscan_script = None
email_endjob = 0
tv_categories = ,
unpack_check = 1
login_realm = SABnzbd
send_group = 0
refresh_rate = 0
movie_categories = movies,
script_dir = 
email_pwd = ""
ignore_wrong_unrar = 0
nice = ""
enable_movie_sorting = 0
https_cert = server.cert
web_dir2 = ""
fail_on_crc = 1
auto_sort = 1
dirscan_opts = 3
web_dir = smpl
queue_complete_pers = 0
enable_tv_sorting = 0
folder_max_length = 128
password_file = ""
ignore_unrar_dates = 0
never_repair = 0
pre_script = None
sfv_check = 1
email_rss = 0
allow_streaming = 0
pause_on_pwrar = 1
nzb_key = 
ampm = 0

[logging]
max_log_size = 5242880
log_level = 0
log_backups = 5
enable_cherrypy_logging = 0
log_new = 0

[newzbin]
username = 
https = 1
bookmark_rate = 15
bookmarks = 1
password = 
unbookmark = 1
[nzbmatrix]
username = 
apikey = 
del_bookmark = 1

[servers]
[[ssl.astraweb.com:563]]
username = 
enable = 1
name = ssl.astraweb.com:563
fillserver = 0
connections = 5
ssl = 1
host = ssl.astraweb.com
timeout = 120
password = 
optional = 0
port = 443
retention = 1000
[[secure.usenetserver.com]]
username =
enable = 1
name = secure.usenetserver.com
fillserver = 0
connections = 10
ssl = 1
host = secure.usenetserver.com
timeout = 120
password =
optional = 0
port = 443
retention = 1000
[[ssl.astraweb.com]]
username =
enable = 1
name = ssl.astraweb.com
fillserver = 0
connections = 5
ssl = 1
host = ssl.astraweb.com
timeout = 120
password =
optional = 0
port = 563
retention = 1000

Re: Sabnzbd 0.6.1 Intermittent crashes and pulsating downloads

Posted: May 24th, 2011, 3:04 pm
by shypike
SABnzbd crashing like this is an extremely rare event that's hardly ever reported.
It also something beyond our control, since it  crashes in a part of the language runtime we use.
It's actually very hard to cause true crashes in a Python program.

You're second complaint could be something with the server
or the way SABnzbd reacts to it. Without more details it's very hard to tell.
Communication is along chain in which any part might encounter issues.
There could very well be a SABnzbd problem, but like I said, hard to tell from this.

Re: Sabnzbd 0.6.1 Intermittent crashes and pulsating downloads

Posted: May 24th, 2011, 4:03 pm
by ZephyrFox
Thanks for your reply, appreciate the time and effort you've put into this project.

FWIW, after playing around with settings for the past few days, I noticed that larger article cache values seemed to cause the crashes more frequently. With it set at 512M or larger, it was crashing every few hours. It's probably some quirk with ActivePython and XP x64- I'm just going to move things to a different box. Thanks again!

Re: Sabnzbd 0.6.1 Intermittent crashes and pulsating downloads

Posted: June 1st, 2011, 12:59 pm
by kenmex
Hi,

I have the exact same issue.

Win XP Home SP3
Intel Pentium M 1,73GHz - 1GB RAM

Event Type: Error
Event Source: Application Error
Event Category: None
Event ID: 1000
Date: 6/01/2011
Time: 19:42:20
User: N/A
Computer: M_TOSHIBA
Description:
Faulting application sabnzbd.exe, version 0.6.1.0, faulting module _yenc.pyd, version 0.0.0.0, fault address 0x000019e7.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74  Applicat
0008: 69 6f 6e 20 46 61 69 6c  ion Fail
0010: 75 72 65 20 20 73 61 62  ure  sab
0018: 6e 7a 62 64 2e 65 78 65  nzbd.exe
0020: 20 30 2e 36 2e 31 2e 30    0.6.1.0
0028: 20 69 6e 20 5f 79 65 6e    in _yen
0030: 63 2e 70 79 64 20 30 2e  c.pyd 0.
0038: 30 2e 30 2e 30 20 61 74  0.0.0 at
0040: 20 6f 66 66 73 65 74 20    offset
0048: 30 30 30 30 31 39 65 37  000019e7
0050: 0d 0a                    ..     

The situations is exactly as ZephyrFox describes it for me as well, although I don't have any speed issues.
Event with 64MB for cache, the problem is still there.

Thanks,
kostas

Re: Sabnzbd 0.6.1 Intermittent crashes and pulsating downloads

Posted: June 1st, 2011, 4:22 pm
by shypike
What can I say?
Very few people see this issue.