Raise the Open File Limit for NXLog Manager Using systemd
This section explains how to adjust the limit for the number of files that the
nxlog-manager service can open in Linux. To achieve this, a configuration
file needs to be created under the systemd directory, which will
permanently hold the required open file limit setting. This way, package
upgrades in the Linux system will never overwrite this configuration.
Procedure
- 
Create the directory that will hold the changes for the nxlog-managerservice.# sudo mkdir -p /etc/systemd/system/nxlog-manager.service.d/ 
- 
Create the /etc/systemd/system/nxlog-manager.service.d/limits.conf file with the following content: [Service] LimitNOFILE=10000 In this configuration, 10000represents to the number of files that NXLog Manager is allowed to open. Change this number to suit the requirements of your environment.
- 
For the configuration to take effect, reload the systemd deamon.# sudo systemctl daemon-reload 
- 
To tell NXLog Manager about the changes, the nxlog-managerservice needs to be restarted.- 
On Debian Wheezy or RHEL6/CentOS6 # service nxlog-manager restart 
- 
On Debian Stretch or RHEL7/CentOS7 # systemctl restart nxlog-manager 
 
- 
