Re: When to close a SNMP session when using multiple sessions

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
> I'm writing a Perl script with some basic SNMP functions. I only wonder
> when I need to close a session when I have multiple SNMP sessions, after
> each session or after all of them?

Closing them will free up some memory, but unless you're doing *tons* of
sessions this shouldn't matter.  So either way is fine unless your
resources are constrained. 

-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.