I recently encountered several times of MySQL service crash and restart. We met twice in a row yesterday.
The first err log:
- 81122 16:16:47-mysqld got signal 11;
- This cocould be because you hit a bug. It is also possible that this binary
- Or one of the libraries it was linked against is too upt, 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 = 536870912
- Read_buffer_size = 4194304
- Max_used_connection= 727
- Max_threads = 1500
- Threads_connected= 412
- It is possible that mysqld cocould use up
- Key_buffer_size + (read_buffer_size + sort_buffer_size) * max_threads = 12827463 K
- Bytes of memory
- Hope that's OK; if not, decrease some variables in the equation.
- Thd: 0x2aad06f7a860
- 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 = 0x47118f60 thread_stack 0x40000
- Trying to get some variables.
- Some pointers may be invalid and cause the dump to abort...
- Thd-> query at 0x125b5ae0 = select 'dash'. af
- From 'dashboard'
- Where 'dashboard '. uid = '123'
- Limit 1
- Thd-> thread_id = 1676832
- Thd-> killed = not_killed
- The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
- Information that shocould help you find out what is causing the crash.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Fatal signal 6 While backtracing
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
- 081122 16:16:49 mysqld_safe number of processes running now: 0
- 081122 16:16:49 mysqld_safe mysqld restarted
This is the second time soon:
- 081122 17:56:13-mysqld got signal 11;
This cocould be because you hit a bug. It is also possible that this binary
Or one of the libraries it was linked against is too upt, 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 = 536870912
- Read_buffer_size = 4194304
- Max_used_connections = 1
- Max_threads = 1500
- Threads_connected = 1
- It is possible that mysqld cocould use up
- Key_buffer_size + (read_buffer_size + sort_buffer_size) * max_threads = 12827463 K
- Bytes of memory
- Hope that's OK; if not, decrease some variables in the equation.
- Thd: 0x259d70b0
- 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 = 0x45f60f60 thread_stack 0x40000
- Trying to get some variables.
- Some pointers may be invalid and cause the dump to abort...
- Thd-> query at 0x25a2c8e0 = select 'xxxxxxx'. dd
- From 'xxxxxxxxx'
- Where 'xxxxxxxx'. FF = ddddddddd
- Limit 1
- Thd-> thread_id = 1
- Thd-> killed = not_killed
- The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
- Information that shocould help you find out what is causing the crash.
- 081122 17:56:13 mysqld_safe number of processes running now: 0
- 081122 17:56:13 mysqld_safe mysqld restarted
The system has two amd 64-bit CPUs with 16 GB memory. The MySQL version is 5.1.28.
The MySQL file information is
/Usr/local/MySQL/bin/MySQL: Elf 64-bit LSB executable, amd x86-64, Version 1 (sysv), for GNU/Linux 2.6.9, statically linked, for GNU/Linux 2.6.9, not stripped
Find a similar problem in the MySQL bug Library
Bug #30201 crash with query cache when killing a select
This bug has been fixed in several previous versions.
No way, you have to disable the query cache first.