Hi there,
need some advices. Our env.:
Ubuntu 16.04, 2x cores, 4GB RAM
Parameter | Value | Details
Zabbix server is running | Yes | localhost:10051
Number of hosts (enabled/disabled/templates) | 85 | 60 / 2 / 23
Number of items (enabled/disabled/not supported) | 9256 | 8152 / 478 / 626
Number of triggers (enabled/disabled [problem/ok]) | 1965 | 1564 / 401 [43 / 1521]
Number of users (online) | 29 | 2
Required server performance, new values per second | 118.07
| innodb_version | 5.6.42-84.2
| protocol_version | 10
| version | 10.0.38-MariaDB-0ubuntu0.16.04.1
| version_comment | Ubuntu 16.04
| version_compile_os | debian-linux-gnu
| version_malloc_library | bundled jemalloc
innodb_buffer_pool_instances = 8 (default)
innodb_buffer_pool_size = 128MB
innodb_buffer_pool_chunk_size = not possible to retrieve, as MySQL is too old version.
Housekeeping runs every 1h, drops around 300k+ records every time. Runs for about 2-10min. each.
Housekeeping retention stuff is set to pretty low values, all values up to 1 week, apart "Trends" 365d. and "Audit" 180d.
The queue is pretty empty, apart some spikes. But normally some records stay no longer than 2-3min.
###The problems:
Around 50x times per day we get such a Zabbix server problems:
Too many processes on Zabbix server
Disk I/O is overloaded on Zabbix server
Once in a month or two - MySQL database "zabbix" on "localhost" is not available: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
Regarding MySQL settings, increased innodb_buffer_pool_size from 128MB ---> 2GB.
Now we got even more issues, loads of messages:
Too many processes on Zabbix
Disk I/O is overloaded on Zabbix server
Less than 25% free in the history cache
Zabbix unreachable poller processes more than 75% busy
OS-Conifg agent on Zabbix server is unreachable for 5 minutes
Zabbix history syncer processes more than 75% busy
And of course below one for some time:
MySQL database "zabbix" on "localhost" is not available: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
What are your suggestions to improve performance?
need some advices. Our env.:
Ubuntu 16.04, 2x cores, 4GB RAM
Parameter | Value | Details
Zabbix server is running | Yes | localhost:10051
Number of hosts (enabled/disabled/templates) | 85 | 60 / 2 / 23
Number of items (enabled/disabled/not supported) | 9256 | 8152 / 478 / 626
Number of triggers (enabled/disabled [problem/ok]) | 1965 | 1564 / 401 [43 / 1521]
Number of users (online) | 29 | 2
Required server performance, new values per second | 118.07
| innodb_version | 5.6.42-84.2
| protocol_version | 10
| version | 10.0.38-MariaDB-0ubuntu0.16.04.1
| version_comment | Ubuntu 16.04
| version_compile_os | debian-linux-gnu
| version_malloc_library | bundled jemalloc
innodb_buffer_pool_instances = 8 (default)
innodb_buffer_pool_size = 128MB
innodb_buffer_pool_chunk_size = not possible to retrieve, as MySQL is too old version.
Housekeeping runs every 1h, drops around 300k+ records every time. Runs for about 2-10min. each.
Housekeeping retention stuff is set to pretty low values, all values up to 1 week, apart "Trends" 365d. and "Audit" 180d.
The queue is pretty empty, apart some spikes. But normally some records stay no longer than 2-3min.
###The problems:
Around 50x times per day we get such a Zabbix server problems:
Too many processes on Zabbix server
Disk I/O is overloaded on Zabbix server
Once in a month or two - MySQL database "zabbix" on "localhost" is not available: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
Regarding MySQL settings, increased innodb_buffer_pool_size from 128MB ---> 2GB.
Now we got even more issues, loads of messages:
Too many processes on Zabbix
Disk I/O is overloaded on Zabbix server
Less than 25% free in the history cache
Zabbix unreachable poller processes more than 75% busy
OS-Conifg agent on Zabbix server is unreachable for 5 minutes
Zabbix history syncer processes more than 75% busy
And of course below one for some time:
MySQL database "zabbix" on "localhost" is not available: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
What are your suggestions to improve performance?
Comment