Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
14433 Lượt xem

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 !

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
5112
3
thg 5 24
8201
2
thg 9 24
20797
1
thg 2 16
2250
1
thg 8 25
700