Recently I have upgraded Zabbix from 2.2.5 to 2.4.2 and since than I have noticed mysql error in log that seams to me doesn't not affect Zabbix in visible way - there is no DATA loss in items or crashes of server.
Here is a example of mentioned error:
4855:20141214:180748.245 [Z3005] query failed: [2013] Lost connection to MySQL server during query [select hostid,key_,state,evaltype,formula,error,lifetime from items where itemid=1273939]
5109:20141214:180811.509 [Z3005] query failed: [2013] Lost connection to MySQL server during query [begin;]
I have tried everything with mysql twaeks like:
connect_timeout = 60
wait_timeout = 28800
etc. , but with no luck, server perfomance is ideal, pollers are below 60%, server load is 0.2...
MY mysql confg:
# MyISAM #
key-buffer-size = 2M
# CACHES AND LIMITS #
tmp-table-size = 96M
max-heap-table-size = 96M
query-cache-size = 96M
query-cache-limit = 6M
query_cache_type = 1
max-connections = 1350
connect_timeout = 60
wait_timeout = 28800
max_connect_errors = 1000
table_cache = 4096
thread-cache-size = 48
table-definition-cache = 2048
table-open-cache = 2048
thread_concurrency = 4
sort_buffer_size = 768k
join_buffer_size = 512k
# INNODB #
innodb-flush-method = O_DIRECT
innodb-log-files-in-group = 2
innodb_file_format = Barracuda
innodb-log-file-size = 128M
innodb-log-buffer-size = 128M
innodb-flush-log-at-trx-commit = 2
innodb-file-per-table = 1
innodb_support_xa = 0
innodb-buffer-pool-size = 4000M
innodb_lock_wait_timeout = 200
innodb_old_blocks_time = 1000
innodb_open_files = 2048
innodb_stats_on_metadata = OFF
innodb_additional_mem_pool_size = 16M
So I was wondering is this error affect Zabbix in any way? Can I safley ignore that error?
Does anyone know what changed in new Zabbix that can cause such error?
Here is a example of mentioned error:
4855:20141214:180748.245 [Z3005] query failed: [2013] Lost connection to MySQL server during query [select hostid,key_,state,evaltype,formula,error,lifetime from items where itemid=1273939]
5109:20141214:180811.509 [Z3005] query failed: [2013] Lost connection to MySQL server during query [begin;]
I have tried everything with mysql twaeks like:
connect_timeout = 60
wait_timeout = 28800
etc. , but with no luck, server perfomance is ideal, pollers are below 60%, server load is 0.2...
MY mysql confg:
# MyISAM #
key-buffer-size = 2M
# CACHES AND LIMITS #
tmp-table-size = 96M
max-heap-table-size = 96M
query-cache-size = 96M
query-cache-limit = 6M
query_cache_type = 1
max-connections = 1350
connect_timeout = 60
wait_timeout = 28800
max_connect_errors = 1000
table_cache = 4096
thread-cache-size = 48
table-definition-cache = 2048
table-open-cache = 2048
thread_concurrency = 4
sort_buffer_size = 768k
join_buffer_size = 512k
# INNODB #
innodb-flush-method = O_DIRECT
innodb-log-files-in-group = 2
innodb_file_format = Barracuda
innodb-log-file-size = 128M
innodb-log-buffer-size = 128M
innodb-flush-log-at-trx-commit = 2
innodb-file-per-table = 1
innodb_support_xa = 0
innodb-buffer-pool-size = 4000M
innodb_lock_wait_timeout = 200
innodb_old_blocks_time = 1000
innodb_open_files = 2048
innodb_stats_on_metadata = OFF
innodb_additional_mem_pool_size = 16M
So I was wondering is this error affect Zabbix in any way? Can I safley ignore that error?
Does anyone know what changed in new Zabbix that can cause such error?
Comment