1
response

syslog_tls too many open files

There is a bug in NXLog Community Edition 2.10.2150, with module im_ssl regarding opening CA files.

NXLog seems to create a file descriptor for the CA file each time a new connection is made. That is, NXLog opens the file again and again. If NXLog runs on Linux, this can quickly hit the OS limit of maximum number of files open.

The following error is seen repeatedly once the OS limit of file descriptors is reached:

AskedApril 18, 2019 - 9:54am
1
response

ERROR ### ASSERTION FAILED at line 206 in om_dbi.c/om_dbi_get_sql(): "len > j" ###

Hello,
We're testing nxlog and at least a few times per day it's throwing this error. When this happens the error repeats itself in the logs for a few hours until either the log fills up the  partition or the kernel kills nxlog due to memory running out (Out of memory: Kill process 2422 (nxlog) score 762 or sacrifice child).

AskedJune 21, 2016 - 4:26pm