slave continually crashes on start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Undecided
|
Unassigned | ||
5.6 |
Expired
|
Undecided
|
Unassigned |
Bug Description
After updating a slave tonight, mysql will no longer start and bombs with the following log
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
141015 13:08:25 mysqld_safe Number of processes running now: 0
141015 13:08:25 mysqld_safe mysqld restarted
2014-10-15 13:08:25 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-10-15 13:08:25 0 [Warning] 'THREAD_
2014-10-15 13:08:25 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-10-15 13:08:25 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
2014-10-15 13:08:25 12116 [Warning] Using unique option prefix myisam-recover instead of myisam-
2014-10-15 13:08:25 12116 [Warning] /usr/sbin/mysqld: ignoring option '--innodb-
2014-10-15 13:08:25 12116 [Note] Plugin 'FEDERATED' is disabled.
2014-10-15 13:08:25 12116 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-10-15 13:08:25 12116 [Note] InnoDB: The InnoDB memory heap is disabled
2014-10-15 13:08:25 12116 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-10-15 13:08:25 12116 [Note] InnoDB: Memory barrier is not used
2014-10-15 13:08:25 12116 [Note] InnoDB: Compressed tables use zlib 1.2.8
2014-10-15 13:08:25 12116 [Note] InnoDB: Using Linux native AIO
2014-10-15 13:08:25 12116 [Note] InnoDB: Using CPU crc32 instructions
2014-10-15 13:08:25 12116 [Note] InnoDB: Initializing buffer pool, size = 512.0M
2014-10-15 13:08:25 12116 [Note] InnoDB: Completed initialization of buffer pool
2014-10-15 13:08:26 12116 [Note] InnoDB: Highest supported file format is Barracuda.
2014-10-15 13:08:26 12116 [Note] InnoDB: Log scan progressed past the checkpoint lsn 906918457893
2014-10-15 13:08:26 12116 [Note] InnoDB: Database was not shutdown normally!
2014-10-15 13:08:26 12116 [Note] InnoDB: Starting crash recovery.
2014-10-15 13:08:26 12116 [Note] InnoDB: Reading tablespace information from the .ibd files...
2014-10-15 13:08:26 12116 [Note] InnoDB: Restoring possible half-written data pages
2014-10-15 13:08:26 12116 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 906918457903
InnoDB: Last MySQL binlog file position 0 34144609, file name mysql-bin.001195
2014-10-15 13:08:26 12116 [Note] InnoDB: 128 rollback segment(s) are active.
2014-10-15 13:08:26 12116 [Note] InnoDB: Waiting for purge to start
2014-10-15 13:08:26 12116 [Note] InnoDB: Percona XtraDB (http://
Wed Oct 15 13:08:26 2014 TokuFT recovery starting in env /var/lib/mysql/
Wed Oct 15 13:08:26 2014 TokuFT recovery scanning backward from 87200036
Wed Oct 15 13:08:26 2014 TokuFT recovery bw_end_checkpoint at 87200036 timestamp 1413378504419056 xid 87200032 (bw_newer)
Wed Oct 15 13:08:26 2014 TokuFT recovery bw_begin_checkpoint at 87200032 timestamp 1413378504419051 (bw_between)
Wed Oct 15 13:08:26 2014 TokuFT recovery turning around at begin checkpoint 87200032 time 5
Wed Oct 15 13:08:26 2014 TokuFT recovery starts scanning forward to 87200036 from 87200032 left 4 (fw_between)
Wed Oct 15 13:08:26 2014 TokuFT recovery closing 2 dictionaries
Wed Oct 15 13:08:26 2014 TokuFT recovery making a checkpoint
Wed Oct 15 13:08:26 2014 TokuFT recovery done
2014-10-15 13:08:26 12116 [Note] Recovering after a crash using tc.log
2014-10-15 13:08:26 12116 [Note] Starting crash recovery...
2014-10-15 13:08:26 12116 [Note] Crash recovery finished.
2014-10-15 13:08:26 12116 [Note] RSA private key file not found: /var/lib/
2014-10-15 13:08:26 12116 [Note] RSA public key file not found: /var/lib/
2014-10-15 13:08:26 12116 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
2014-10-15 13:08:26 12116 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2014-10-15 13:08:26 12116 [Note] Server socket created on IP: '0.0.0.0'.
2014-10-15 13:08:26 12116 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
2014-10-15 13:08:26 12116 [Warning] Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consistent, Error_code: 0
2014-10-15 13:08:26 12116 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.001203' at position 263186660, relay log './www-
2014-10-15 13:08:26 12116 [Note] Event Scheduler: Loaded 0 events
2014-10-15 13:08:26 12116 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.21-69.0-log' socket: '/var/run/
2014-10-15 13:08:27 12116 [Note] Slave I/O thread: connected to master 'xxxxx@
13:08:28 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=1002
thread_count=2
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f78e8c11000
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f796ba46940 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib/x86_
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): is an invalid pointer
Connection ID (thread ID): 1
Status: NOT_KILLED
Please, try to find out what exact statement may cause a crash by starting MySQL with --skip-slave-start option and executing:
show slave status\G
and then checking content of the slave's relay log at current SQL_thread position.
Please, send also your my.cnf file content from this slave.