MySQL query cache crash?

Source: Internet
Author: User

I recently encountered several times of MySQL service crash and restart. We met twice in a row yesterday.

 

The first err log:

  1. 81122 16:16:47-mysqld got signal 11;
  2. This cocould be because you hit a bug. It is also possible that this binary
  3. Or one of the libraries it was linked against is too upt, improperly built,
  4. Or misconfigured. This error can also be caused by malfunctioning hardware.
  5. We will try our best to scrape up some info that will hopefully help diagnose
  6. The problem, but since we have already crashed, something is definitely wrong
  7. And this may fail.
  8. Key_buffer_size = 536870912
  9. Read_buffer_size = 4194304
  10. Max_used_connection= 727
  11. Max_threads = 1500
  12. Threads_connected= 412
  13. It is possible that mysqld cocould use up
  14. Key_buffer_size + (read_buffer_size + sort_buffer_size) * max_threads = 12827463 K
  15. Bytes of memory
  16. Hope that's OK; if not, decrease some variables in the equation.
  17. Thd: 0x2aad06f7a860
  18. Attempting backtrace. You can use the following information to find out
  19. Where mysqld died. If you see no messages after this, something went
  20. Terribly wrong...
  21. Stack_bottom = 0x47118f60 thread_stack 0x40000
  22. Trying to get some variables.
  23. Some pointers may be invalid and cause the dump to abort...
  24. Thd-> query at 0x125b5ae0 = select 'dash'. af
  25. From 'dashboard'
  26. Where 'dashboard '. uid = '123'
  27. Limit 1
  28. Thd-> thread_id = 1676832
  29. Thd-> killed = not_killed
  30. The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
  31. Information that shocould help you find out what is causing the crash.
  32. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  33. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  34. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  35. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  36. Fatal signal 6 While backtracing
  37. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  38. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  39. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  40. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  41. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  42. Mysqld: my_new.cc: 50: int _ cxa_pure_virtual (): assertion '"pure virtual method called." = "aborted" 'failed.
  43. 081122 16:16:49 mysqld_safe number of processes running now: 0
  44. 081122 16:16:49 mysqld_safe mysqld restarted

This is the second time soon:

  1. 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.

  2. Key_buffer_size = 536870912
  3. Read_buffer_size = 4194304
  4. Max_used_connections = 1
  5. Max_threads = 1500
  6. Threads_connected = 1
  7. It is possible that mysqld cocould use up
  8. Key_buffer_size + (read_buffer_size + sort_buffer_size) * max_threads = 12827463 K
  9. Bytes of memory
  10. Hope that's OK; if not, decrease some variables in the equation.
  11. Thd: 0x259d70b0
  12. Attempting backtrace. You can use the following information to find out
  13. Where mysqld died. If you see no messages after this, something went
  14. Terribly wrong...
  15. Stack_bottom = 0x45f60f60 thread_stack 0x40000
  16. Trying to get some variables.
  17. Some pointers may be invalid and cause the dump to abort...
  18. Thd-> query at 0x25a2c8e0 = select 'xxxxxxx'. dd
  19. From 'xxxxxxxxx'
  20. Where 'xxxxxxxx'. FF = ddddddddd
  21. Limit 1
  22. Thd-> thread_id = 1
  23. Thd-> killed = not_killed
  24. The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
  25. Information that shocould help you find out what is causing the crash.
  26. 081122 17:56:13 mysqld_safe number of processes running now: 0
  27. 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.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.