On Tue, 2006-01-03 at 11:25 +0200, Makavy, Erez (Erez) wrote:
> As I understand the master agent is not multi-threaded,
Correct.
> hense it deals synchroniously with:
> - receiving/sending to SNMP requests
> - dispatching/retrieving requests with agentX APUDs
> - sending traps
> - listens for sub-agent registration/diregistration
Yup.
> Questions:
> ---------------
> 1) How does it manage all of these? What's the program-flow
> for interleaves these tasks?
There's an event loop listening for incoming requests
on a list of sockets. This handles tasks 1, 2 and 4 in
your list.
Sending traps is either done as part of processing
SNMP requests, or using an alarm-based mechanism.
> 2) Can a burst of traps, deny request handling?
An alarm call will interrupt the normal event loop
processing, so if this happens too frequently, it might
well interfere with the prompt processing of requests.
I'm not totally sure what you mean by a burst of traps.
How would such a burst be triggered?
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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