Memory leak xm_python, om_python


#1 Grzegorz.Grabowski

In a heavily loaded environment, around 250K values per minute using python modules, causes memory leaks and out of memory errors. Checked on: Ubuntu 20 LTS, Centos 8 Stream. After 15-20 minutes of working (Kafka python script) nxlog eats over 8 GB of RAM + 3G swap and crush. Every restart or reload service clean the memory. Using the perl module is not the solution.

Anyone has the same? Maybe any tips to resolve it.

#2 KlevinDeactivated Nxlog ✓
#1 Grzegorz.Grabowski
In a heavily loaded environment, around 250K values per minute using python modules, causes memory leaks and out of memory errors. Checked on: Ubuntu 20 LTS, Centos 8 Stream. After 15-20 minutes of working (Kafka python script) nxlog eats over 8 GB of RAM + 3G swap and crush. Every restart or reload service clean the memory. Using the perl module is not the solution. Anyone has the same? Maybe any tips to resolve it.

Hello Grzegorz,

May i suggest to create a gitlab issue to our ce repository with the possible details you have.

For sure sharing nxlog.conf and nxlog.log file will help as well ( please note to redact sensitive information like ip, domains etc )

Sincerely Klevin