Bug #9325 | Many Errors "Slave: received end packet from server" | ||
---|---|---|---|
Submitted: | 22 Mar 2005 4:52 | Modified: | 25 Jun 2005 8:48 |
Reporter: | Michael Zimmermann | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 4.1.10a | OS: | Linux (Linux (SuSE 9.1)) |
Assigned to: | CPU Architecture: | Any |
[22 Mar 2005 4:52]
Michael Zimmermann
[22 Mar 2005 5:00]
Michael Zimmermann
As a consequence of the many errors and reconnects, replication speed is extremely low. Although the servers are under very low load (master has about 20 queries per second), it happens several times a day that the slave is 10 minutes or more behind the master. That's why I consider the bug to be serious.
[24 Jun 2005 12:31]
MySQL Verification Team
Could you please verify if actually you are using the same port for master and slave. You can't to use the same port. my.cnf on slave: ------------------------------------------------------ # o2 mysql configuration [client] port = 1006 socket = /mysql/data/mysql.sock [mysqld] port = 1006 <cut> master-port=1006
[25 Jun 2005 8:48]
Michael Zimmermann
This error happened, because due to a script-error other MySQL-Servers happened to use the same my.cnf config-file and therefore we had more than one slave contacting to the master WITH AN IDENTICAL SERVER-ID. Sorry for this erronuous Bug-Report. Thanks to Jeremy D. Zawodny and Derrek J. Balling for their excellent book "High Performance MySQL", which describes the problem.
[25 Jun 2005 8:52]
Michael Zimmermann
@Miguel Solorzano Of course one can used the same port for master and slave. That was a misunderstanding on your side. Greetings.