Page 1 of 1

2GB logfile - causing crashes?

Posted: December 24th, 2010, 4:39 am
by dualnic
my logfile on windows xp became 2GB and as a reasult i think it started to cause my sabnzbd to crash several times. i have removed it now and ill see if it still crashes

Version: 0.5.6 and 0.5.5
OS: XP
Install-type: windows installer
Are you using IPV6? yes

Re: 2GB logfile - causing crashes?

Posted: December 24th, 2010, 6:04 am
by shypike
This is a long-standing issue that we cannot solve.
It helps to set the logging level to errors/warnings only.
2G is probably the limit in your file system (or the runtime libraries we use).
We are looking at an improvement for a future release.

Re: 2GB logfile - causing crashes?

Posted: December 24th, 2010, 4:02 pm
by dualnic
just for refrence the file was SABnzbd.exe.log and it was just the same few lines repeated over again saying that the file couldnt be clossed. and still the program crashes abit even for small lists. it should be noted that this didnt happen when i first installed sab ~six months ago but only recently.

Re: 2GB logfile - causing crashes?

Posted: December 25th, 2010, 7:47 am
by shypike
SABnzbd.exe.log is written to when an unhandled error occurs in SABnzbd.
The fact that this file is created signals a problem with SABnzbd.
Can you tell what's exactly in the file?

In my previous message I referred to another problem.

Re: 2GB logfile - causing crashes?

Posted: December 25th, 2010, 7:03 pm
by dualnic
ERROR DURING SCHEDULER EXECUTION list index out of range
Traceback (most recent call last):
  File "sabnzbd\utils\kronos.pyo", line 277, in _run
  File "sched.pyo", line 108, in run
  File "sabnzbd\utils\kronos.pyo", line 104, in __delayfunc
  File "sabnzbd\utils\kronos.pyo", line 269, in _getqueuetoptime
IndexError: list index out of range

--------------------
ERROR DURING SCHEDULER EXECUTION list index out of range
Traceback (most recent call last):
  File "sabnzbd\utils\kronos.pyo", line 277, in _run
  File "sched.pyo", line 108, in run
  File "sabnzbd\utils\kronos.pyo", line 104, in __delayfunc
  File "sabnzbd\utils\kronos.pyo", line 269, in _getqueuetoptime
IndexError: list index out of range

--------------------
Traceback (most recent call last):
  File "logging\handlers.pyo", line 74, in emit
  File "logging\handlers.pyo", line 131, in doRollover
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
Traceback (most recent call last):

"Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file"

is then repeated thousands of times

Re: 2GB logfile - causing crashes?

Posted: December 26th, 2010, 3:43 am
by shypike
This looks like a corrupted line in sabnzbd.ini,
the line containing "schedlines" is not formatted correctly.
FInd sabnzbd.ini and remove the line containing schedlines.
You'll loose any schedule you entered in SABnzbd.

http://wiki.sabnzbd.org/configure-v2

Re: 2GB logfile - causing crashes?

Posted: December 28th, 2010, 4:42 am
by dualnic
i tried deleting my config file but it still freezes up i know get this in my log file... with no buffer space available being repeated several times


2010-12-28 05:38:42,765::INFO::[newswrapper:215] Failed to connect: (10060, "(10055, 'No buffer space available')") [email protected]:119
2010-12-28 05:38:42,765::INFO::[newswrapper:215] Failed to connect: (10060, "(10055, 'No buffer space available')") [email protected]:119
2010-12-28 05:40:43,765::INFO::[downloader:465] [email protected]:119: Initiating connection
2010-12-28 05:40:43,765::INFO::[downloader:465] [email protected]:119: Initiating connection
2010-12-28 05:40:43,765::INFO::[downloader:465] [email protected]:119: Initiating connection
2010-12-28 05:40:43,765::INFO::[downloader:465] [email protected]:119: Initiating connection
2010-12-28 05:40:43,765::INFO::[downloader:465] [email protected]:119: Initiating connection
2010-12-28 05:40:43,765::INFO::[downloader:465] [email protected]:119: Initiating connection
2010-12-28 05:40:43,765::INFO::[newswrapper:215] Failed to connect: (10060, "(10055, 'No buffer space available')") [email protected]:119
2010-12-28 05:40:58,765::INFO::[newswrapper:215] Failed to connect: (10060, "(11001, 'getaddrinfo failed')") [email protected]:119
2010-12-28 05:41:13,765::INFO::[newswrapper:215] Failed to connect: (10060, "(11001, 'getaddrinfo failed')") [email protected]:119
2010-12-28 05:41:28,765::INFO::[newswrapper:215] Failed to connect: (10060, "(11001, 'getaddrinfo failed')") [email protected]:119
2010-12-28 05:41:43,765::INFO::[newswrapper:215] Failed to connect: (10060, "(11001, 'getaddrinfo failed')") [email protected]:119
2010-12-28 05:41:58,765::INFO::[newswrapper:215] Failed to connect: (10060, "(11001, 'getaddrinfo failed')")

Re: 2GB logfile - causing crashes?

Posted: December 28th, 2010, 5:38 am
by shypike
I'd say there's something wrong with your IPv6 stack.

Re: 2GB logfile - causing crashes?

Posted: December 28th, 2010, 6:02 am
by dualnic
ok thank you, ill trying removing ipv6 and see how it goes

Re: 2GB logfile - causing crashes?

Posted: December 28th, 2010, 6:08 am
by dualnic
sorry i also got this in my sabnzbd.exe.log

ERROR DURING SCHEDULER EXECUTION list index out of range
Traceback (most recent call last):
  File "sabnzbd\utils\kronos.pyo", line 277, in _run
  File "sched.pyo", line 108, in run
  File "sabnzbd\utils\kronos.pyo", line 104, in __delayfunc
  File "sabnzbd\utils\kronos.pyo", line 269, in _getqueuetoptime
IndexError: list index out of range

--------------------

even after deleting the  sabnzbd.ini. i think ill try a fresh install.