<div dir="ltr">Seems like your MySQL is not ok.<div><br></div><div>This parts of the message hints it:</div><div><br></div><div><span style="font-size:12.8px"> <b>SQLBackend unable to refresh domain_id</b> 18537: <b>Could not </b></span><span style="font-size:12.8px"><b>execute mysql statement</b>: update domains set last_check=? where id=?: <b>Deadlock f</b></span><span style="font-size:12.8px"><b>ound</b> when trying to get lock; try restarting transaction</span><br></div><div><br></div><div>Have you checked MySQL logs? I would start there.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 15, 2017 at 11:17 PM, Nick Urbanik <span dir="ltr"><<a href="mailto:nick.urbanik@optusnet.com.au" target="_blank">nick.urbanik@optusnet.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Folks,<br>
<br>
Thank you for the great software.<br>
<br>
BACKGROUND:<br>
<br>
We have just set up an authoritative pair of slaves at two different<br>
locations. The two slaves at each location share an anycast address.<br>
Both slaves read/write to a galera backend through a unix socket. We<br>
are using PowerDNS 4.0.4 on RHEL 7.<br>
<br>
These slaves use ordinary DNS replication from a master with a mysql<br>
backend. The slaves are using Percona-XtraDB-Cluster 5.7.17. The<br>
masters are using Percona-Server 5.7.18 with corosync and pacemaker,<br>
DRBD.<br>
<br>
PROBLEM:<br>
<br>
We have PowerDNS failing quite often (about twice daily) with this message:<br>
Aug 16 04:11:45 dnsslave2 pdns-instance[20433]: Exiting because communicator thread died with error: GSQLBackend unable to refresh domain_id 18537: Could not<br>
execute mysql statement: update domains set last_check=? where id=?: Deadlock f<br>
ound when trying to get lock; try restarting transaction<br>
Aug 16 04:11:46 dnsslave2 pdns-instance[20433]: Got a signal 6, attempting to<br>
print trace:<br>
<br>
[stack trace followed by restart by systemd]<br>
<br>
I would be grateful for any suggestions on what we could do to remedy this.<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Nick Urbanik <a href="http://nicku.org" rel="noreferrer" target="_blank">http://nicku.org</a> 808-71011 <a href="mailto:nick.urbanik@optusnet.com.au" target="_blank">nick.urbanik@optusnet.com.au</a><br>
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24<br>
I disclaim, therefore I am.<br>
______________________________<wbr>_________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.co<wbr>m</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/m<wbr>ailman/listinfo/pdns-users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">[ ]'s<br><br>Filipe Cifali Stangler<br></div>
</div>