MetXMS 2.0-M2 - possible memory leaks on Solaris

Started by Marcin, July 15, 2015, 09:29:20 AM

Previous topic - Next topic

Marcin

Hello,

I observe that every day memory consumption of netxmsd is increasing by around 1GB.
After two weeks netxsmd consumed 20GB of physical memory on Solaris system.
Server was restarted 13.07. Two days later memory usage already increased to 4GB:

I'm attaching pmap output.

Best regards,
Marcin

Victor Kirhenshtein

Hi,

I recommend to try 2.0-M5 - some memory leaks was fixed in that release.

Best regards,
Victor

Marcin

Hi Victor,

M5 release for Agent is not working on Solaris:

[root] /opt/netxms/bin $ ./nxagentd
ld.so.1: nxagentd: fatal: libappagent.so.2: open failed: No such file or directory
Killed

[root] /opt/netxms/bin $ ls -la /opt/netxms/lib/libappagent.so*
lrwxrwxrwx   1 root     root          20 Jul 17 13:06 /opt/netxms/lib/libappagent.so -> libappagent.so.1.0.0
lrwxrwxrwx   1 root     root          20 Jul 17 13:06 /opt/netxms/lib/libappagent.so.1 -> libappagent.so.1.0.0
-rwxr-xr-x   1 root     root      151568 Apr 29 20:30 /opt/netxms/lib/libappagent.so.1.0.0

Best regards,
Marcin

Victor Kirhenshtein

Hi,

did you install it from sources or from binary package?

Best regards,
Victor

Marcin


I install from binary package.
I did a rollback to M2 version.

Marcin

Hi Victor,

Is it a bug in the M5 release?
Should I create a symlink: libappagent.so.2 -> libappagent.so.1.0.0 or M5 should be delivered with new version of agent library?

Best regards,
Marcin

Marcin

Hi Victor,

How could I install NetXMS M5 release on Solaris?
I'm using binary packages.

Best regards,
Marcin

Victor Kirhenshtein

Hi!

Could you please try to install this agent: https://www.dropbox.com/s/da2omgyrhja6dtj/RADnxagent.2.0-RC2.sparc.pkg.gz?dl=0?

It is 2.0-RC2 that will be officially released in a few days. I fixed errors in package so it should contain correct libraries now. I recommend to uninstall previous version and make sure that /opt/netxms/lib directory is empty before installing this version.

Best regards,
Victor

Marcin

Hi,

Today I installed officially released 2.0-RC2 agent. I can confirm there are no issues with libraries.
I will upgrade server package and check if still there are memory leaks as soon as Oracle NetXMS disk space consumption problem will be solved.

Best regards,
Marcin


Marcin

Hi,

NetXMS version 2.0-RC2 solved the problem with memory leak.

Best regards,
Marcin