191115 7:55:38 [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.3.17-MariaDB-log key_buffer_size=134217728 read_buffer_size=2097152 max_used_connections=183 max_threads=5002 thread_count=69 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 20731864 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f6fbc0008c8 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 = 0x7f7306156d00 thread_stack 0x30000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x559f5f74193e] /usr/sbin/mysqld(handle_fatal_signal+0x30f)[0x559f5f1e12af] /lib64/libpthread.so.0(+0xf5d0)[0x7fbe856c05d0] /usr/sbin/mysqld(+0xcb09d7)[0x559f5f7089d7] /usr/sbin/mysqld(+0xcba5da)[0x559f5f7125da] /usr/sbin/mysqld(_ZN7handler7ha_openEP5TABLEPKcijP11st_mem_rootP4ListI6StringE+0x47)[0x559f5f1e5d47] /usr/sbin/mysqld(+0xcb40e9)[0x559f5f70c0e9] /usr/sbin/mysqld(_ZN18QUICK_RANGE_SELECT20init_ror_merged_scanEbP11st_mem_root+0x85)[0x559f5f2ef955] /usr/sbin/mysqld(_ZN26QUICK_ROR_INTERSECT_SELECT20init_ror_merged_scanEbP11st_mem_root+0x7d)[0x559f5f2efb6d] /usr/sbin/mysqld(_ZN26QUICK_ROR_INTERSECT_SELECT5resetEv+0x5f)[0x559f5f2f095f] /usr/sbin/mysqld(_Z21join_init_read_recordP13st_join_table+0x48)[0x559f5f04bd18] /usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x169)[0x559f5f03b5c9] /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0xa7b)[0x559f5f05d2eb] /usr/sbin/mysqld(_ZN4JOIN4execEv+0x33)[0x559f5f05d503] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x11a)[0x559f5f05d65a] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x1cc)[0x559f5f05e16c] /usr/sbin/mysqld(+0x4bcebc)[0x559f5ef14ebc] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x33f2)[0x559f5f006432] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x22b)[0x559f5f00bc2b] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1c9f)[0x559f5f00e80f] /usr/sbin/mysqld(_Z10do_commandP3THD+0x13e)[0x559f5f00f74e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x221)[0x559f5f0e2f61] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x559f5f0e302d] /usr/sbin/mysqld(+0xc9c85d)[0x559f5f6f485d] /lib64/libpthread.so.0(+0x7dd5)[0x7fbe856b8dd5] /lib64/libc.so.6(clone+0x6d)[0x7fbe83a5b02d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f6fbc0067c0): SELECT direction, COUNT(id) AS sr_all, SUM(success) AS sr_ack, MAX(duration_bill) AS talk_max, SUM(duration_bill) AS talk_sum, AVG(duration_bill) AS talk_avg, AVG(duration_ringing) AS ringing_avg FROM cdr_acd PARTITION(p11) WHERE kid='XXXX' AND agenten_id='XXXX' AND date_time >= DATE_FORMAT(NOW(), '%Y-%m%-%d') AND ((direction='inbound' AND SUBSTRING(from_number, 1, 6) NOT IN('XXXXX:','XXXXX:') AND SUBSTRING(from_number, 1, 3) != 'XXX') OR (direction='outbound' AND SUBSTRING(to_number, 1, 6) NOT IN('XXXXX:','XXXXX:') AND SUBSTRING(to_number, 1, 3) != 'XXX')) GROUP BY direction Connection ID (thread ID): 171945044 Status: NOT_KILLED 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 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. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 1540497 1540497 processes Max open files 16364 16364 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 1540497 1540497 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: core 2019-11-15 7:56:50 0 [Note] InnoDB: Using Linux native AIO 2019-11-15 7:56:50 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2019-11-15 7:56:50 0 [Note] InnoDB: Uses event mutexes 2019-11-15 7:56:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2019-11-15 7:56:50 0 [Note] InnoDB: Number of pools: 1 2019-11-15 7:56:50 0 [Note] InnoDB: Using SSE2 crc32 instructions 2019-11-15 7:56:50 0 [Note] InnoDB: Initializing buffer pool, total size = 288G, instances = 64, chunk size = 128M 2019-11-15 7:56:59 0 [Note] InnoDB: Completed initialization of buffer pool 2019-11-15 7:57:00 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-11-15 7:57:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=19708880707711 2019-11-15 7:57:15 0 [Note] InnoDB: Read redo log up to LSN=19702806781952 2019-11-15 7:57:30 0 [Note] InnoDB: Read redo log up to LSN=19703966244864 2019-11-15 7:57:45 0 [Note] InnoDB: Read redo log up to LSN=19705254158336 2019-11-15 7:58:00 0 [Note] InnoDB: Read redo log up to LSN=19706658004992 2019-11-15 7:58:15 0 [Note] InnoDB: Read redo log up to LSN=19707914985472 2019-11-15 7:58:19 0 [Note] InnoDB: Ignoring data file './db/tabelXY1.ibd' with space ID 19909, since the redo log references ./db/tabelXY1.ibd with space ID 19905. 2019-11-15 7:58:20 0 [Note] InnoDB: Ignoring data file './db/tabelXY2.ibd' with space ID 19910, since the redo log references ./db/tabelXY2.ibd with space ID 19906. 2019-11-15 7:58:21 0 [Note] InnoDB: Ignoring data file './db/tabelXY3.ibd' with space ID 19911, since the redo log references ./db/tabelXY3.ibd with space ID 19907. 2019-11-15 7:58:21 0 [Note] InnoDB: Ignoring data file './db/tabelXY4.ibd' with space ID 19912, since the redo log references ./db/tabelXY4.ibd with space ID 19908. 2019-11-15 7:58:30 0 [Note] InnoDB: To recover: 257895 pages from log 2019-11-15 7:58:31 0 [Note] InnoDB: Transaction 11026732436 was in the XA prepared state. 2019-11-15 7:58:37 0 [Note] InnoDB: Transaction 11026732438 was in the XA prepared state. 2019-11-15 7:58:37 0 [Note] InnoDB: 2 transaction(s) which must be rolled back or cleaned up in total 0 row operations to undo 2019-11-15 7:58:37 0 [Note] InnoDB: Trx id counter is 11026732439 2019-11-15 7:58:37 0 [Note] InnoDB: Starting final batch to recover 257825 pages from redo log. 2019-11-15 7:58:45 0 [Note] InnoDB: To recover: 156862 pages from log 2019-11-15 7:59:00 0 [Note] InnoDB: To recover: 406 pages from log 2019-11-15 7:59:02 0 [Note] InnoDB: Last binlog file '/var/lib/mysql/binlog-m2.001772', position 301868642 2019-11-15 7:59:03 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-11-15 7:59:03 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2019-11-15 7:59:03 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2019-11-15 7:59:03 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-11-15 7:59:03 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-11-15 7:59:03 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-11-15 7:59:03 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-11-15 7:59:03 0 [Note] InnoDB: Waiting for purge to start 2019-11-15 7:59:03 0 [Note] InnoDB: 10.3.17 started; log sequence number 19708881082235; transaction id 11026732441 2019-11-15 7:59:03 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2019-11-15 7:59:03 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-11-15 7:59:03 0 [Note] Recovering after a crash using /var/lib/mysql/binlog-m2 2019-11-15 7:59:03 0 [Note] Starting crash recovery... 2019-11-15 7:59:03 0 [Note] InnoDB: Starting recovery for XA transactions... 2019-11-15 7:59:03 0 [Note] InnoDB: Transaction 11026732436 in prepared state after recovery 2019-11-15 7:59:03 0 [Note] InnoDB: Transaction contains changes to 4 rows 2019-11-15 7:59:03 0 [Note] InnoDB: Transaction 11026732438 in prepared state after recovery 2019-11-15 7:59:03 0 [Note] InnoDB: Transaction contains changes to 2 rows 2019-11-15 7:59:03 0 [Note] InnoDB: 2 transactions in prepared state after recovery 2019-11-15 7:59:03 0 [Note] Found 2 prepared transaction(s) in InnoDB 2019-11-15 7:59:03 0 [Note] Crash recovery finished. 2019-11-15 7:59:03 0 [Note] Server socket created on IP: 'XXX.XXX.XXX.XXX'. 2019-11-15 7:59:03 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown 2019-11-15 7:59:03 8 [Note] Reading Master_info: 'master-from_dbcl01@002d01.info' Relay_info:'relay-log-from_dbcl01@002d01.info' 2019-11-15 7:59:03 8 [Note] Initialized Master_info from 'master-from_dbcl01@002d01.info' 2019-11-15 7:59:03 8 [Note] Added new Master_info 'from_dbcl01-01' to hash table 2019-11-15 7:59:03 0 [Note] Reading of all Master_info entries succeeded 2019-11-15 7:59:03 0 [Note] Added new Master_info '' to hash table 2019-11-15 7:59:03 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.3.17-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2019-11-15 7:59:03 0 [Note] Event Scheduler: Purging the queue. 0 events 2019-11-15 7:59:03 0 [Note] InnoDB: FTS optimize thread exiting. 2019-11-15 7:59:03 0 [Note] InnoDB: Starting shutdown... 2019-11-15 7:59:03 0 [Note] InnoDB: Buffer pool(s) load aborted due to user instigated abort at 191115 7:59:03 2019-11-15 7:59:03 0 [Note] InnoDB: Dumping of buffer pool not started as load was incomplete 2019-11-15 7:59:21 0 [Note] InnoDB: Shutdown completed; log sequence number 19708881098563; transaction id 11026732452 2019-11-15 7:59:21 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2019-11-15 7:59:21 0 [Note] /usr/sbin/mysqld: Shutdown complete