WH> Unfortunately there is pretty much no way to determine what the cause
WH> might be without you running your daemon in a debugger.

I'll see what we can do about that.

WH> The only possibility I can think of is if you're actually succeeding in
WH> wrapping a 16bit int (IE, you have a request outstanding that is older
WH> than 2^16 later requests) and thus duplicating a session with two
WH> identical requestIDs.  Your daemon would need to be sending a huge
WH> number of requests to see this (and they'd likely be odd as well).  Or
WH> starting up a huge number of sessions.

We send about 200 distinct SNMP requests per second [so I expect to
wrap every five minutes], packing about 10 (on average) OIDs into each
PDU (we only do "get" operations).  Without looking at the code, I
figured that the request ID would only be used internally for the same
high port; I didn't think that it would affect the process as a whole.
 I'll be sure to open up the code and see what I can do.

WH> You could play with the code in snmp_api.c and only turn on the 16bit
WH> IDs for certain things (like the reqid but not the msgid and sessid) and
WH> see if that helps.

Is it necessary to do all three when 16-bit IDs is on?  I thought that
agents only got to hear about the request ID.

DM> Is there a known problem with "netsnmp_ds_get_boolean" when the
DM> boolean is actually set?
WH> The problem is certainly not with netsnmp_ds_get_boolean.

I was 99.9999999999999999999% certain, but I thought that I'd ask.

Thanks for all the help again; I'll diff the code in those areas
between the newer versions and the one that we're using, and I'll try
to see if I can have a debugger hooked up to the daemon when it
crashes.

Doug

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to