跳至内容
菜单
此问题已终结
1 回复
14419 查看

Hi all,

I am using Odoo V8. I want to know the use of db_maxconn parameter in odoo conf file. If i decrease the value it shows error >>> PoolError: The Connection Pool Is Full

Now i increased to 500. it shows >>> psql: FATAL: remaining connection slots are reserved for non-replication superuser connections

Any help is appreciated !

形象
丢弃
最佳答案

Hi,

specify the maximum number of physical connections to posgresql, see all parameters here;
https://github.com/odoo/odoo/blob/8.0/openerp/tools/config.py
Bye

形象
丢弃
编写者

Thanks for the answer.

When a User (res.users) log in to Odoo and do's some activities, How many physical connections will be created in postgresql ?

Hi,

set log level debug_sql in your odoo conf file, restart the server, you will see all requests in log, or install a soft to get postgresq stats. But you should be careful for all default values for postrgesql, workers, memory ...

If my answer is correct, you canvalidate it.

Bye

相关帖文 回复 查看 活动
1
3月 15
5110
3
5月 24
8198
2
9月 24
20793
1
2月 16
2250
2
8月 25
185