Skip to Content
Menu
This question has been flagged
2209 Views

Environment: New setup for a couple of weeks. Server OS: CentOS 7.9 Odoo 14

the system is up and running, but the system may suddenly crash without any error warning. the webpage became to "502, Bad Gateway" I SSH login the system and conduct "systemctl restart odoo14", the service will back to normal.

I have added "--limit-time-real=100000" into the "/etc/odoo14.conf" file. I have chmod "/etc/systemd/system/odoo14.service" to executable, and owner is root.

what else could be the reason for the system failed to "initiating server reload"

here is the log file, last part. (xxx.xxx.xxx.xxx is the IP address I hided)

= = = = = = = = = = = log file start = = = = = = = = =

imaplib.IMAP4.error: b'LOGIN failed.'

2021-03-29 05:20:05,221 12502 INFO VONEODOO odoo.addons.base.models.ir_cron: Job Mail: Fetchmail Service done.

2021-03-29 05:20:05,316 12502 INFO 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 INFO 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 INFO 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 INFO 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 WARNING ? odoo.service.server: Thread <Thread(odoo.service.http.request.139997930301184, started 139997930301184)> virtual real time limit (167/120s) reached.

2021-03-29 05:22:04,989 12502 INFO ? odoo.service.server: Dumping stacktrace of limit exceeding threads before reloading

2021-03-29 05:22:04,991 12502 INFO ? odoo.tools.misc: Thread: <Thread(odoo.service.http.request.139997930301184, started 139997930301184)> (db:n/a) (uid:n/a) (url:n/a)

File: "/usr/lib64/python3.6/threading.py", line 884, in _bootstrap

self._bootstrap_inner()

File: "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()

File: "/usr/lib64/python3.6/threading.py", line 864, in run

self._target(*self._args, **self._kwargs)

File: "/usr/lib64/python3.6/socketserver.py", line 654, in process_request_thread

self.finish_request(request, client_address)

File: "/usr/lib64/python3.6/socketserver.py", line 364, in finish_request

self.RequestHandlerClass(request, client_address, self)

File: "/usr/lib64/python3.6/socketserver.py", line 724, in init

self.handle()

File: "/opt/odoo14/venv/lib64/python3.6/site-packages/werkzeug/serving.py", line 329, in handle

rv = BaseHTTPRequestHandler.handle(self)

File: "/usr/lib64/python3.6/http/server.py", line 418, in handle

self.handle_one_request()

File: "/opt/odoo14/venv/lib64/python3.6/site-packages/werkzeug/serving.py", line 360, in handle_one_request

self.raw_requestline = self.rfile.readline()

File: "/usr/lib64/python3.6/socket.py", line 586, in readinto

return self._sock.recv_into(b)

2021-03-29 05:22:04,991 12502 INFO ? odoo.service.server: Initiating server reload = = = = = = = = = log file end = = = = = = = = =

thank you very much.

Avatar
Discard