Hi, all,
Recently I have install zabbix 3.0.1 and whenever I added a new host, my default 4 history syncers would got 100% busy,
ps -ef | grep zabbix_server | grep "history syncer"
zabbix 36255 35999 0 11:35 ? 00:01:52 /usr/sbin/zabbix_server: history syncer #1 [synced 1514 items in 102.664275 sec, syncing history]
zabbix 36256 35999 0 11:35 ? 00:01:19 /usr/sbin/zabbix_server: history syncer #2 [synced 950 items in 275.989618 sec, syncing history]
zabbix 36258 35999 0 11:35 ? 00:01:35 /usr/sbin/zabbix_server: history syncer #3 [synced 938 items in 171.130869 sec, syncing history]
zabbix 36260 35999 0 11:35 ? 00:02:07 /usr/sbin/zabbix_server: history syncer #4 [synced 743 items in 155.760232 sec, syncing history]
It takes three hours to get back to less than 1%. As I have to add 100+ hosts, the process is way too long.
My environment is as follows: Dell PowerEdge R430 , 64GB RAM, SSD 4x400GB
MySQL 5.7
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
max_connections = 2048
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
innodb_file_per_table=1
innodb_buffer_pool_size = 40G
innodb_log_file_size=64M
innodb-flush-log-at-trx-commit = 0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
CacheSize=2G
HistoryCacheSize=2G
HistoryIndexCacheSize=2G
TrendCacheSize=2G
ValueCacheSize=8G
Can anyone help me about this issue? Appreciate advice so much!
Recently I have install zabbix 3.0.1 and whenever I added a new host, my default 4 history syncers would got 100% busy,
ps -ef | grep zabbix_server | grep "history syncer"
zabbix 36255 35999 0 11:35 ? 00:01:52 /usr/sbin/zabbix_server: history syncer #1 [synced 1514 items in 102.664275 sec, syncing history]
zabbix 36256 35999 0 11:35 ? 00:01:19 /usr/sbin/zabbix_server: history syncer #2 [synced 950 items in 275.989618 sec, syncing history]
zabbix 36258 35999 0 11:35 ? 00:01:35 /usr/sbin/zabbix_server: history syncer #3 [synced 938 items in 171.130869 sec, syncing history]
zabbix 36260 35999 0 11:35 ? 00:02:07 /usr/sbin/zabbix_server: history syncer #4 [synced 743 items in 155.760232 sec, syncing history]
It takes three hours to get back to less than 1%. As I have to add 100+ hosts, the process is way too long.
My environment is as follows: Dell PowerEdge R430 , 64GB RAM, SSD 4x400GB
MySQL 5.7
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
max_connections = 2048
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
innodb_file_per_table=1
innodb_buffer_pool_size = 40G
innodb_log_file_size=64M
innodb-flush-log-at-trx-commit = 0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
CacheSize=2G
HistoryCacheSize=2G
HistoryIndexCacheSize=2G
TrendCacheSize=2G
ValueCacheSize=8G
Can anyone help me about this issue? Appreciate advice so much!

Comment