I work with Odoo Version 15 with one database, i use worker = 0, everything is good and odoo runs very good with 20 users.
But when i activate the workers (Example : workers = 4 or 6 or 9 just for testing), i cant open odoo, it become very slow even if im the only one using odoo and it will take 60 seconds to just refresh the main page of odoo.
Even when i activate the workers, The RAM and CPUs uses just like 20% of there limit. it doesnt reach a level where i can say that is because of the hardware performances.
The objectif is to have 60 to 80 concurent users.
I'm using a server with :
- 32 Go RAM
- 24 CPUs (Intel® Xeon(R) Silver 4310 CPU @ 2.10GHz × 24)
- 2.4 TB SSD
My odoo.conf :
[options] addons_path = /opt/odoo/odoo/addons,/opt/odoo/addons_custom/test/PBE, admin_passwd = admin db_host = False db_port = 5432 db_user = odoo db_password = odoopwd http_port = 8069 data_dir = /odoo_filestore_2 proxy_mode=True limit_time_cpu = 360 limit_time_real = 36000 db_maxconn = 120 workers = 9 longpolling_port = 8072 logfile = /var/log/odoo/odoo.log
I tried to activate workers
Expected : I expect odoo tu run without slowing (refresh time : 2 secondes like when workers = 0)
Result : Odoo run very slow (refresh time : more than 1 minute)