Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odoo 15 slow response #460

Open
pabloiarriola opened this issue Jul 14, 2023 · 3 comments
Open

Odoo 15 slow response #460

pabloiarriola opened this issue Jul 14, 2023 · 3 comments

Comments

@pabloiarriola
Copy link

We migrated a Odoo 15 installation from vm to another one. The first machine was using an odoo 15 image from around january 2023 the new machine is using an image from 12 july 2023.

The problem that we are having is that everything inside Odoo is loading really slow, before we had loading time of the login screen of around 1s, now its around 2minutes to just load the login screen and inside every screen takes around the same time to load. Our .conf is the following

limit_memory_soft = 5764607523
max_cron_threads = 2
workers = 4
limit_memory_hard = 8646911288
limit_time_cpu = 900000000
limit_time_real = 300000000
limit_request = 8196

We have odoo 15 in a machine running alone as a docker container, the machine specs are 12GB ram, 8vcpu and 50GB HDD. The database is in another machine and we are using postgresql 12.10. In front of odoo we have a AWS ALB. We know the problem is something inside ODOO and not network as when we make a ping to the machine its taking 20ms but when we make a curl to the login page it takes in average between 40s and 2 minutes

@jhollandcfs
Copy link

@pabloiarriola did you ever get this resolved? We are experiencing the exact same issue under nearly the exact same circumstances.

@amh-mw
Copy link

amh-mw commented Feb 1, 2024

Those limit_time_cpu/limit_time_real values seem like an invitation for denial of service. Default values for those settings are 60/120 seconds, not the massive values above measured in years!

@jhollandcfs
Copy link

Follow up: I think I have found resolution. Was using S3 to mount the filestore instead of EFS and something about Odoo (or at least the Bitnami Odoo image) does NOT like using S3 like that. Moving the filestore to a non-S3 filesystem seemed to clear up the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants