The release_cached_resources() routine only release caches that are registered 
with an OID.  Is this done for a reason?  Since when one tries to create a 
cache_handler without specifying the root oid of the cache, this new cache is 
not linked to the global cache_handler: cache_head.


Many thanks,

Albert



----- Original Message ----
From: Dave Shield <[EMAIL PROTECTED]>
To: ALBERT BEZZINA <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, 26 June, 2007 5:35:38 PM
Subject: Re: cache_handler help

On 26/06/07, ALBERT BEZZINA <[EMAIL PROTECTED]> wrote:
> With the above setting, I don't think that the cache_free function is called
> automatically

Checking the code, it looks as if the routine release_cached_resources()
should be called every 60s, to release any expired caches.  You'd have to
explicitly set the cache flags to disable this behaviour.

Try running with the debug flag  -Dhelper:cache_handler
to see what's actually happening.

Dave







      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to