
CacheEntries 4/1024
HitRatio 62854802/62862912 ( 99.99%)
AsyncDNS Data:
------------------
enabled yes
NameLookups 0
AddrLookups 0
LookupsInProgress 0
Thefollowing example shows the DNS Cache information as displayed in the Admin Console:
TABLE2–6 DNSCache Statistics
TotalCache Hits 62854802
TotalCache Misses 6110
Numberof Asynchronous Lookups 0
Lookupsin Progress 4
AsynchronousLookups Enabled 1
Numberof Asynchronous AddressL ookups
Performed
0
EnabledIfthe DNS cache is disabled, the rest of this section is not displayed in perfdump. Inthe Admin
Console,the page displays zeros.
Tuning
Bydefault, the DNS cache is on. You can enable or disable DNS caching in the Admin Console
onthe conguration's Performance tab ⇒DNS sub tab, under DNS Cache Settings and
selectingor 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.
CacheEntries (Current Cache Entries / Maximum Cache Entries)Thissection in perfdump showsthe number of current cache entries and the maximum number
ofcache entries. In the Admin Console the current cache entries are shown as Total Cache Hits.
Asingle cache entry represents a single IP address or DNS name lookup. The cache should be as
largeas the maximum number of clients that access your web site concurrently. Note that
settingthe cache size too high wastes memory and degrades performance.
UsingMonitoringData to TuneYour Server
Chapter2 • Tuning Sun JavaSystem Web Server 69