I have a mysql replication slave on linux. I'm doing a mysqldump to backup the database. I'm pointing it at the slave server to spread the load. The mysqldump options I'm using include --flush-logs and that's causing the mysql server to die. It gets a Signal 11 (ie segfault). When I do it without the --flush-logs, everything works. Why is this?
Update: This is the relevant section of the /var/log/syslog (which is where the mysql error messages go on debian systems)
Jun 24 11:01:17 db2 mysqld[30673]: mysqld got signal 11;
Jun 24 11:01:17 db2 mysqld[30673]: This could be because you hit a bug. It is also possible that this binary
Jun 24 11:01:17 db2 mysqld[30673]: or one of the libraries it was linked against is corrupt, improperly built,
Jun 24 11:01:17 db2 mysqld[30673]: or misconfigured. This error can also be caused by malfunctioning hardware.
Jun 24 11:01:17 db2 mysqld[30673]: We will try our best to scrape up some info that will hopefully help diagnose
Jun 24 11:01:17 db2 mysqld[30673]: the problem, but since we have already crashed, something is definitely wrong
Jun 24 11:01:17 db2 mysqld[30673]: and this may fail.
Jun 24 11:01:17 db2 mysqld[30673]:
Jun 24 11:01:17 db2 mysqld[30673]: key_buffer_size=16777216
Jun 24 11:01:17 db2 mysqld[30673]: read_buffer_size=131072
Jun 24 11:01:17 db2 mysqld[30673]: max_used_connections=2
Jun 24 11:01:17 db2 mysqld[30673]: max_connections=100
Jun 24 11:01:17 db2 mysqld[30673]: threads_connected=1
Jun 24 11:01:17 db2 mysqld[30673]: It is possible that mysqld could use up to
Jun 24 11:01:17 db2 mysqld[30673]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 233983 K
Jun 24 11:01:17 db2 mysqld[30673]: bytes of memory
Jun 24 11:01:17 db2 mysqld[30673]: Hope that's ok; if not, decrease some variables in the equation.
Jun 24 11:01:17 db2 mysqld[30673]:
Jun 24 11:01:17 db2 mysqld_safe[31409]: Number of processes running now: 0
Jun 24 11:01:17 db2 mysqld_safe[31411]: restarted