blocked waiting for response

Mathew Bielejeski <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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?

Mathew

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.