I am trying to run with workers in my odoo8.
I added --workers=2 in my command line when I run odoo.Then I got this error.
2020-09-05 13:40:03,762 12365 ERROR erp openerp.service.server: Worker (12365) Exception occured, exiting...
Traceback (most recent call last):
File "/home/hsu/gitlab/isp-erp/odoo/openerp/service/server.py", line 725, in run
self.start()
File "/home/hsu/gitlab/isp-erp/odoo/openerp/service/server.py", line 767, in start
self.server = BaseWSGIServerNoBind(self.multi.app)
File "/home/hsu/gitlab/isp-erp/odoo/openerp/service/server.py", line 62, in __init__
werkzeug.serving.BaseWSGIServer.__init__(self, "1", "1", app)
File "/home/hsu/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 705, in __init__
self.port = self.socket.getsockname()[1]
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
File "/usr/lib/python2.7/socket.py", line 174, in _dummy
raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
Have anyone know this issue happend?Please help me.Thanks.