Did someone used pgpool2 with odoo? What are your experience with this middleware?
We setup pgpool2 as a middleware between odoo and postgresql (master-slave, streaming replciation). If we use pgpool the queries are a bit slower. But the big problem is that after some requests the next request is hanging (especially in the lead/opportunity view). In the postgresql activity overview I found out that there is a "idle in ransaction" activity. If I kill this process odoo responds normally. For some reason odoo doesn't close the transaction. So all other queries are waiting for the transaction. If we use the master database directly this problem doesn't occur. Do you have any hints?
Config lines and further informations can be found at http://serverfault.com/questions/694463/pgpool2-stucks-in-idle-in-transaction
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/26/15, 9:08 AM|
|Seen: 707 times|
|Last updated: 5/26/15, 10:24 PM|