zabbix is failing to query the mysql database with this error:
Query failed MySQL server has gone away
but it doesnt fall, only doenst do all the querys, only a few, i can see the state of some hosts, but not all.
i read the forum about this behavior but in my case zabbix continues up making querys to mysql.
i have
centos 5.3 64 bits
mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (x86_64) using readline 5.0
zabbix 1.6.5 innodb engine with indexes
please tell me if you have a clue,
this is my my.cnf
[mysqld]
user = mysql
datadir = /var/lib/mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/lib/mysql/mysql.sock
old_passwords = 1
#skip-innodb
innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_file_per_table = 1
innodb_buffer_pool_size = 500M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 125M
innodb_log_buffer_size = 30M
innodb_flush_log_at_trx_commit = 1
max_connections = 5000
interactive_timeout = 20
max_allowed_packet = 90M
wait_timeout = 20
table_cache = 10M
sort_buffer = 20M
read_buffer_size = 20M
tmp_table_size = 96M
read_rnd_buffer_size = 20M
key_buffer = 16M
key_buffer_size = 32M
thread_stack = 128K
thread_cache_size = 64
query_cache_limit = 20M
query_cache_size = 64M
query_cache_type = 1
join_buffer_size = 512K
log_slow_queries = /var/log/mysql/mysql-slow.log
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Query failed MySQL server has gone away
but it doesnt fall, only doenst do all the querys, only a few, i can see the state of some hosts, but not all.
i read the forum about this behavior but in my case zabbix continues up making querys to mysql.
i have
centos 5.3 64 bits
mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (x86_64) using readline 5.0
zabbix 1.6.5 innodb engine with indexes
please tell me if you have a clue,
this is my my.cnf
[mysqld]
user = mysql
datadir = /var/lib/mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/lib/mysql/mysql.sock
old_passwords = 1
#skip-innodb
innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_file_per_table = 1
innodb_buffer_pool_size = 500M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 125M
innodb_log_buffer_size = 30M
innodb_flush_log_at_trx_commit = 1
max_connections = 5000
interactive_timeout = 20
max_allowed_packet = 90M
wait_timeout = 20
table_cache = 10M
sort_buffer = 20M
read_buffer_size = 20M
tmp_table_size = 96M
read_rnd_buffer_size = 20M
key_buffer = 16M
key_buffer_size = 32M
thread_stack = 128K
thread_cache_size = 64
query_cache_limit = 20M
query_cache_size = 64M
query_cache_type = 1
join_buffer_size = 512K
log_slow_queries = /var/log/mysql/mysql-slow.log
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Comment