-
10.2.2-4, 10.1.18
MariaDB 10.1.16 server crashed after running for 1 hour with the query_cache_info plugin enabled:
INSTALL PLUGIN query_cache_info SONAME 'query_cache_info';
|
with the following related settings:
mysql ((none))> show global variables like 'query%';
|
+------------------------------+----------+
|
| Variable_name | Value |
|
+------------------------------+----------+
|
| query_alloc_block_size | 16384 |
|
| query_cache_limit | 8388608 |
|
| query_cache_min_res_unit | 1024 |
|
| query_cache_size | 67108864 |
|
| query_cache_strip_comments | OFF |
|
| query_cache_type | ON |
|
| query_cache_wlock_invalidate | OFF |
|
| query_prealloc_size | 24576 |
|
+------------------------------+----------+
|
and query cache related status typically looking like this:
| Qcache_free_blocks | 432 |
|
| Qcache_free_memory | 14381680 |
|
| Qcache_hits | 1320200 |
|
| Qcache_inserts | 1980307 |
|
| Qcache_lowmem_prunes | 252808 |
|
| Qcache_not_cached | 1089705 |
|
| Qcache_queries_in_cache | 17940 |
|
| Qcache_total_blocks | 37205 |
|
|
Stack trace is the following:
160909 10:36:35 [ERROR] 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.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
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.
|
|
Server version: 10.1.16-MariaDB
|
key_buffer_size=67108864
|
read_buffer_size=1048576
|
max_used_connections=61
|
max_threads=1002
|
thread_count=60
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 3164184 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x7f5ec28ba008
|
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 = 0x7f6bd4dad288 thread_stack 0x48400
|
/opt/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0xc099ee]
|
/opt/mysql/bin/mysqld(handle_fatal_signal+0x4ba)[0x7664da]
|
/lib64/libpthread.so.0(+0xf100)[0x7f6be9f89100]
|
/opt/mysql/lib/plugin/query_cache_info.so(+0xf35)[0x7f6bde5fef35]
|
/opt/mysql/bin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x2ee)[0x612dfe]
|
/opt/mysql/bin/mysqld(_ZN4JOIN10exec_innerEv+0x907)[0x609927]
|
/opt/mysql/bin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x28f)[0x60855f]
|
/opt/mysql/bin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x250)[0x60c130]
|
/opt/mysql/bin/mysqld[0x5ac8e8]
|
/opt/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x14f7)[0x5b2a97]
|
/opt/mysql/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x2b4)[0x5baeb4]
|
/opt/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x23a7)[0x5bdee7]
|
/opt/mysql/bin/mysqld(_Z10do_commandP3THD+0x2a7)[0x5be2f7]
|
/opt/mysql/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x183)[0x68d423]
|
/opt/mysql/bin/mysqld(handle_one_connection+0x42)[0x68d642]
|
/lib64/libpthread.so.0(+0x7dc5)[0x7f6be9f81dc5]
|
/lib64/libc.so.6(clone+0x6d)[0x7f6be8e5fced]
|
and crashing query was:
select statement_schema, statement_text, result_blocks_count, result_blocks_size from information_schema.query_cache_info
|
{"report":{"fcp":1325.8000001907349,"ttfb":303.5,"pageVisibility":"visible","entityId":58016,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"9b2f6298-0b2d-4d31-9a66-af5717e69d2e","navigationType":0,"readyForUser":1431.6999998092651,"redirectCount":0,"resourceLoadedEnd":1796.8000001907349,"resourceLoadedStart":309.30000019073486,"resourceTiming":[{"duration":431.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":309.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":309.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":428.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":313.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":313.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":741.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":434.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":315.69999980926514,"connectEnd":315.69999980926514,"connectStart":315.69999980926514,"domainLookupEnd":315.69999980926514,"domainLookupStart":315.69999980926514,"fetchStart":315.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":315.69999980926514,"responseEnd":750.5999999046326,"responseStart":750.5999999046326,"secureConnectionStart":315.69999980926514},{"duration":610,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":316,"connectEnd":316,"connectStart":316,"domainLookupEnd":316,"domainLookupStart":316,"fetchStart":316,"redirectEnd":0,"redirectStart":0,"requestStart":316,"responseEnd":926,"responseStart":925.9000000953674,"secureConnectionStart":316},{"duration":614.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":316.30000019073486,"connectEnd":316.30000019073486,"connectStart":316.30000019073486,"domainLookupEnd":316.30000019073486,"domainLookupStart":316.30000019073486,"fetchStart":316.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":316.30000019073486,"responseEnd":930.4000000953674,"responseStart":930.4000000953674,"secureConnectionStart":316.30000019073486},{"duration":614.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":316.40000009536743,"connectEnd":316.40000009536743,"connectStart":316.40000009536743,"domainLookupEnd":316.40000009536743,"domainLookupStart":316.40000009536743,"fetchStart":316.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":316.40000009536743,"responseEnd":931,"responseStart":931,"secureConnectionStart":316.40000009536743},{"duration":614.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":316.69999980926514,"connectEnd":316.69999980926514,"connectStart":316.69999980926514,"domainLookupEnd":316.69999980926514,"domainLookupStart":316.69999980926514,"fetchStart":316.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":316.69999980926514,"responseEnd":931.4000000953674,"responseStart":931.4000000953674,"secureConnectionStart":316.69999980926514},{"duration":618.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":316.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":935.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":615,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":317,"connectEnd":317,"connectStart":317,"domainLookupEnd":317,"domainLookupStart":317,"fetchStart":317,"redirectEnd":0,"redirectStart":0,"requestStart":317,"responseEnd":932,"responseStart":932,"secureConnectionStart":317},{"duration":618.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":317.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":317.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":935.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":615.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":317.30000019073486,"connectEnd":317.30000019073486,"connectStart":317.30000019073486,"domainLookupEnd":317.30000019073486,"domainLookupStart":317.30000019073486,"fetchStart":317.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":317.30000019073486,"responseEnd":932.5999999046326,"responseStart":932.5999999046326,"secureConnectionStart":317.30000019073486},{"duration":967.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":333,"connectEnd":333,"connectStart":333,"domainLookupEnd":333,"domainLookupStart":333,"fetchStart":333,"redirectEnd":0,"redirectStart":0,"requestStart":333,"responseEnd":1300.5999999046326,"responseStart":1300.5999999046326,"secureConnectionStart":333},{"duration":1460.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":333,"connectEnd":333,"connectStart":333,"domainLookupEnd":333,"domainLookupStart":333,"fetchStart":333,"redirectEnd":0,"redirectStart":0,"requestStart":333,"responseEnd":1793.0999999046326,"responseStart":1793.0999999046326,"secureConnectionStart":333},{"duration":368.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":930.4000000953674,"connectEnd":930.4000000953674,"connectStart":930.4000000953674,"domainLookupEnd":930.4000000953674,"domainLookupStart":930.4000000953674,"fetchStart":930.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":930.4000000953674,"responseEnd":1298.9000000953674,"responseStart":1298.9000000953674,"secureConnectionStart":930.4000000953674},{"duration":578.4000000953674,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1316.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1316.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1895.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":454,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1340.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1340.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1794.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":452.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1342,"connectEnd":1342,"connectStart":1342,"domainLookupEnd":1342,"domainLookupStart":1342,"fetchStart":1342,"redirectEnd":0,"redirectStart":0,"requestStart":1342,"responseEnd":1794.5999999046326,"responseStart":1794.5999999046326,"secureConnectionStart":1342},{"duration":454.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1342.5999999046326,"connectEnd":1342.5999999046326,"connectStart":1342.5999999046326,"domainLookupEnd":1342.5999999046326,"domainLookupStart":1342.5999999046326,"fetchStart":1342.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1342.5999999046326,"responseEnd":1796.8000001907349,"responseStart":1796.8000001907349,"secureConnectionStart":1342.5999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":138,"responseStart":304,"responseEnd":315,"domLoading":308,"domInteractive":1930,"domContentLoadedEventStart":1930,"domContentLoadedEventEnd":2033,"domComplete":4071,"loadEventStart":4071,"loadEventEnd":4071,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1798.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1799.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1799.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1802.8000001907349},{"name":"activityTabFullyLoaded","time":2070.199999809265}],"measures":[],"correlationId":"e3ca6f4c8b8f01","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":11,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}