title: Mysql Replication SLAVE go down
body: <p>I have a problem with mysql replication.</p>
  
  <p>I configure two virtual host.</p>
  
  <p>Server 1 Apache + mysql Ver 15.1 Distrib 5.5.41-MariaDB</p>
  
  <p>Master and SLAVE OF Server2</p>
  
  <p>Server 2 mysql Ver 14.14 Distrib 5.5.42</p>
  
  <p>Master and SLAVE OF Server1</p>
  
  <p>Topologi MASTER + MASTER</p>
  
  <p>When I restart slaves all work good, short latency and fast update. But when I wait a few minutes the replication not work more. If I update some row or make a insert or delete the slave not update the changes. </p>
  
  <p>The logs not write any error, but the master_position_log is diferent between master and slave.</p>
  
  <p>And if I restart the slaves all works again, the bdd is updated and the replication works well.</p>
  
  <p>I don't know what happen, seems the threads sleep or death.</p>
  
  <p>Thanks for some idea for fix the problem</p>
  
  <p>In two cases the processes seems ok.</p>
  
  <p>SERVER1</p>
  
  <p>Kill    168 system user     None    Connect 1146    Waiting for master to send event    ---</p>
  
  <p>Kill    169 system user     None    Connect 945 Slave has read all relay log; waiting for the slave I/O thread to update it ---</p>
  
  <p>Kill    170 master  XXXXXXX:59273   None    Binlog Dump 1145    Master has sent all binlog to slave; waiting for binlog to be updated   ---</p>
  
  <p>SERVER2</p>
  
  <p>Kill    73  root    XXXXXX:55089    None    Binlog Dump 1137    Master has sent all binlog to slave; waiting for binlog to be updated   ---</p>
  
  <p>Kill    76  system user     None    Connect 1137    Waiting for master to send event    ---</p>
  
  <p>Kill    77  system user     None    Connect 985 Slave has read all relay log; waiting for the slave I/O thread to update it ---</p>