RE: Agentx session to master agent attempted to be re-opened.
"Pamidipati Suresh-G20238" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
All, We observed the following message in Net-snmp-5.2.2 subagent also. "Agentx session to master agent attempted to be re-opened." We observed that there is a memory leak in subagent when agentx_send_ping() function returns failure, it is not calling the function remove_trap_session(). We have submitted a patch to solve these two issues. Following is the link for the same. http://sourceforge.net/tracker/index.php?func=detail <http://sourceforge.net/tracker/index.php?func=detail&aid=1562688&group_ id=12694&atid=312694> &aid=1562688&group_id=12694&atid=312694 Regards, Suresh. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Pamidipati Suresh-G20238 Sent: Thursday, June 30, 2005 11:25 AM To: [email protected] Subject: Agentx session to master agent attempted to be re-opened. Hi, We are using Net-Snmp-5.1.1. We are observing the following message in subagent's log. "Agentx session to master agent attempted to be re-opened." When we analysed the log, we found that subagent has sent an agentx ping request to master agent. But subagent got the transport disconnect indication before getting the response for ping. When Subagent received transport disconnect indication, it unregistered the callbacks, unregistered the alarms and registered an alarm to reopen the agentx session. And subagent found that there is no response for the ping, it unregistered the callbacks, unregistered the alarms except the one registered to reopen the agentx session, closed the session and called agentx_reopen_session() to open a new session. New Agentx session is opened and MIBs got registered and an alarm is registered for sending ping request. Now run_alarms() is called and alarm to re-open the agentx session is scheduled. As an agentx session already exists, it prints this message "Agentx session to master agent attempted to be re-opened." This alarm to reopen the agentx session got scheduled every 15 seconds (ping time interval) and prints the above message. I have the question... why the alarm to reopen the agentx session is not un-registered ..? Please clarify me. Thanks, suresh. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users