<div dir="ltr">Hello All,<div>2 nodes configured for slony 2.0.7, on RHEL 6.5 using postgres 9.1.14. Each slon manage local postgres.</div><div>Slony and RHEL installed from postgres yum repo.</div><div><br></div><div>On some occasion, on master db, the cleanupEvent last for long time, up to 5 minutes, normally it finish for a few seconds. The &#39;truncate sl_log_x&#39; is waiting for a lock which takes most time. This make all write operation to postgres have to wait also, some get failed. As I inspected, what makes truncate wait is another slon transaction made by slon slave process, that is transaction which run &#39;fetch 500 from LOG&#39;. This transaction left &#39;idle on transaction&#39; for a long time on some occasion.</div><div><br></div><div>Why is this happen ? Is this due to network latency between nodes ? Is there any work around for this?</div><div><br></div><div>Many thanks, cheers...<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>Soni Maula Harriz</div></div>
</div></div>