Skip to Content
Menu
This question has been flagged
1 Reply
2991 Views

When i login as Odoo-User (Administrator, CommercialManager,...), my session get lost every minute :


2022-10-01 09:24:10,331 14975 INFO ? odoo\.service\.server:\ HTTP\ service\ \(werkzeug\)\ running\ through\ socket\ activation\
2022\-10\-01\ 09:24:10,342\ 14975\ INFO\ \?\ odoo\.sql_db:\ Connection\ to\ the\ database\ failed\
2022\-10\-01\ 09:24:10,342\ 14975\ CRITICAL\ \?\ odoo\.service\.server:\ Failed\ to\ initialize\ database\ `my\-oerp\-master\-1178879`\.\
Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/odoo/src/odoo/odoo/service/server\.py",\ line\ 1194,\ in\ preload_registries
\ \ \ \ registry\ =\ Registry\.new\(dbname,\ update_module=update_module\)
\ \ File\ "/home/odoo/src/odoo/odoo/modules/registry\.py",\ line\ 75,\ in\ new
\ \ \ \ registry\.init\(db_name\)
\ \ File\ "/home/odoo/src/odoo/odoo/modules/registry\.py",\ line\ 144,\ in\ init
\ \ \ \ with\ closing\(self\.cursor\(\)\)\ as\ cr:
\ \ File\ "/home/odoo/src/odoo/odoo/modules/registry\.py",\ line\ 563,\ in\ cursor
\ \ \ \ return\ self\._db\.cursor\(\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 669,\ in\ cursor
\ \ \ \ return\ Cursor\(self\.__pool,\ self\.dbname,\ self\.dsn,\ serialized=serialized\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 196,\ in\ __init__
\ \ \ \ self\._cnx\ =\ pool\.borrow\(dsn\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 552,\ in\ _locked
\ \ \ \ return\ fun\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 620,\ in\ borrow
\ \ \ \ \*\*connection_info\)
\ \ File\ "/usr/local/lib/python3\.6/dist\-packages/psycopg2/__init__.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: too many connections for role "p_my_oerp_master_1178879"

2022-10-01 09:24:10,382 14975 INFO ? odoo.http: HTTP Configuring static files
2022-10-01 09:24:10,390 14975 INFO my-oerp-master-1178879 odoo.sql_db: Connection to the database failed
2022-10-01 09:24:10,391 14975 INFO my-oerp-master-1178879 odoo.http: Generating nondb routing
2022-10-01 09:24:10,405 14975 INFO None odoo.sql_db: Connection to the database failed  

Avatar
Discard
Best Answer

Be sure that each user account is unique and no other members are logging in by the same user name

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 24
3978
1
Oct 22
3767
1
Jul 24
2129
1
Mar 24
12325
1
Dec 23
43367