MySQL Forums
Forum List  »  InnoDB

What could cause the mysql slave to crash
Posted by: sreekanth Bharadhwajhan
Date: December 06, 2012 07:51AM

121205 5:01:50 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.28-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
09:38:41 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.

key_buffer_size=67108864
read_buffer_size=131072
max_used_connections=3
max_threads=600
thread_count=2
connection_count=2
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 302789 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x1c308670
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 = 419520b0 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x7d5025]
/usr/sbin/mysqld(handle_fatal_signal+0x3e1)[0x68e7d1]
/lib64/libpthread.so.0[0x34e2c0ebe0]
/usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP11st_mem_rootP18Open_table_context+0xb84)[0x542cc4]
/usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x300)[0x544e30]
/usr/sbin/mysqld(_Z30open_normal_and_derived_tablesP3THDP10TABLE_LISTj+0x50)[0x5458c0]
/usr/sbin/mysqld[0x5c3092]
/usr/sbin/mysqld(_Z14get_all_tablesP3THDP10TABLE_LISTP4Item+0x734)[0x5ce434]
/usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x241)[0x5bd1f1]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x419)[0x5b83f9]
/usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x1a9)[0x5ba6e9]
/usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x16d)[0x5bafdd]
/usr/sbin/mysqld[0x5789b5]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x32aa)[0x57c18a]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x10b)[0x57f18b]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x14fc)[0x58070c]
/usr/sbin/mysqld(_Z10do_commandP3THD+0xc4)[0x580a84]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0xef)[0x61c2bf]
/usr/sbin/mysqld(handle_one_connection+0x54)[0x61c3b4]
/usr/sbin/mysqld(pfs_spawn_thread+0x5b)[0x82b64b]
/lib64/libpthread.so.0[0x34e2c0677d]
/lib64/libc.so.6(clone+0x6d)[0x34e1cd3c1d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (1b495e40): show table status like 'interface\_soheader\_changes'
Connection ID (thread ID): 1357
Status: NOT_KILLED

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
121206 04:38:42 mysqld_safe Number of processes running now: 0
121206 04:38:42 mysqld_safe mysqld restarted
121206 4:38:43 [Note] Plugin 'FEDERATED' is disabled.
121206 4:38:43 InnoDB: The InnoDB memory heap is disabled
121206 4:38:43 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121206 4:38:43 InnoDB: Compressed tables use zlib 1.2.3
121206 4:38:43 InnoDB: Using Linux native AIO
121206 4:38:43 InnoDB: Initializing buffer pool, size = 2.0G
121206 4:38:44 InnoDB: Completed initialization of buffer pool
121206 4:38:44 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
121206 4:38:44 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Last MySQL binlog file position 0 436827356, file name /data/mysqllogs/log-bin/binary-log.001356
121206 4:38:47 InnoDB: Waiting for the background threads to start
121206 4:38:48 InnoDB: 1.1.8 started; log sequence number 964124124859
121206 4:38:48 [Note] Recovering after a crash using /data/mysqllogs/log-bin/binary-log
121206 4:39:02 [Note] Starting crash recovery...
121206 4:39:02 [Note] Crash recovery finished.
121206 4:39:02 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
121206 4:39:02 [Note] - '0.0.0.0' resolves to '0.0.0.0';
121206 4:39:02 [Note] Server socket created on IP: '0.0.0.0'.
121206 4:39:02 [Note] Slave SQL thread initialized, starting replication in log 'binary-log.001393' at position 985468694, relay log '/data/mysqllogs/relay-log/relay-b
in.000208' position: 441644085
121206 4:39:02 [Note] Slave I/O thread: connected to master 'slave1_maint@xxxxxx.biz:3306',replication started in log 'binary-log.001393' at position 9854686
94
121206 4:39:02 [Note] Event Scheduler: Loaded 0 events
121206 4:39:02 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.28-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)

>Release: mysql-5.5.28 (MySQL Community Server (GPL))

>C compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)

>C++ compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)

>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux xxxxxx.biz 2.6.18-308.20.1.el5 #1 SMP Tue Nov 6 04:38:29 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-s\
ystem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk \
--disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)
Compilation info (call): CC='/usr/bin/gcc' CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gen\
eric -fPIC -Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' CXX='/usr/bin/gcc' CXXFLAGS='-O2 -g -pipe -\
Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -felide-constructors -fno-exceptions -fno-rtti -fPIC -Wall -\
Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTM\
UTEX=1' LDFLAGS='' ASFLAGS=''
Compilation info (used): CC='/usr/bin/gcc' CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gen\
eric -fPIC -Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' CXX='/usr/bin/gcc' CXXFLAGS='-O2 -g -pipe -\
Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -felide-constructors -fno-exceptions -fno-rtti -fPIC -Wall -\
Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTM\
UTEX=1' LDFLAGS='' ASFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 11 Nov 17 19:37 /lib/libc.so.6 -> libc-2.5.so
-rwxr-xr-x 1 root root 1697920 Aug 15 01:32 /lib/libc-2.5.so

Options: ReplyQuote


Subject
Views
Written By
Posted
What could cause the mysql slave to crash
2729
December 06, 2012 07:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.