The necessary adjustments in the Kernel
One point that has to be changed immediately is the limit on the number of open files because in certain critical situations, Linux servers generate an exception called Too many open files
. This kind of problem occurs when a particular user (including root) reaches the maximum limit of the number of open files allowed by the system.
With Zabbix, it is no different and we need to pay attention to it. Each Zabbix server process (pollers, trappers, housekeeping, discovery, syncers, and so on) will request opening of files, both for writing and reading. It is worth stressing that a socket is also considered an open file. Zabbix usually opens many TCP/IP connections to perform data collection. Each connection will request opening of several files and sockets.
Here's a point to pay attention to because we have two parameters that are related, so much so that many users think they are the same. In fact, there is a difference in scope between the parameters...