Hi,
I Try to optimize my cache handling by following the step found in a man page:
{{{
Cached File: If your table is based on a file that may periodically change, you
can test the modification date to see if the file has changed since the last
cache load. To get the cache helper to call the load function for every
request, set the timeout to -1, which will cause the cache to always report
that it is expired. This means that you will want to prevent the agent from
flushing the cache when it has expired, and you will have to flush it manually
if you detect that the file has changed. To accomplish this, set the following
flags:
NETSNMP_CACHE_DONT_FREE_EXPIRED NETSNMP_CACHE_DONT_AUTO_RELEASE
}}}
Instead of loading the cache once at the beginning, It reload the the cache
continuously. Can someone point me how to optimize my cache because I have huge
table with thousands of row and with the standard mfd netSNMP doesn't scale
well.
Thanks,
Dominique
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders