sab daemon restarts every time the queue clears
Posted: January 24th, 2013, 6:36 am
I have an instillation of sab that has been in place and working working perfectly since 2010, but in the last month or so it's started exhibiting some unusual behaviour. Every time the queue clears the sab daemon auto-restarts. I haven't made any changes to sab at all other than upgrading whenever a there is a new release. It's running on Ubuntu 12.04.1 LTS currently running sab 0.7.9-0ubuntu1 from the repository.
The logs indicate that there is some kind of problem in handle_empty_queue() but unfortunately I'm no programmer so I don't know how to get to the bottom of it.
sabnzbd.error.log
sabnzbd.log
cherrypy.log
Any help at all appreciated.
The logs indicate that there is some kind of problem in handle_empty_queue() but unfortunately I'm no programmer so I don't know how to get to the bottom of it.
sabnzbd.error.log
Code: Select all
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 167, in run
handle_empty_queue()
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 648, in handle_empty_queue
sabnzbd.QUEUECOMPLETEACTION(sabnzbd.QUEUECOMPLETEARG)
File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 761, in run_script
startupinfo=stup, creationflags=creationflags)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Code: Select all
2013-01-24 10:44:57,027::INFO::[_cplogging:55] [24/Jan/2013:10:44:57] ENGINE Bus STOPPING
2013-01-24 10:45:02,560::INFO::[_cplogging:55] [24/Jan/2013:10:45:02] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) shut down
2013-01-24 10:45:02,602::INFO::[_cplogging:55] [24/Jan/2013:10:45:02] ENGINE Stopped thread '_TimeoutMonitor'.
2013-01-24 10:45:02,603::INFO::[_cplogging:55] [24/Jan/2013:10:45:02] ENGINE Bus STOPPED
2013-01-24 10:45:02,603::INFO::[_cplogging:55] [24/Jan/2013:10:45:02] ENGINE Bus EXITING
2013-01-24 10:45:02,603::INFO::[_cplogging:55] [24/Jan/2013:10:45:02] ENGINE Bus EXITED
2013-01-24 10:45:02,604::INFO::[_cplogging:55] [24/Jan/2013:10:45:02] ENGINE Re-spawning /usr/bin/sabnzbdplus --daemon --autorestarted
2013-01-24 10:45:06,935::INFO::[_cplogging:55] [24/Jan/2013:10:45:06] ENGINE Bus STARTING
2013-01-24 10:45:06,956::INFO::[_cplogging:55] [24/Jan/2013:10:45:06] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-01-24 10:45:07,165::INFO::[_cplogging:55] [24/Jan/2013:10:45:07] ENGINE Serving on 127.0.0.1:8080
2013-01-24 10:45:07,166::INFO::[_cplogging:55] [24/Jan/2013:10:45:07] ENGINE Bus STARTED
Code: Select all
[24/Jan/2013:10:44:57] ENGINE Bus STOPPING
[24/Jan/2013:10:45:02] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) shut down
[24/Jan/2013:10:45:02] ENGINE Stopped thread '_TimeoutMonitor'.
[24/Jan/2013:10:45:02] ENGINE Bus STOPPED
[24/Jan/2013:10:45:02] ENGINE Bus EXITING
[24/Jan/2013:10:45:02] ENGINE Bus EXITED
[24/Jan/2013:10:45:02] ENGINE Re-spawning /usr/bin/sabnzbdplus --daemon --autorestarted
[24/Jan/2013:10:45:06] ENGINE Bus STARTING
[24/Jan/2013:10:45:06] ENGINE Started monitor thread '_TimeoutMonitor'.
[24/Jan/2013:10:45:07] ENGINE Serving on 127.0.0.1:8080
[24/Jan/2013:10:45:07] ENGINE Bus STARTED
