NetXMS Support Forum

English Support => General Support => Topic started by: lindeamon on March 31, 2020, 10:06:55 PM

Title: server is taking 12GB memory
Post by: lindeamon on March 31, 2020, 10:06:55 PM
hi,

i have installed the latest version on server 2012r2 with postgresql and i see that netxms core is taking 12GB Ram.
never seen this king of performance.
is there a memory leak or something ?

Regards,
Lindeamon
Title: Re: server is taking 12GB memory
Post by: Filipp Sudanov on April 01, 2020, 12:10:57 AM
Please check "NetXMS server: physical memory used by process" DCI on NetXMS server node. How it's graph looks for a couple of days - is it stable or growing?

Memory usage depends on number of objects, number of data collection threads, etc.
Please show the output of "sh st" command executed in server console.
Title: Re: server is taking 12GB memory
Post by: lindeamon on April 01, 2020, 08:34:49 AM
Hi Filipp,

after a few minutes the memory usage went down to 5GB but again, i am using this software for about 8 years and never seen this kind of memory footprint.
since this a new network, the only thing i am doing is ping.
objects:178
monitored nodes:44
dci's:149

and it is not only on server 2012 R2. it's happening on 2019 too

Regards,
Lindeamon
Title: Re: server is taking 12GB memory
Post by: Filipp Sudanov on April 01, 2020, 02:35:29 PM
Even 5GB is way too high for installation of that size. Can you please run this script and share the results:
https://github.com/netxms/netxms/blob/master/src/server/tools/scripts/nx-collect-server-diag.cmd

There are a few things, like process list or ip addresses, that you might not want to publish, you can either send me the output in PM, or modify the .cmd file so they are not collected.
Title: Re: server is taking 12GB memory
Post by: lindeamon on April 01, 2020, 09:28:06 PM
Hi Philipp,

it will take me a while to run it because i have been asked to stop it for a few days.
will provide the info when it is possible.

thank you for the help.

Lindeamon
Title: Re: server is taking 12GB memory
Post by: Filipp Sudanov on April 06, 2020, 11:51:44 PM
There's a new release available not that fixes one memory leak. Please try it.