View previous topic :: View next topic |
Author |
Message |
ron.visser
Joined: 04 Feb 2011 Posts: 8
|
Posted: Fri Mar 04, 2011 6:00 am Post subject: Memory leak Passive RMA Agents |
|
|
The amount memory used by my RMA agents grows very fast.
In a day it uses over 200 MB
Im using hostmonitor 8.82 on a w2003 r2 server
the agent is also running on a w2003 r2 server
The agent performs 4 ODBC tests and is using the microsoft ODBC driver
for Oracle.
On another server I'm using a native oracle driver but it makes no differnce.
2 test are scheduled every hour
2 test are scheduled every 10 minutes
Agent config:
running as a service using an admin account
All tests and actions enabled
Port 1055 for all agents |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12808 Location: USA
|
Posted: Fri Mar 04, 2011 6:45 am Post subject: |
|
|
What kind of memory counter did you check? Working Set? Usually value of this counter is not really useful. Quote from Microsoft
========================
The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use
========================
In other words, memory can be released by application but Windows does not release it because system still has some available memory.
What about handles? How many handles allocated by agent?
Looks like several customers experience handles leakage related to ODBC test. We do not see any mistake in our code and we cannot reproduce the problem using the same ODBC drivers (while we know old MySQL and Oracle drivers caused this problem all the time).
So we do not have any idea what is the reason of the problem
We added some new options for testing purpose, probably will upload new version today.
Does this agent performs some other tests? or just 4 ODBC tests?
Could you try Oracle driver version 9.2.0.8.0, as we know this is the most stable Oracle client.
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12808 Location: USA
|
Posted: Fri Mar 04, 2011 7:16 am Post subject: |
|
|
There is update for RMA: www.ks-soft.net/download/rma415.zip
Could you update agent and add "ODBC_UseSharedEnvHandle=0" line into [Misc] section of rma.ini file?
(if you add this line while agent is running, you should restart agent or use RMA Manager "Reload settings" command)
Regards
Alex |
|
Back to top |
|
|
|