How to obtain cache instrumentation from ZWSTo obtain cache instrumentation from a running instance of ZWS, there is a utility supplied with the product in To see cache usage data, run
... which would output, for example: Cache status localhost:9080
child:
id: 0
cachestatus:
cryptcache: No cache
statcache:
lrucache:
entries: 8180
hits: 2153572
buckets: 100001
lookups: 2161752
expire: 864000
numexpired: 0
frequency: 92008 7806 187 0 0 0 0 0 0 0 0 0 0 0 0
meminfomapping:
lrucacheref:
entries: 0
hits: 0
buckets: 100001
lookups: 0
numpinned: 0
frequency: 100001 0 0 0 0 0 0 0 0 0 0 0 0 0 0
pwhashcache: No cache
fdinfomapping:
lrucacheref:
hits: 753770
entries: 8178
buckets: 30001
lookups: 761948
numpinned: 0
frequency: 22422 6999 561 19 0 0 0 0 0 0 0 0 0 0 0
pid: 1625 If the machine is running more than one Zeus child process, then statistics are given for each child. The cache sections provide data on each of Zeus' internal caches. For best performance, a website would ideally be served entirely from ZWS' cache. In the real world, the overall size of the site or limitations on the available memory will reduce the possibility of this happening. For each cache, the following information is available:
Caches in detail
For all the above caches, if they are in use, then make sure that they have an adequate size. For best performance, cache misses should not ideally occur after website has warmed up. If a particular cache has buckets containing lots of files, it is worthwhile increasing the cache size to spread the cache contents out further.
Content Manager
[Administrator] 11 January 2006
|
Recent Articles
Other Resources
|


