powershell no returns value

I am using Nxlog 5.4.7313 and I have such a config block.

<Input perf_process>
Module im_exec
BufferSize 200
Command "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
Arg "-ExecutionPolicy"
Arg "remotesigned"
Arg "-File"
Arg "C:\scripts\Get-ProcessUtilization.ps1"
Restart TRUE

AskedSeptember 21, 2021 - 12:29pm

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

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

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