NetXMS Support Forum

English Support => General Support => Topic started by: jermudgeon on December 11, 2019, 06:00:00 PM

Title: Valgrind log for 3.1.261-2; server crash
Post by: jermudgeon on December 11, 2019, 06:00:00 PM
Netxms server consuming RAM and crashing. Valgrind log attached.

Options:
valgrind --log-file=/home/jaustin/vg.log --leak-check=full --undef-value-errors=no netxmsd -D3
Title: Re: Valgrind log for 3.1.261-2; server crash
Post by: jermudgeon on December 12, 2019, 06:04:06 PM
Ran with 1000 threads. Exited. Output log contains only six lines, a splash message from Memcheck (as launched by valgrind).
Title: Re: Valgrind log for 3.1.261-2; server crash
Post by: jermudgeon on December 12, 2019, 08:34:54 PM
I believe we were simply running out of memory overall. In this dev environment it's sharing space with postgresql. In the latest release, my best guess is that netxms behavior changed, resulting in more concurrent database queries. I dramatically lowered the number of database pools in use, and so far netxms has been stable with no reduction in performance. (I am monitoring threads via DCIs.)