I have an application that is using net-snmp v5.3.0.1 and am trying to
debug a situation where net-snmp seems to be blocking indefinitely. I
found the following code in snmp_sess_synch_response

snmp_sess_select_info(sessp, &numfds, &fdset, tvp, &block);
if (block == 1)
tvp = NULL; /* block without timeout */
count = select(numfds, &fdset, 0, 0, tvp);

So it looks like there are situations where the code can get into a
blocked state.

I took a look at snmp_sess_select_info and it appears block is set to 1
if a session has no requests and no alarms.
Does anyone know what might cause this to happen?


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: