Community mailing list archives

community@mail.odoo.com

Re: Is db_maxconn used by database or cluster?

by
SISalp
- 07/09/2016 15:34:42
think it is per service but I don't remember how I thought it.
on my servers I care to have nb_databases x nb_processes < db_maxconn
and on postgresql, max connections is greater than the sum of all
db_maxconn of all services.



2016-07-09 19:11 GMT+02:00 Juan Pablo Arias <jpa@devco.co>:
> Hello,
>
> The variable db_maxconn determine the maxime connections from Odoo to
> Postgres, but, I can see that odoo open a pool connections for database
> using db_connect method. In other words opens x_connections * dabases, How
> to calculate the db_maxconn?.
>
> Regards,
> Juan Pablo Arias
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe



-- 
Dominique Chabord - SISalp
Logiciel libre pour l'entreprise Tryton et open-source Odoo, OpenERP
18 avenue Beauregard 74960 Cran Gevrier
145A rue Alexandre Borrely 83000 Toulon
tel(repondeur) +33(0)950274960 fax +33(0)955274960 mob +33(0)622616438
http://sisalp.fr
http://openerp-online.fr