环境:几周的新设置。服务器操作系统:CentOS 7.9 Odoo 14
系统已启动并正在运行,但系统可能会突然崩溃而没有任何错误警告。网页变成“502, Bad Gateway” 我SSH登录系统并执行“systemctl restart odoo14”,服务将恢复正常。
我已将“--limit-time-real=100000”添加到“/etc/odoo14.conf”文件中。我有 chmod "/etc/systemd/system/odoo14.service" 可执行文件,所有者是 root。
还有什么可能是系统未能“启动服务器重新加载”的原因
这是日志文件,最后一部分。(xxx.xxx.xxx.xxx是我隐藏的IP地址)
===========日志文件启动=========
imaplib.IMAP4.error: b'登录失败。'
2021-03-29 05:20:05,221 12502 信息 VONEODOO odoo.addons.base.models.ir_cron:工作Mail: Fetchmail Service
完成。
2021-03-29 05:20:05,316 12502 信息 VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:20:05] “POST /longpolling/im_status HTTP/1.1”200 - 4 0.002 0.007
2021-03-29 05:20:21,536 12502 信息 VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:20:21] “POST /longpolling/poll HTTP/1.1”200-8 0.002 50.009
2021-03-29 05:20:39,927 12502 INFO VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:20:39] “POST /longpolling/poll HTTP/1.1”200-8 0.002 50.009
2021-03-29 05:20:40,777 12502 INFO VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:20:40] “POST /longpolling/im_status HTTP/1.1”200 - 4 0.002 0.007
2021-03-29 05:20:55,769 12502 信息 VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:20:55] “POST /longpolling/im_status HTTP/1.1”200 - 4 0.002 0.007
2021-03-29 05:21:11,636 12502 INFO VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:21:11]“POST /longpolling/poll HTTP/1.1”200-8 0.002 50.009
2021-03-29 05:21:29,989 12502 INFO VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:21:29]“POST /longpolling/poll HTTP/1.1”200-8 0.002 50.009
2021-03-29 05:21:31,779 12502 INFO VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:21:31] “POST /longpolling/im_status HTTP/1.1”200 - 4 0.002 0.006
2021-03-29 05:21:46,776 12502 信息 VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:21:46] “POST /longpolling/im_status HTTP/1.1”200 - 4 0.002 0.007
2021-03-29 05:22:01,698 12502 INFO VONEODOO werkzeug: xxx.xxx.xxx.xxx - - [29/Mar/2021 05:22:01]“POST /longpolling/poll HTTP/1.1”200-8 0.002 50.009
2021-03-29 05:22:04,989 12502 警告?odoo.service.server:线程<线程(odoo.service.http.request.139997930301184,开始139997930301184)>达到虚拟实时限制(167/120s)。
2021-03-29 05:22:04,989 12502 信息?odoo.service.server:在重新加载之前转储超出线程限制的堆栈跟踪
2021-03-29 05:22:04,991 12502 信息?odoo.tools.misc:线程:<线程(odoo.service.http.request.139997930301184,开始 139997930301184)>(db:n/a)(uid:n/a)(url:n/a)
文件:“/usr/lib64/python3.6/threading.py”,第 884 行,在 _bootstrap
self._bootstrap_inner()
文件:“/usr/lib64/python3.6/threading.py”,第 916 行,在 _bootstrap_inner
自我运行()
文件:“/usr/lib64/python3.6/threading.py”,第 864 行,运行中
self._target(*self._args, **self._kwargs)
文件:“/usr/lib64/python3.6/socketserver.py”,第 654 行,在 process_request_thread 中
self.finish_request(request, client_address)
文件:“/usr/lib64/python3.6/socketserver.py”,第 364 行,在 finish_request
self.RequestHandlerClass(request, client_address, self)
文件:“/usr/lib64/python3.6/socketserver.py”,第 724 行,在init
self.handle()
文件:“/opt/odoo14/venv/lib64/python3.6/site-packages/werkzeug/serving.py”,第 329 行,在句柄中
rv = BaseHTTPRequestHandler.handle(self)
文件:“/usr/lib64/python3.6/http/server.py”,第 418 行,在句柄中
self.handle_one_request()
文件:“/opt/odoo14/venv/lib64/python3.6/site-packages/werkzeug/serving.py”,第 360 行,在 handle_one_request
self.raw_requestline = self.rfile.readline()
文件:“/usr/lib64/python3.6/socket.py”,第 586 行,已读入
返回 self._sock.recv_into(b)
2021-03-29 05:22:04,991 12502 信息?odoo.service.server:发起服务器重载==========日志文件结束=========
非常感谢您。