Table of Contents

Zabbix - Errors

Zabbix Server

The maximum number of concurrent checks per worker has been reduced to 306

/var/log/zabbix/zabbix_server.log
78526:20240604:124813.695 for a discovery process with 2 workers, the user limit of 1024 file descriptors is insufficient. The maximum number of concurrent checks per worker has been reduced to 306

Check current configuration.

systemctl show zabbix-server.service | grep LimitNOFILE
Example
root@riley:~# systemctl show zabbix-server.service | grep LimitNOFILE
LimitNOFILE=1024
LimitNOFILESoft=1024

Change limit.

mkdir -p /etc/systemd/system/zabbix-server.service.d/
cat >/etc/systemd/system/zabbix-server.service.d/filelimit.conf <<EOF
[Service]
LimitNOFILE=102400
EOF
systemctl daemon-reload
systemctl restart zabbix-server.service

Check current configuration.

systemctl show zabbix-server.service | grep LimitNOFILE
Example
root@riley:~# systemctl show zabbix-server.service | grep LimitNOFILE
LimitNOFILE=102400
LimitNOFILESoft=102400