Month Day 16:31:16 db03.example.com mysqld[23829]: 2019-11-Day 16:31:16 482717114 [ERROR] [FATAL] InnoDB: Unknown error code 19: Required history data has been deleted Month Day 16:31:16 db03.example.com mysqld[23829]: 1911Day 16:31:16 [ERROR] mysqld got signal 6 ; Month Day 16:31:16 db03.example.com mysqld[23829]: This could be because you hit a bug. It is also possible that this binary Month Day 16:31:16 db03.example.com mysqld[23829]: or one of the libraries it was linked against is corrupt, improperly built, Month Day 16:31:16 db03.example.com mysqld[23829]: or misconfigured. This error can also be caused by malfunctioning hardware. Month Day 16:31:16 db03.example.com mysqld[23829]: To report this bug, see https://mariadb.com/kb/en/reporting-bugs Month Day 16:31:16 db03.example.com mysqld[23829]: We will try our best to scrape up some info that will hopefully help Month Day 16:31:16 db03.example.com mysqld[23829]: diagnose the problem, but since we have already crashed, Month Day 16:31:16 db03.example.com mysqld[23829]: something is definitely wrong and this may fail. Month Day 16:31:16 db03.example.com mysqld[23829]: Server version: 10.3.10-MariaDB-1:10.3.10+maria~xenial-log Month Day 16:31:16 db03.example.com mysqld[23829]: key_buffer_size=134217728 Month Day 16:31:16 db03.example.com mysqld[23829]: read_buffer_size=2097152 Month Day 16:31:16 db03.example.com mysqld[23829]: max_used_connections=1665 Month Day 16:31:16 db03.example.com mysqld[23829]: max_threads=5002 Month Day 16:31:16 db03.example.com mysqld[23829]: thread_count=560 Month Day 16:31:16 db03.example.com mysqld[23829]: It is possible that mysqld could use up to Month Day 16:31:16 db03.example.com mysqld[23829]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 30975179 K byt es of memor Month Day 16:31:16 db03.example.com mysqld[23829]: Hope that's ok; if not, decrease some variables in the equation. Month Day 16:31:16 db03.example.com mysqld[23829]: Thread pointer: 0x7fab14a6ac88 Month Day 16:31:16 db03.example.com mysqld[23829]: Attempting backtrace. You can use the following information to find out Month Day 16:31:16 db03.example.com mysqld[23829]: where mysqld died. If you see no messages after this, something went Month Day 16:31:16 db03.example.com mysqld[23829]: terribly wrong... Month Day 16:31:16 db03.example.com mysqld[23829]: stack_bottom = 0x7faad862fdd8 thread_stack 0x49000 Month Day 16:31:16 db03.example.com mysqld[23829]: /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55bc7810f94e] Month Day 16:31:16 db03.example.com mysqld[23829]: /usr/sbin/mysqld(handle_fatal_signal+0x347)[0x55bc77bbc4a7] Month Day 16:31:16 db03.example.com mysqld[23829]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7fb15f019890] Month Day 16:31:16 db03.example.com mysqld[23829]: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fb15e52de97] Month Day 16:31:17 db03.example.com mysqld[23829]: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7fb15e52f801] Month Day 16:31:17 db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0xaebfa8)[0x55bc77f57fa8] Month Day 16:31:17 db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0xa5eeac)[0x55bc77ecaeac] Month Day 16:31:17 db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0xa7d2fc)[0x55bc77ee92fc] Month Day 16:31:17 db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0x9a31da)[0x55bc77e0f1da] Month Day 16:31:Day db03.example.com mysqld[23829]: /usr/sbin/mysqld(_ZN7handler17ha_index_read_mapEPhPKhm16ha_rkey_function+0x138)[0x55bc77bcDay68] Month Day 16:31:Day db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0x5b79d8)[0x55bc77a239d8] Month Day 16:31:Day db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x164)[0x55bc77a15e14] Month Day 16:31:Day db03.example.com mysqld[23829]: /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0xb15)[0x55bc77a35a45] Month Day 16:31:Day db03.example.com mysqld[23829]: /usr/sbin/mysqld(_ZN4JOIN4execEv+0x33)[0x55bc77a35c93] Month Day 16:31:19 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultPDayst_select_lex_unitP13st_select_lex+0xef)[0x55bc77a35ddf] Month Day 16:31:19 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0xf8)[0x55bc77a366d8] Month Day 16:31:19 db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0x48b95c)[0x55bc778f795c] Month Day 16:31:19 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x6d2d)[0x55bc779e383d] Month Day 16:31:20 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x21a)[0x55bc779e582a] Month Day 16:31:20 db03.example.com mysqld[23829]: /usr/sbin/mysqld(+0x57a0f6)[0x55bc779e60f6] Month Day 16:31:20 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xe9a)[0x55bc779e744a] Month Day 16:31:20 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z10do_commandP3THD+0x13c)[0x55bc779e8cfc] Month Day 16:31:20 db03.example.com mysqld[23829]: /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x252)[0x55bc77aba022] Month Day 16:31:21 db03.example.com mysqld[23829]: /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55bc77aba19d] Month Day 16:31:21 db03.example.com mysqld[23829]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fb15f00e6db] Month Day 16:31:21 db03.example.com mysqld[23829]: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fb15e61088f] Month Day 16:31:21 db03.example.com mysqld[23829]: Trying to get some variables. Month Day 16:31:21 db03.example.com mysqld[23829]: Some pointers may be invalid and cause the dump to abort. Month Day 16:31:21 db03.example.com mysqld[23829]: Query (0x7fab14370b20): SELECT * FROM `example_me_rd` WHERE `user_id` = '123456' AND `message_id` = '123456' Month Day 16:31:21 db03.example.com mysqld[23829]: Connection ID (thread ID): 482717114 Month Day 16:31:21 db03.example.com mysqld[23829]: Status: NOT_KILLED Month Day 16:31:21 db03.example.com mysqld[23829]: Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on Month Day 16:31:21 db03.example.com mysqld[23829]: The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains Month Day 16:31:21 db03.example.com mysqld[23829]: information that should help you find out what is causing the crash. Month Day 16:31:23 db03.example.com metricbeat[1463]: [mysql] 2019/11/Day 16:31:23 packets.go:36: read tcp 127.0.0.1:33638->127.0.0.1:3306: read: connection reset by peer Month Day 16:31:23 db03.example.com metricbeat[1463]: [mysql] 2019/11/Day 16:31:23 packets.go:36: read tcp 127.0.0.1:33640->127.0.0.1:3306: read: connection reset by peer Month Day 16:31:23 db03.example.com systemd[1]: mariadb.service: Main process exited, code=dumped, status=6/ABRT Month Day 16:31:23 db03.example.com systemd[1]: mariadb.service: Failed with result 'core-dump'. Month Day 16:31:28 db03.example.com systemd[1]: mariadb.service: Service hold-off time over, scheduling restart. Month Day 16:31:28 db03.example.com systemd[1]: mariadb.service: Scheduled restart job, restart counter is at 1. Month Day 16:31:28 db03.example.com systemd[1]: Stopped MariaDB 10.3.10 database server. Month Day 16:31:28 db03.example.com systemd[1]: Starting MariaDB 10.3.10 database server