2008/5/8 valantina arumugam :
> 1. Say the cache time is 6 sec & XX Table contains 8 instance.
> snmwalk request comes at 3 rd sec

The loading of the cache would typically be triggered by the first
SNMP request. So the beginning of the snmpwalk request
would mark the *start* of the cache timeout period.

Of course, if it takes longer than 6 seconds to walk the whole table,
then yes - the cache would expire during this traversal, and you
could potentially end up with inconsistent data.

The answer there would be to increase the lifetime of the cache.
This should be set to something slightly longer than the expected
time to walk the table. It's a tradeoff between consistency and
up-to-date information.


This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: