Community mailing list archives

Re: postgresql idle threads from odoo

by André P. <> - 09/10/2015 04:32:22
That has been our experience as well - Odoo opens up new connections when it gets many requests at once, but then never frees them up.

Our solution was to put PgBouncer (with Transaction Pooling) between Odoo and Postgres; that said, this solution disables support for some of Postgres features, so it might not work for you if you're doing something more advanced.

2015-09-10 8:35 GMT+01:00 Qingdao Odoo Tech <>:

Hi all,


Not sure if this is the right place to raise this question. Please correct me if I am wrong.


We are facing problems with Odoo server today which popped up 404 Not Found errors. Users were then diverted to another hosting server. After the original hosting server was rebooted, too many idle threads were discovered which were not noticed before. Here is a snapshot of memory usage.


I wonder if anybody has such experience, and your comments are highly appreciated.




Jason Cui

Qingdao Odoo Team


Post to:

 André Paramés 
m  +351 939 158 257
 LISBOA | Avenida das Túlipas, nº 6, 13º A/B  1495-161 Algés