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 closes user sessions every time #96913

Open
specks-zz opened this issue Jul 27, 2022 · 2 comments
Open

Odoo closes user sessions every time #96913

specks-zz opened this issue Jul 27, 2022 · 2 comments

Comments

@specks-zz
Copy link

Impacted versions: 13 Community

Hi, I need help.

In my company we have deployed Odoo 13 Community.

In the las 2 months we have problems in the longpolling configuration,
this has caused sessions to be closed every time.
In the firefox logs i see that when the poll connection failed the session are closed (hcm_ciberc is the database name)
image

In the server log i see many logs from longpolling, this is normal??
image

This is my odoo-server.conf configuration

image

And this is the configuration in nginx from my site.
image

The red marks indicate the parameters that I have added following guides from various posts

In postgres.conf in postgres I also applied several improvements suggested in this post
https://www.odoo.com/es_ES/forum/ayuda-1/odoo-server-and-postgresql-optimization-158168

But nothing works properly

My server’s configuration are:
Ubuntu Server 20
32 GB Ram
1 TB HDD
8 Cpu’s Cores
The datadase is hosted in another server with the same configuration.
Please guide me to apply a correct configuration

Regards.

@j-z10
Copy link

j-z10 commented Jul 28, 2022

maybe u login 2 or more user in one same browser?

@specks-zz
Copy link
Author

Hi.
I'm not sure if that is the case, I mean, I've validated with the users that use the system the most, however they are in several countries so it is difficult to know if that is the problem.
I have reviewed the system logs and and querying in postgres i saw that reaching 105 or more transactions is when the sessions begin to close:
image

At the moment I have removed the option of the workers in odoo.conf, now it shows an alert however the sessions are not closed.

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

2 participants