CacheEntries 4/1024
HitRatio 62854802/62862912 ( 99.99%)
AsyncDNS Data:
------------------
enabled yes
NameLookups 0
AddrLookups 0
LookupsInProgress 0
The following example shows the DNS Cache information as displayed in the Admin Console:
TABLE2–6 DNSCache Statistics
Total Cache Hits 62854802
Total Cache Misses 6110
Number of AsynchronousLookups 0
Lookups in Progress 4
Asynchronous Lookups Enabled 1
Number of AsynchronousAddress Lookups
Performed
0
Enabled
If the DNS cache is disabled, the rest of this section is not displayed in perfdump. In the Admin
Console, the page displays zeros.
Tuning
By default, the DNS cache is on. You can enable or disable DNS caching in the Admin Console
on the conguration's Performance tab ⇒ DNS sub tab, under DNS Cache Settings and
selecting or deselecting the DNS Cache Enabled box. To enable or disable it using the
command-line-interface, use wadm set-dns-cache-prop and set the enabled property.
Cache Entries (Current Cache Entries / Maximum Cache Entries)
This section in perfdump shows the number of current cache entries and the maximum number
of cache entries. In the Admin Console the current cache entries are shown as Total Cache Hits.
A single cache entry represents a single IP address or DNS name lookup. The cache should be as
large as the maximum number of clients that access your web site concurrently. Note that
setting the cache size too high wastes memory and degrades performance.
UsingMonitoringDatatoTuneYour Server
Chapter2 • TuningSunJavaSystemWebServer 69