cherrypy shutdown - sabnzbd still running
Posted: March 6th, 2012, 2:10 pm
Hello sabnzbd developers,
after many years of using sabnzbd/sabnzbd+ I'm experiencing a serious problem since a few days: The webserver is killed every few hours/days, but the sabnzbd process is still running!
Version: 0.6.14
OS: Ubuntu Oneiric Server
Install-type: python source (linux)
Skin (if applicable): Plush Gold
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
The relevant log-lines look like:
What to do?
after many years of using sabnzbd/sabnzbd+ I'm experiencing a serious problem since a few days: The webserver is killed every few hours/days, but the sabnzbd process is still running!
Version: 0.6.14
OS: Ubuntu Oneiric Server
Install-type: python source (linux)
Skin (if applicable): Plush Gold
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
The relevant log-lines look like:
Code: Select all
2012-03-06 09:34:52,386::ERROR::[_cplogging:55] [06/Mar/2012:09:34:52] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/home/sabnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
File "/home/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1655, in start
self.tick()
File "/home/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1703, in tick
s, addr = self.socket.accept()
File "<string>", line 4, in accept
File "/home/sabnzbd/lib/python2.7/socket.py", line 202, in accept
error: [Errno 24] Too many open files
2012-03-06 09:34:52,419::INFO::[_cplogging:55] [06/Mar/2012:09:34:52] ENGINE Bus STOPPING
2012-03-06 09:34:52,447::INFO::[_cplogging:55] [06/Mar/2012:09:34:52] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('domain.name', sslport)) shut down
2012-03-06 09:34:52,467::ERROR::[_cplogging:55] [06/Mar/2012:09:34:52] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/home/sabnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/home/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1655, in start
self.tick()
File "/home/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1703, in tick
s, addr = self.socket.accept()
File "/home/sabnzbd/lib/python2.7/socket.py", line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 24] Too many open files
2012-03-06 09:34:52,468::INFO::[_cplogging:55] [06/Mar/2012:09:34:52] ENGINE Bus STOPPING
2012-03-06 09:34:52,468::INFO::[_cplogging:55] [06/Mar/2012:09:34:52] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('domain.name', sslport)) already shut down
2012-03-06 09:34:57,483::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('domain.name', normalport)) shut down
2012-03-06 09:34:57,485::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('domain.name', normalport)) shut down
2012-03-06 09:34:57,518::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Stopped thread '_TimeoutMonitor'.
2012-03-06 09:34:57,519::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Bus STOPPED
2012-03-06 09:34:57,519::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Bus EXITING
2012-03-06 09:34:57,520::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Bus EXITED
2012-03-06 09:34:57,520::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Stopped thread '_TimeoutMonitor'.
2012-03-06 09:34:57,521::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Bus STOPPED
2012-03-06 09:34:57,521::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Bus EXITING
2012-03-06 09:34:57,522::INFO::[_cplogging:55] [06/Mar/2012:09:34:57] ENGINE Bus EXITED