Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Odoo with pgpool2: slow and hangs

By
Christoph
on 5/26/15, 9:08 AM 703 views

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

@Christoph,

Have you considered sending this out to the community mailing lists:

https://www.odoo.com/groups

I'm sure you're not the only one who's working with pgpool2 and Odoo for streaming replication, and there are a number of very active Odoo experts on the Odoo community mailing lists who I think would definitely be interested in discussing this with you, as well as other options (ie. not pgpool2)..

Here's a discussion I came across on github recently regarding the master branch:

https://github.com/odoo/odoo/issues/5

I've been searching for a solution for a multi-master setup for Odoo, however I haven't found a solution yet. If you do find a solution please post back here with the results, as I for one would be very interested in your setup, and i'm sure there are many others also interested in this.

Luke Branch
on 5/26/15, 10:16 PM

There's also a discussion here that you may be interested in:

https://www.linkedin.com/grp/post/165657-42912805

and a forum post here that you may be interested in as well:

https://www.odoo.com/forum/help-1/question/postgresql-replication-problem-with-pgpool2-and-transient-model-and-binary-field-52325

Luke Branch
on 5/26/15, 10:24 PM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/26/15, 9:08 AM
Seen: 703 times
Last updated: 5/26/15, 10:24 PM