KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Memory leak Passive RMA Agents

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
ron.visser



Joined: 04 Feb 2011
Posts: 8

PostPosted: Fri Mar 04, 2011 6:00 am    Post subject: Memory leak Passive RMA Agents Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12337
Location: USA

PostPosted: Fri Mar 04, 2011 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12337
Location: USA

PostPosted: Fri Mar 04, 2011 7:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index