we recently upgraded a host from 5.5.50 to 10.1.24; and now get the following error when a certain stored procedure is executed. It does not happen every time and immediately after restart - the stored procedure call finishes without issue. I dropped and recreated all the stored procedures on the host in case it was some sort of corruption, but after a couple days - the server crashed again reporting the following in the error log:
180628 7:01: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.24-MariaDB
|
key_buffer_size=5368709120
|
read_buffer_size=270336
|
max_used_connections=251
|
max_threads=1252
|
thread_count=236
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 8163227 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f270138f008
|
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 = 0x7f23da2410b0 thread_stack 0x48400
|
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f2c6dacc33e]
|
/usr/sbin/mysqld(handle_fatal_signal+0x305)[0x7f2c6d5f20a5]
|
/lib64/libpthread.so.0(+0xf370)[0x7f2c6cc0a370]
|
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x11)[0x7f2c6d4c86e1]
|
/usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x112)[0x7f2c6d4c4dc2]
|
mysys/stacktrace.c:268(my_print_stacktrace)[0x7f2c6d44a0bb]
|
sql/sql_analyze_stmt.h:97(Time_and_counter_tracker::incr_loops())[0x7f2c6d44b3d4]
|
sql/sql_derived.cc:942(mysql_derived_fill(THD*, LEX*, TABLE_LIST*))[0x7f2c6d4a53df]
|
sql/sql_select.cc:21464(create_sort_index(THD*, JOIN*, st_order*, unsigned long long, unsigned long long, bool))[0x7f2c6d4be698]
|
sql/sql_select.cc:3186(JOIN::exec_inner())[0x7f2c6d4c6637]
|
sql/sql_select.cc:2512(JOIN::exec())[0x7f2c6d4c8724]
|
sql/sql_select.cc:3447(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x7f2c6d4c4dc2]
|
sql/sql_select.cc:384(handle_select(THD*, LEX*, select_result*, unsigned long))[0x7f2c6d4c58a5]
|
sql/sql_parse.cc:5923(execute_sqlcom_select(THD*, TABLE_LIST*))[0x7f2c6d464971]
|
sql/sql_parse.cc:2979(mysql_execute_command(THD*))[0x7f2c6d470fbb]
|
sql/sp_head.cc:3213(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x7f2c6d700d86]
|
sql/sp_head.cc:2978(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x7f2c6d707853]
|
sql/sp_head.cc:3129(sp_instr_stmt::execute(THD*, unsigned int*))[0x7f2c6d707e05]
|
sql/sp_head.cc:1318(sp_head::execute(THD*, bool))[0x7f2c6d703d46]
|
sql/sp_head.cc:2103(sp_head::execute_procedure(THD*, List<Item>*))[0x7f2c6d705397]
|
sql/sql_parse.cc:2415(mysql_execute_command(THD*))[0x7f2c6d4714c8]
|
sql/sql_parse.cc:7340(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x7f2c6d474592]
|
sql/sql_parse.cc:1490(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x7f2c6d477a6a]
|
sql/sql_parse.cc:1111(do_command(THD*))[0x7f2c6d4782ca]
|
sql/sql_connect.cc:1349(do_handle_one_connection(THD*))[0x7f2c6d54039a]
|
sql/sql_connect.cc:1263(handle_one_connection)[0x7f2c6d540540]
|
/lib64/libpthread.so.0(+0x7dc5)[0x7f2c6cc02dc5]
|
/lib64/libc.so.6(clone+0x6d)[0x7f2c6b02176d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f2402f8b3c8): is an invalid pointer
|
Connection ID (thread ID): 19291
|
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=off
|
|
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.
|
|
We think the query pointer is invalid, but we will try to print it anyway.
|
Query: select *
|
from
|
((select
|
r.trade_date, r.user_id, r.context,
|
cast(@runningNet := @runningNet + r.net_pnl as decimal(12,2)) as running_net, r.net_pnl,
|
cast(@runningGross := @runningGross + r.gross_pnl as decimal(12,2)) as running_gross, r.gross_pnl,
|
cast(@runningCosts := @runningCosts + r.costs as decimal(12,2)) as running_costs, r.costs,
|
cast(r.round_turns as signed) as round_turns,
|
cast((@runningGross - @runningCosts) / (@count := @count + 1) as decimal(12,2)) as avg_net,
|
cast(@runningCosts * 100 / @runningGross as decimal(6,2)) as cost_ratio
|
from
|
((select
|
trade_date, user_id, context,
|
sum(net_pnl) as net_pnl,
|
sum(gross_pnl) as gross_pnl,
|
sum(costs) as costs,
|
((sum(buys) + sum(sells)) / 2) as round_turns
|
from daily where context = NAME_CONST('ctxt',_latin1'Tahoe' COLLATE 'latin1_swedish_ci') group by trade_date order by trade_date asc) as r)) as a) order by trade_date desc
|
|
180628 07:01:36 mysqld_safe Number of processes running now: 0
|
180628 07:01:36 mysqld_safe mysqld restarted
|
- relates to
-
MDEV-13936
Server crashes in Time_and_counter_tracker::incr_loops
-
-
Closed
{"report":{"fcp":1312.4000000953674,"ttfb":362.90000009536743,"pageVisibility":"visible","entityId":68411,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3f585260-b8b7-4f9f-a168-bbb0c578cd21","navigationType":0,"readyForUser":1409.4000000953674,"redirectCount":0,"resourceLoadedEnd":1649.2000002861023,"resourceLoadedStart":369,"resourceTiming":[{"duration":421.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":369,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":790.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":421.19999980926514,"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":369.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":790.5,"responseStart":0,"secureConnectionStart":0},{"duration":430.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":369.5,"connectEnd":369.5,"connectStart":369.5,"domainLookupEnd":369.5,"domainLookupStart":369.5,"fetchStart":369.5,"redirectEnd":0,"redirectStart":0,"requestStart":369.5,"responseEnd":800.4000000953674,"responseStart":800.4000000953674,"secureConnectionStart":369.5},{"duration":496.59999990463257,"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":369.7000002861023,"connectEnd":369.7000002861023,"connectStart":369.7000002861023,"domainLookupEnd":369.7000002861023,"domainLookupStart":369.7000002861023,"fetchStart":369.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":369.7000002861023,"responseEnd":866.3000001907349,"responseStart":866.3000001907349,"secureConnectionStart":369.7000002861023},{"duration":500.80000019073486,"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":369.90000009536743,"connectEnd":369.90000009536743,"connectStart":369.90000009536743,"domainLookupEnd":369.90000009536743,"domainLookupStart":369.90000009536743,"fetchStart":369.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":369.90000009536743,"responseEnd":870.7000002861023,"responseStart":870.7000002861023,"secureConnectionStart":369.90000009536743},{"duration":501.1000003814697,"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":370.09999990463257,"connectEnd":370.09999990463257,"connectStart":370.09999990463257,"domainLookupEnd":370.09999990463257,"domainLookupStart":370.09999990463257,"fetchStart":370.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":370.09999990463257,"responseEnd":871.2000002861023,"responseStart":871.2000002861023,"secureConnectionStart":370.09999990463257},{"duration":501.2999997138977,"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":370.30000019073486,"connectEnd":370.30000019073486,"connectStart":370.30000019073486,"domainLookupEnd":370.30000019073486,"domainLookupStart":370.30000019073486,"fetchStart":370.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":370.30000019073486,"responseEnd":871.5999999046326,"responseStart":871.5999999046326,"secureConnectionStart":370.30000019073486},{"duration":601.7000002861023,"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":370.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":972.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":501.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":370.59999990463257,"connectEnd":370.59999990463257,"connectStart":370.59999990463257,"domainLookupEnd":370.59999990463257,"domainLookupStart":370.59999990463257,"fetchStart":370.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":370.59999990463257,"responseEnd":872,"responseStart":872,"secureConnectionStart":370.59999990463257},{"duration":601.5,"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":370.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":972.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":501.90000009536743,"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":370.90000009536743,"connectEnd":370.90000009536743,"connectStart":370.90000009536743,"domainLookupEnd":370.90000009536743,"domainLookupStart":370.90000009536743,"fetchStart":370.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":370.90000009536743,"responseEnd":872.8000001907349,"responseStart":872.8000001907349,"secureConnectionStart":370.90000009536743},{"duration":1258,"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":378.90000009536743,"connectEnd":378.90000009536743,"connectStart":378.90000009536743,"domainLookupEnd":378.90000009536743,"domainLookupStart":378.90000009536743,"fetchStart":378.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":378.90000009536743,"responseEnd":1636.9000000953674,"responseStart":1636.9000000953674,"secureConnectionStart":378.90000009536743},{"duration":1255.4000000953674,"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":382.5,"connectEnd":382.5,"connectStart":382.5,"domainLookupEnd":382.5,"domainLookupStart":382.5,"fetchStart":382.5,"redirectEnd":0,"redirectStart":0,"requestStart":382.5,"responseEnd":1637.9000000953674,"responseStart":1637.9000000953674,"secureConnectionStart":382.5},{"duration":133.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":988.5,"connectEnd":988.5,"connectStart":988.5,"domainLookupEnd":988.5,"domainLookupStart":988.5,"fetchStart":988.5,"redirectEnd":0,"redirectStart":0,"requestStart":988.5,"responseEnd":1122,"responseStart":1122,"secureConnectionStart":988.5},{"duration":379.2999997138977,"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":1262.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1262.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1642.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":378.3999996185303,"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":1263.7000002861023,"connectEnd":1263.7000002861023,"connectStart":1263.7000002861023,"domainLookupEnd":1263.7000002861023,"domainLookupStart":1263.7000002861023,"fetchStart":1263.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1263.7000002861023,"responseEnd":1642.0999999046326,"responseStart":1642.0999999046326,"secureConnectionStart":1263.7000002861023},{"duration":389.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1304.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1304.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1694,"responseStart":0,"secureConnectionStart":0},{"duration":385,"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":1264.2000002861023,"connectEnd":1264.2000002861023,"connectStart":1264.2000002861023,"domainLookupEnd":1264.2000002861023,"domainLookupStart":1264.2000002861023,"fetchStart":1264.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1264.2000002861023,"responseEnd":1649.2000002861023,"responseStart":1649.2000002861023,"secureConnectionStart":1264.2000002861023}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":176,"responseStart":363,"responseEnd":382,"domLoading":367,"domInteractive":1700,"domContentLoadedEventStart":1700,"domContentLoadedEventEnd":1763,"domComplete":2334,"loadEventStart":2335,"loadEventEnd":2335,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1649.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1650.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":1650.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1656.7000002861023},{"name":"activityTabFullyLoaded","time":1790.2000002861023}],"measures":[],"correlationId":"8807e4cb34eb4a","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":117,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
my.cnf for the host:
#
# This started with MariaDB example config file for systems with 4GB of memory
# running mostly MariaDB using InnoDB only tables and performing complex
# queries with few connections.
#
#
# The following options will be read by MariaDB client applications.
[client]
port = 3306
socket = /srv/db_trn/run/mysql.sock
[mysqld]
# generic configuration options
port = 3306
socket = /srv/db_trn/run/mysql.sock
pid-file = /srv/db_trn/run/ch4pxdbsilo04.pid
datadir = /srv/dbdata_fast/mysql
back_log = 50
max_connections = 1250
table_open_cache = 1000
table_definition_cache = 1000
skip-external-locking
max_allowed_packet = 16M
optimizer_switch = default
#thread_cache_size = 16
#thread_concurrency = 8
query_cache_type = 0
query_cache_size = 0
query_cache_limit = 16M
default_storage_engine = InnoDB
#general_log = 1
#general_log_file = /srv/db_trn/log/mysql/ch4pxdbsilo04-general.log
userstat = 1
plugin-load = auth_pam.so
wait_timeout = 86400
innodb_strict_mode = 0
sql_mode = ''
# charset variables
init-connect='SET NAMES latin1'
character_set_client = latin1
character_set_server = latin1
skip-character-set-client-handshake
# logging variables
slow_query_log = 1
long_query_time = 10
slow_query_log_file = /srv/db_trn/log/mysql/ch4pxdbsilo04-slow.log
log-warnings = 2
log_error = /srv/db_trn/log/mysql/ch4pxdbsilo04-error.log
sql-error-log-filename = /srv/db_trn/log/mysql/ch4pxdbsilo04_sql_errors.log
# binlog specific settings
binlog_cache_size = 1M
log_bin = 1
log-bin = /srv/db_trn/log/binlog/ch4pxdbsilo04-bin
binlog_format = mixed
expire_logs_days = 7
max_binlog_size = 1000M
# session variables
read_buffer_size = 265k
#sort_buffer_size = 4M
read_rnd_buffer_size = 8M
#join_buffer_size = 4M
# tmp variables
tmp_table_size = 250M
tmpdir = /srv/dbtmp
# Replication related settings
server-id = 4
#master-host = master
#master-user = replication
#master-password = Gelber@Repl!master
#master-port = 3306
read_only
log_slave_updates = 1
slave-load-tmpdir = /srv/dbtmp
#skip-slave-start
log-slow-slave-statements
# MyISAM Specific options
key_buffer_size = 5G
max_heap_table_size = 1G
bulk_insert_buffer_size = 32M
myisam_sort_buffer_size = 64M
myisam_max_sort_file_size = 25G
myisam_repair_threads = 4
myisam_recover_option = backup
# INNODB Specific options
innodb_file_per_table = on
innodb_additional_mem_pool_size = 8M
innodb_buffer_pool_size = 25G
innodb_data_file_path = ibdata1:10M:autoextend
innodb_data_home_dir = /srv/dbdata_fast/mysql
#innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 8M
innodb_log_file_size = 256M
innodb_log_group_home_dir = /srv/db_trn/log/mysql
innodb_read_io_threads = 64
innodb_write_io_threads = 64
innodb_max_dirty_pages_pct = 80
innodb_flush_method=O_DIRECT
innodb_stats_on_metadata = 0
innodb_print_all_deadlocks = 1
innodb_file_format = barracuda
innodb_print_all_deadlocks = 1
innodb_open_files = 1000
[mysqldump]
quick
max_allowed_packet = 64M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 512M
sort_buffer_size = 512M
read_buffer = 8M
write_buffer = 8M
[mysqlhotcopy]
interactive-timeout
[safe_mysqld]
log_error = /srv/db_trn/log/mysql/ch4pxdbsilo04-error.log
socket = /srv/db_trn/run/mysql.sock
pid-file = /srv/db_trn/run/chi0dbcore01.pid
numa-interleave