NXLog 4.3.4308 failed to open files

Tags: error

#1 hatula

Hi everybody!

Today I found in the logs of NXLog 4.3.4308 Server very odd error:

2019-06-12 11:22:04 ERROR failed to open file <FILE> when trying to truncate: Too many open files

The service was not working at this time until I has restarted it.

Could you be please so kind tell me what is the limit of opened files? What's the number simultaneous connections can the service hold?

Thanks!

#2 Zhengshi Nxlog ✓
#1 hatula
Hi everybody! Today I found in the logs of NXLog 4.3.4308 Server very odd error: 2019-06-12 11:22:04 ERROR failed to open file <FILE> when trying to truncate: Too many open files The service was not working at this time until I has restarted it. Could you be please so kind tell me what is the limit of opened files? What's the number simultaneous connections can the service hold? Thanks!

This will depend on your Operating System and distribution. i.e. this is handled differently in Linux between SysV Init and SystemD processes.

At the base level though, this is normally a configuration on your system to limit how many files a user can have open and as such is system configuration outside of NXLog.