Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

- Previous: Java Virtual Machine (JVM) Statistics
- Next: Admin Console Tasks for Enabling and Disabling Monitoring

### Production Web Container (PWC) Statistics

Statistics are available for the following PWC components and services on the Enterprise Edition (EE) of the Application Server:

- Production Web Container (PWC) Statistics, PWC Virtual Server

- Production Web Container (PWC) Statistics, PWC Request

- Production Web Container (PWC) Statistics, PWC File Cache

- Production Web Container (PWC) Statistics, PWC Keep Alive

- Production Web Container (PWC) Statistics, PWC DNS

- Admin Console Tasks for Listeners and JMX Connectors, PWC Thread Pool

- Production Web Container (PWC) Statistics, PWC Connection Queue

- Production Web Container (PWC) Statistics, PWC HTTP Service

Statistics for PWC virtual servers are listed in Production Web Container (PWC) Statistics.

Table 16–25 PWC Virtual Server Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`id` | StringStatistic | The ID of the virtual server.
`mode` | StringStatistic | The mode the virtual server is in. Options include `unknown` or `active`.
`hosts` | StringStatistic | Name of the hosts serviced by this virtual server.
`interfaces` | StringStatistic | Type of interfaces (listeners) for which the virtual server is configured.

The statistics available for PWC requests are listed in the following table.

Table 16–26 PWC Request Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`method` | StringStatistic | Method used for request.
`uri` | StringStatistic | Last URI served.
`countrequests` | CountStatistic | Number of requests served.
`countbytestransmitted` | CountStatistic | Number of bytes transmitted, or 0 if this information is not available
`countbytesreceived` | CountStatistic | Number of bytes received, or 0 if this information is not available.
`ratebytesreceived` | CountStatistic | Rate at which data was received over some server-defined interval, or 0 if this information is not available
`maxbytestransmissionrate` | CountStatistic | Maximum rate at which data was transmitted over some server-defined interval, or 0 if this information is not available.
`countopenconnections` | CountStatistic | Number of connections that are currently open, or 0 if this information is not available.
`maxopenconnections` | CountStatistic | Maximum number of concurrently open connections, or 0 if this information is not available.
`count2xx` | CountStatistic | Total number of responses of code 2XX.
`count3xx` | CountStatistic | Total number of responses of code 3XX.
`count4xx` | CountStatistic | Total number of responses of code 4XX.
`count5xx` | CountStatistic | Total number of responses of code 5XX.
`countother` | CountStatistic | Total number of responses with other response codes.
`count200` | CountStatistic | Total number of responses of code 200.
`count302` | CountStatistic | Total number of responses of code 302.
`count304` | CountStatistic | Total number of responses of code 304.
`count400` | CountStatistic | Total number of responses of code 400.
`count401` | CountStatistic | Total number of responses of code 401.
`count403` | CountStatistic | Total number of responses of code 403.
`count404` | CountStatistic | Total number of responses of code 404.
`count503` | CountStatistic | Total number of responses of code 503.

The cache information section provides information on how the file cache is being used. Statistics for PWC file caches are listed in the following table.

Table 16–27 PWC File Cache Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`flagenabled` | CountStatistic | Indicates whether the file cache is enabled. Valid values are 0 for no or 1 for yes.
`secondsmaxage` | CountStatistic | Maximum age of a valid cache entry, in seconds.
`countentries` | CountStatistic | Number of current cache entries. A single cache entry represents a single URI.
`maxentries` | CountStatistic | Maximum number of simultaneous cache entries.
`countopenentries` | CountStatistic | Number of entries associated with an open file.
`maxopenentries` | CountStatistic | Maximum number of simultaneous cache entries associated with an open file.
`sizeheapcache` | CountStatistic | Heap space used for cache content.
`maxheapcachesize` | CountStatistic | Maximum heap space used for cache file content.
`sizemmapcache` | CountStatistic | Amount of address space used by memory mapped file content.
`maxmmapcachesize` | CountStatistic | Maximum amount of address space used by the file cache for memory mapped file content.
`counthits` | CountStatistic | Number of successful cache lookups.
`countmisses` | CountStatistic | Number of failed cache lookups.
`countinfohits` | CountStatistic | Number of times a file information lookup succeeded.
`countinfomisses` | CountStatistic | Number of misses on cached file information.
`countcontenthits` | CountStatistic | Number of hits on cached file content.
`countcontentmisses` | CountStatistic | Number of times a file information lookup failed.

This section provides information about the server's HTTP-level keep-alive system. The statistics available for PWC Keep Alive are listed in the following table.

Table 16–28 PWC Keep Alive Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`countconnections` | CountStatistic | Number of connections in keep-alive mode.
`maxconnections` | CountStatistic | Maximum number of connections simultaneously allowed in keep-alive mode.
`counthits` | CountStatistic | The total number of times connections in keep-alive mode have subsequently made a valid request.
`countflushes` | CountStatistic | The number of times keep-alive connections have been closed by the server.
`countrefusals` | CountStatistic | The number of times the server could not hand off the connection to a keep-alive thread, possibly due to too many persistent connections.
`counttimeouts` | CountStatistic | The number of times the server terminated keep-alive connections as the client connections timed out without any activity.
`secondstimeout` | CountStatistic | The time (in seconds) before idle keep-alive connections are closed.

The DNS Cache caches IP addresses and DNS names. The server’s DNS cache is disabled by default. A single cache entry represents a singular IP address or DNS name lookup. The statistics available for PWC DNS are listed in the following table.

Table 16–29 PWC DNS Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`flagcacheenabled` | CountStatistic | Indicates whether the DNS cache is enabled (on). Either 0 for off or 1 for on.
`countcacheentries` | CountStatistic | Number of DNS entries presently in the cache.
`maxcacheentries` | CountStatistic | Maximum number of DNS entries that can be accommodated by the cache.
`countcachehits` | CountStatistic | Number of times a DNS cache lookup has succeeded.
`countcachemisses` | CountStatistic | Number of times a DNS cache lookup has failed.
`flagasyncenabled` | CountStatistic | Indicates whether asynchronous DNS lookups are enabled (on). Either 0 for off or 1 for on.
`countasyncnamelookups` | CountStatistic | Total number of asynchronous DNS name lookups.
`countasyncaddrlookups` | CountStatistic | Total number of asynchronous DNS address lookups.
`countasynclookupsinprogress` | CountStatistic | Number of asynchronous lookups in progress.

Statistics for PWC thread pools are listed in the following table.

Table 16–30 PWC Thread Pool Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`id` | StringStatistic | ID of the thread pool.
`countthreadsidle` | CountStatistic | Number of request-processing threads currently idle.
`countthreads` | CountStatistic | Current number of request-processing threads.
`maxthreads` | CountStatistic | Maximum number of request processing threads that can exist concurrently.
`countqueued` | CountStatistic | Number of requests queued for processing by this thread pool.
`peakqueued` | CountStatistic | The largest number of requests in the queue simultaneously.
`maxqueued` | CountStatistic | Maximum number of requests that can be in the queue at one time.

The Connection Queue is the queue in which requests are held prior to being serviced. Statistics for the connection queue show the number of sessions in the queue and the average delay before the connection is accepted. Statistics for PWC connection queues are listed in the following table.

Table 16–31 PWC Connection Queue Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`id` | StringStatistic | ID of the connection queue.
`counttotalconnections` | CountStatistic | Total number of connections that have been accepted.
`countqueued` | CountStatistic | Number of connections currently in the queue.
`peakqueued` | CountStatistic | Largest number of connections that were in the queue simultaneously.
`maxqueued` | CountStatistic | Maximum size of the connection queue.
`countoverflows` | CountStatistic | The number of times the queue has been too full to accommodate a connection.
`counttotalqueued` | CountStatistic | The total number of connections that have been queued. A given connection may be queued multiple times, so `counttotalqueued` may be greater than or equal to `counttotalconnections`.
`tickstotalqueued` | CountStatistic | The total number of ticks that connections have spent in the queue. A tick is a system-dependent unit of time.
`countqueued1minuteaverage` | CountStatistic | Average number of connections queued in the last 1 minute.
`countqueued5minuteaverage` | CountStatistic | Average number of connections queued in the last 5 minutes.
`countqueued15minuteaverage` | CountStatistic | Average number of connections queued in the last 15 minutes.

Statistics for PWC HTTP service are listed in the following table.

Table 16–32 PWC HTTP Service Statistics (EE only)

Attribute Name | Data Type | Description
--- | --- | ---
`id` | StringStatistic | Instance name of the HTTP service.
`versionserver` | StringStatistic | Version number of the HTTP service.
`timestarted` | StringStatistic | Time the HTTP service was started (GMT).
`secondsrunning` | CountStatistic | Time (in seconds) since the HTTP service started.
`maxthreads` | CountStatistic | Maximum number of worker threads in each instance.
`maxvirtualservers` | CountStatistic | Maximum number of virtual servers that can be configured in each instance.
`flagprofilingenabled` | CountStatistic | Whether or not HTTP service performance profiling is enabled. Valid values are 0 or 1.
`flagvirtualserveroverflow` | CountStatistic | Indicates whether more than `maxvirtualservers` are configured. If this is set to 1, statistics are not being tracked for all virtual servers.
`load1minuteaverage` | CountStatistic | Average load for requests in the last 1 minute.
`load5minuteaverage` | CountStatistic | Average load for requests in the last 5 minutes.
`load15minuteaverage` | CountStatistic | Average load for requests in the last 15 minutes.
`ratebytestransmitted` | CountStatistic | The rate at which data is transmitted over some server-defined interval. The result is 0 when this information is not available.
`ratebytesreceived` | CountStatistic | The rate at which data is received over some server-defined interval. The result is 0 when this information is not available.

- Previous: Java Virtual Machine (JVM) Statistics
- Next: Admin Console Tasks for Enabling and Disabling Monitoring

- © 2010, Oracle Corporation and/or its affiliates