On Sun, 2005-07-24 at 09:57 -0300, Jordan Janeiro Lopes da Silva wrote:
> I´ve generated a table using the script 
> mib2c.iterate.conf to generate my table.....
>  when I query this agent, my response is "Timeout: no response 
> from localhost:<port>" and the other terminal that executes the agent
> stops and doesn´t answer any commands anymore neither Ctrl+C.

That sounds suspiciously like an infinite loop.

Does this problem affect the *whole* of the agent, or just your
new table?   Obviously, once the agent has gone runaway, this
will affect everything - but if you re-start the agent afresh,
can you query an individual object in the system group?


Have you got any debugging statements in your code?
That would be useful to indicate how much (if any) of your
code is being called, and how often.  I'd be particularly
suspicious of the 'get_first'/'get_next' hooks.  If this
isn't moving properly from one row to the next, or isn't
returning NULL at the end of the table, then you might
well end up in an infinite loop.

Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to