On 6 June 2012 14:11, Magda Stefan <fane...@yahoo.com> wrote: > One of my observations is that calling the cache_load routine from the > cache_free will load the data again,
Noooo!!!!! The free hook is used to release the cached data. The load hook is used to load a new set. These are different tasks, and you shouldn't confuse the two. > it's not fast enough for me, because I want my cache reloaded every 1 second > or if it's easier for each request. The usual model of the cache handler is to re-load the data "on-demand" - i.e. when a request comes in. A cache expiry value of 1 should refresh the cache if it's older than one second, A cache expiry value of 0, should refresh the cache on every request. If things are still not working, can you please post the full code of your subagent - preferably in a standalone testing form (rather than relying on other systems) - so that I can try it out here. Thanks Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users