Peculiar behaviour with snmp get - scotty 2.0.2

Michele Chen (michele@pqtech.com)
Mon, 9 Sep 96 16:09:21 PDT

I'm running scotty 2.0.2 with itcl 2.0 under SunOS 4.1.3 and am seeing
very peculiar behaviour when I send out a lot of SNMP get requests to
a single agent.

I'm using async get and I have a separate xterm running tcpdump so I can see
the requests that are actually sent and those received.

After sending numerous get requests (~48), when my response callback finally
gets invoked, it is called approximately 20 times with the proper responses before
my callback gets called with a series of packets with the noResponse status. The
corresponding request id, interestingly enough, matches each response I've already
received and processed. The callback is then invoked with the noResponse status
for all remaining requests.

After perusing the tcpdump output, I see that the agent has promptly returned the
responses and has not failed to respond to any of these requests well before the
timeout.

Has anyone experienced this problem? I know I'm firing requests before the callbacks
are invoked, but I've tried inserting 'update' in strategic parts of my code, only
to have the interpreter crash intermittently.

First, any ideas on why this is happening and what I can do to eliminate it? Also,
any insights on using 'update' would also help. Any thoughts would be greatly appreciated.

Thanks,

Michele Chen

===============================================================
Michele Chen PQ Technologies, Inc.
michele@pqtech.com (formerly Technology by Design)
WWW: http://www.pqtech.com 3300 Blue Ridge Court
Voice: (805) 497-9321 Thousand Oaks, CA 91362
FAX: (805) 497-9331