Skip to Content
Menu
This question has been flagged
1698 Views

Once a few days my odoo server crash in strange way.

1. "virtual real time limit reached." - i do not know what cause this. Odoo seems to work normally to this point.

2. "Initiating server reload" - After this odoo forgets the original virtualenv and starts to display "No module named 'xmltodict'" until i restart odoo service.



2021-06-17 17:54:18,045 26243 INFO companyname werkzeug: 192.168.254.142 - - [17/Jun/2021 17:54:18] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.011
2021-06-17 17:54:20,525 26243 INFO companyname werkzeug: 192.168.56.207 - - [17/Jun/2021 17:54:20] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.010
2021-06-17 17:54:21,376 26243 INFO companyname werkzeug: 192.168.254.1 - - [17/Jun/2021 17:54:21] "POST /longpolling/poll HTTP/1.1" 200 - 2 0.001 50.006
2021-06-17 17:54:29,302 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12042/12000s) reached.
2021-06-17 17:54:30,304 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12043/12000s) reached.
2021-06-17 17:54:31,306 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12044/12000s) reached.
2021-06-17 17:54:32,307 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12045/12000s) reached.
2021-06-17 17:54:33,309 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12046/12000s) reached.
2021-06-17 17:54:34,311 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12047/12000s) reached.
2021-06-17 17:54:35,312 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12048/12000s) reached.
2021-06-17 17:54:36,314 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12049/12000s) reached.
2021-06-17 17:54:37,316 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12050/12000s) reached.
2021-06-17 17:54:38,318 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12051/12000s) reached.
2021-06-17 17:54:38,355 26243 INFO companyname werkzeug: 192.168.254.95 - - [17/Jun/2021 17:54:38] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.012
2021-06-17 17:54:39,319 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12052/12000s) reached.
2021-06-17 17:54:40,321 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12053/12000s) reached.
2021-06-17 17:54:41,323 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12054/12000s) reached.
2021-06-17 17:54:42,325 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12055/12000s) reached.
2021-06-17 17:54:43,326 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12056/12000s) reached.
2021-06-17 17:54:44,328 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12057/12000s) reached.
2021-06-17 17:54:45,330 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12058/12000s) reached.
2021-06-17 17:54:46,332 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12059/12000s) reached.
2021-06-17 17:54:47,333 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12060/12000s) reached.
2021-06-17 17:54:48,334 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12061/12000s) reached.
2021-06-17 17:54:49,336 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12062/12000s) reached.
2021-06-17 17:54:49,772 26243 INFO companyname werkzeug: 192.168.254.1 - - [17/Jun/2021 17:54:49] "POST /longpolling/im_status HTTP/1.1" 200 - 4 0.002 0.006
2021-06-17 17:54:50,338 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12063/12000s) reached.
2021-06-17 17:54:51,339 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12064/12000s) reached.
2021-06-17 17:54:51,862 26243 INFO companyname werkzeug: 192.168.254.1 - - [17/Jun/2021 17:54:51] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.010
2021-06-17 17:54:52,341 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12066/12000s) reached.
2021-06-17 17:54:53,343 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12067/12000s) reached.
2021-06-17 17:54:54,344 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12068/12000s) reached.
2021-06-17 17:54:55,346 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12069/12000s) reached.
2021-06-17 17:54:56,348 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12070/12000s) reached.
2021-06-17 17:54:57,350 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12071/12000s) reached.
2021-06-17 17:54:58,351 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12072/12000s) reached.
2021-06-17 17:54:59,353 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12073/12000s) reached.
2021-06-17 17:55:00,355 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12074/12000s) reached.
2021-06-17 17:55:01,357 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12075/12000s) reached.
2021-06-17 17:55:02,358 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12076/12000s) reached.
2021-06-17 17:55:03,360 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12077/12000s) reached.
2021-06-17 17:55:03,818 26243 INFO companyname werkzeug: 192.168.254.1 - - [17/Jun/2021 17:55:03] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.010
2021-06-17 17:55:04,362 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12078/12000s) reached.
2021-06-17 17:55:05,364 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12079/12000s) reached.
2021-06-17 17:55:06,365 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12080/12000s) reached.
2021-06-17 17:55:07,367 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12081/12000s) reached.
2021-06-17 17:55:08,185 26243 INFO companyname werkzeug: 192.168.254.142 - - [17/Jun/2021 17:55:08] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.011
2021-06-17 17:55:08,368 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12082/12000s) reached.
2021-06-17 17:55:09,370 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12083/12000s) reached.
2021-06-17 17:55:10,372 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12084/12000s) reached.
2021-06-17 17:55:10,842 26243 INFO companyname werkzeug: 192.168.56.207 - - [17/Jun/2021 17:55:10] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.010
2021-06-17 17:55:11,374 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12085/12000s) reached.
2021-06-17 17:55:11,508 26243 INFO companyname werkzeug: 192.168.254.1 - - [17/Jun/2021 17:55:11] "POST /longpolling/poll HTTP/1.1" 200 - 2 0.001 50.006
2021-06-17 17:55:12,375 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12086/12000s) reached.
2021-06-17 17:55:13,377 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12087/12000s) reached.
2021-06-17 17:55:14,378 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12088/12000s) reached.
2021-06-17 17:55:15,379 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12089/12000s) reached.
2021-06-17 17:55:16,381 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12090/12000s) reached.
2021-06-17 17:55:17,382 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12091/12000s) reached.
2021-06-17 17:55:18,384 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12092/12000s) reached.
2021-06-17 17:55:19,386 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12093/12000s) reached.
2021-06-17 17:55:20,387 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12094/12000s) reached.
2021-06-17 17:55:21,389 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12095/12000s) reached.
2021-06-17 17:55:22,390 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12096/12000s) reached.
2021-06-17 17:55:23,391 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12097/12000s) reached.
2021-06-17 17:55:24,393 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12098/12000s) reached.
2021-06-17 17:55:25,395 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12099/12000s) reached.
2021-06-17 17:55:26,396 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12100/12000s) reached.
2021-06-17 17:55:27,398 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12101/12000s) reached.
2021-06-17 17:55:28,400 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12102/12000s) reached.
2021-06-17 17:55:28,494 26243 INFO companyname werkzeug: 192.168.254.95 - - [17/Jun/2021 17:55:28] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.003 50.011
2021-06-17 17:55:29,401 26243 WARNING companyname odoo.service.server: Thread virtual real time limit (12103/12000s) reached.
2021-06-17 17:55:29,402 26243 INFO companyname odoo.service.server: Dumping stacktrace of limit exceeding threads before reloading
2021-06-17 17:55:29,408 26243 INFO companyname odoo.tools.misc:
# Thread: (db:n/a) (uid:n/a) (url:n/a)
File: "/usr/lib/python3.6/threading.py", line 884, in _bootstrap
self._bootstrap_inner()
File: "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File: "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File: "/usr/lib/python3.6/socketserver.py", line 654, in process_request_thread
self.finish_request(request, client_address)
File: "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
self.RequestHandlerClass(request, client_address, self)
File: "/usr/lib/python3.6/socketserver.py", line 724, in __init__
self.handle()
File: "/home/odoo/odoo-companyname/lib/python3.6/site-packages/werkzeug/serving.py", line 293, in handle
rv = BaseHTTPRequestHandler.handle(self)
File: "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File: "/home/odoo/odoo-companyname/lib/python3.6/site-packages/werkzeug/serving.py", line 324, in handle_one_request
self.raw_requestline = self.rfile.readline()
File: "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
2021-06-17 17:55:29,408 26243 INFO companyname odoo.service.server: Initiating server reload
2021-06-17 17:55:31,263 26243 INFO ? odoo: Odoo version 13.0
2021-06-17 17:55:31,263 26243 INFO ? odoo: Using configuration file at /home/odoo/odoo-companyname/odoo-companyname/odoo-src/debian/odoo.conf
2021-06-17 17:55:31,263 26243 INFO ? odoo: addons paths: ['/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/addons', '/home/odoo/.local/share/Odoo/addons/13.0', '/home/odoo/odoo-companyname/odoo-companyname/addons', '/home/odoo/odoo-companyname/odoo-companyname/odoo-src/addons', '/home/odoo/odoo-companyname/odoo-companyname/maco-odoo-enterprise']
2021-06-17 17:55:31,264 26243 INFO ? odoo: database: odoo@default:default
2021-06-17 17:55:31,613 26243 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2021-06-17 17:55:31,812 26243 INFO ? odoo.service.server: HTTP service (werkzeug) running on HTSOdoo:8069
2021-06-17 17:55:32,006 26243 INFO companyname odoo.modules.loading: loading 1 modules...
2021-06-17 17:55:32,016 26243 INFO companyname odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries
2021-06-17 17:55:32,145 26243 INFO companyname odoo.modules.loading: loading 137 modules...
2021-06-17 17:55:35,571 26243 CRITICAL companyname odoo.modules.module: Couldn't load module companyname
2021-06-17 17:55:35,572 26243 CRITICAL companyname odoo.modules.module: No module named 'xmltodict'
2021-06-17 17:55:35,573 26243 WARNING companyname odoo.modules.loading: Transient module states were reset
2021-06-17 17:55:35,573 26243 ERROR companyname odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/loading.py", line 419, in load_modules
force, status, report, loaded_modules, update_module, models_to_check)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/loading.py", line 315, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/loading.py", line 182, in load_module_graph
load_openerp_module(package.name)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/module.py", line 377, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "/home/odoo/odoo-companyname/odoo-companyname/addons/companyname/__init__.py", line 2, in
from . import models
File "/home/odoo/odoo-companyname/odoo-companyname/addons/companyname/models/__init__.py", line 19, in
from . import sale
File "/home/odoo/odoo-companyname/odoo-companyname/addons/companyname/models/sale.py", line 6, in
import xmltodict
ModuleNotFoundError: No module named 'xmltodict'
2021-06-17 17:55:35,576 26243 CRITICAL companyname odoo.service.server: Failed to initialize database `companyname`.
Traceback (most recent call last):
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/service/server.py", line 1179, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/loading.py", line 419, in load_modules
force, status, report, loaded_modules, update_module, models_to_check)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/loading.py", line 315, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/loading.py", line 182, in load_module_graph
load_openerp_module(package.name)
File "/home/odoo/odoo-companyname/odoo-companyname/odoo-src/odoo/modules/module.py", line 377, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "/home/odoo/odoo-companyname/odoo-companyname/addons/companyname/__init__.py", line 2, in
from . import models
File "/home/odoo/odoo-companyname/odoo-companyname/addons/companyname/models/__init__.py", line 19, in
from . import sale
File "/home/odoo/odoo-companyname/odoo-companyname/addons/companyname/models/sale.py", line 6, in
import xmltodict
ModuleNotFoundError: No module named 'xmltodict'

Avatar
Discard