logo       

deadlocked connections (urgent): msg#00033

Subject: deadlocked connections (urgent)
Hi everybody!

I'm currently testing PgCluster-1.5.0rc9.
I have much trouble with deadlocked connections which didn't occur in rc7.
I've got the same settings and app's which I used with rc7.

Deadlocked connections only appear if I use cascaded replication servers!
If I use only one replication server, everything works fine.
I worked around this, using statement timeouts but this is only a work around 
for now!

Has anyone any idea how to get cascaded replication servers work properly 
(possible A. Mitani)?

Btw:
1. Does pg_ctl reload also reload cluster.conf, so I can dynamically add and 
remove replication servers without restarting postgresql?
2. Does anyone know if rlog (User_Replication_Log=yes) is still needed if I use 
cascaded replication servers?

Many thanks in advance!

Best regards,
Markus S.

Configuration of server 1 (TVHW-221):

etc/hosts:
127.0.0.1               TVHW-221 localhost.localdomain localhost
192.168.161.222         TVHW-222

pgreplicate.conf:
<Cluster_Server_Info>
  <Host_Name>TVHW-221</Host_Name>
  <Port>5432</Port>
  <Recovery_Port>7101</Recovery_Port>
</Cluster_Server_Info>
<Cluster_Server_Info>
  <Host_Name>TVHW-222</Host_Name>
  <Port>5432</Port>
  <Recovery_Port>7101</Recovery_Port>
</Cluster_Server_Info>
<Replication_Port>8001</Replication_Port>
<Recovery_Port>8101</Recovery_Port>
<RLOG_Port>8301</RLOG_Port>
<Response_Mode>reliable</Response_Mode>
<Use_Replication_Log>yes</Use_Replication_Log>

cluster.conf:
<Replicate_Server_Info>
  <Host_Name>TVHW-221</Host_Name>
  <Port>8001</Port>
  <Recovery_Port>8101</Recovery_Port>
</Replicate_Server_Info>
<Recovery_Port>7101</Recovery_Port>
<Rsync_Path>/usr/bin/rsync</Rsync_Path>
<Rsync_Option>ssh -1</Rsync_Option>
<Rsync_Compress>yes</Rsync_Compress>
<Pg_Dump_Path>/usr/bin/pg_dump</Pg_Dump_Path>
<When_Stand_Alone>read_only</When_Stand_Alone>


Configuration of server 2 (TVHW-222):

etc/hosts:
127.0.0.1               TVHW-222 localhost.localdomain localhost
192.168.161.221         TVHW-221

pgreplicate.conf:
<Cluster_Server_Info>
  <Host_Name>TVHW-221</Host_Name>
  <Port>5432</Port>
  <Recovery_Port>7101</Recovery_Port>
</Cluster_Server_Info>
<Cluster_Server_Info>
  <Host_Name>TVHW-222</Host_Name>
  <Port>5432</Port>
  <Recovery_Port>7101</Recovery_Port>
</Cluster_Server_Info>
<Replicate_Server_Info>
  <Host_Name>TVHW-221</Host_Name>
  <Port>8001</Port>
  <Recovery_Port>8101</Recovery_Port>
</Replicate_Server_Info>
<Replication_Port>8001</Replication_Port>
<Recovery_Port>8101</Recovery_Port>
<RLOG_Port>8301</RLOG_Port>
<Response_Mode>reliable</Response_Mode>
<Use_Replication_Log>yes</Use_Replication_Log>

cluster.conf:
<Replicate_Server_Info>
  <Host_Name>TVHW-222</Host_Name>
  <Port>8001</Port>
  <Recovery_Port>8101</Recovery_Port>
</Replicate_Server_Info>
<Recovery_Port>7101</Recovery_Port>
<Rsync_Path>/usr/bin/rsync</Rsync_Path>
<Rsync_Option>ssh -1</Rsync_Option>
<Rsync_Compress>yes</Rsync_Compress>
<Pg_Dump_Path>/usr/bin/pg_dump</Pg_Dump_Path>
<When_Stand_Alone>read_only</When_Stand_Alone>


__________________________________________________________________________________
Dieses Mail wurde vom Infotech SecureMail Service ueberprueft und fuer sicher 
befunden.
Fuer weitere Informationen zu Infotech SecureMail Service waehlen Sie bitte: 
www.infotech.at

This email has been scanned by Infotech SecureMail Service and it has been 
classified as secure.
For more information on Infotech SecureMail direct your web browser to: 
www.infotech.at



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe