Oracle Web Cache Administration and Deployment Guide Release 1.0.2 Part Number A86722-01 |
Library | Service | Contents | Index

# 9
Monitoring Performance

See Also: Oracle Internet Application Server 8i Oracle HTTP Server powered by Apache Performance Guide for TCP/IP performance tuning tips for the computer running Oracle Web Cache

This chapter describes how to gather performance statistics and how to interpret them. This chapter contains these topics:

- Setting the Statistics Monitoring Port Number

- Monitoring Overall Cache Health

- Gathering Oracle Web Cache Performance Statistics

- Gathering Application Web Server Performance Statistics

## Setting the Statistics Monitoring Port Number

By default, Oracle Web Cache listens for statistics monitoring requests at port 4002.

To change the default port number:

1. Start Oracle Web Cache Manager.

   See Also: "Starting Oracle Web Cache Manager"

2. Change the port numbers:

   1. In the navigator pane, select Administering Oracle Web Cache > Invalidation/Statistics Port.

      The Invalidation/Statistics Port page appears in the right pane.

   1. In the Invalidation/Statistics Port page, choose Edit.

      The Change Invalidation/Statistics Port dialog box appears.

   2. In the Statistics Port field, enter the new port.

   3. Choose Submit.

3. In the Oracle Web Cache main window, choose Apply Changes.

## Monitoring Overall Cache Health

Oracle Web Cache provides a health monitor that enables you to quickly access overall cache performance.

To monitor overall cache health:

1. Start Oracle Web Cache Manager.

   See Also: "Starting Oracle Web Cache Manager"

2. In the navigator pane, select Administering Web Sites > Monitoring Oracle Web Cache > Health Monitor.

   The Oracle Web Cache Health Monitor page appears in the right pane.

Table 9-1 describes the statistics for this page.

Table 9-1 Oracle Web Cache Health Monitor Statistics

Statistic | Description
--- | ---
Current Time | The time when this page was generated
Oracle Web Cache Start Timestamp | The time when Oracle Web Cache was started
Time Since Start | The length of time that Oracle Web Cache has been operating since it was started. Time is denoted in `days``/``hours``/``minutes``/``seconds`.
Total Number of Requests Served by Oracle Web Cache | Accumulated number of requests Oracle Web Cache has served since it was started See Also: "Gathering Oracle Web Cache Performance Statistics" to view detailed statistics for Oracle Web Cache
Requests Served by Application Web Server Table | This table provides information about the number of requests served by the application Web servers. It contains the following columns: Requests Served by Application Web Servers: Name of the application Web server Up/Down: Specifies whether the application Web server is up or down Since: How long the application Web server has been up or down Total Request Served: Number of Web browser requests resolved by this application Web server Average Latency: Average amount of time for the Web browser requests to be resolved See Also: "Gathering Application Web Server Performance Statistics" to view detailed statistics for application Web servers
Serving Requests/Second Now Bar | The health bar provides a graphical view of the number of Web browser requests per second resolved by: Documents in the cache that have expired or that have been invalidated, but have not yet been refreshed from the application Web servers Documents in the cache that are still valid

## Gathering Oracle Web Cache Performance Statistics

To monitor Oracle Web Cache performance:

1. Start Oracle Web Cache Manager.

   See Also: "Starting Oracle Web Cache Manager"

2. In the navigator pane, select Administering Web Sites > Monitoring Oracle Web Cache > Statistics.

   The Oracle Web Cache Statistics page appears in the right pane.

Table 9-2 describes the statistics for this page.

Table 9-2 Oracle Web Cache Statistics

Statistic | Description
--- | ---
Last Modified | The time when this page was generated
Oracle Web Cache Start Timestamp | The time when Oracle Web Cache was started or restarted
Time Since Start | The length of time that Oracle Web Cache has been operating since it was started or restarted. Time is denoted in `days``/``hours``/``minutes``/``seconds`.
Number of Documents in Cache | Number of documents stored in Oracle Web Cache, plus the number of documents in transit through the cache
Cache Size (in bytes) | Current size of the cache Note: You can adjust the maximum size of the cache in the Maximum Cache Size page (Administering Oracle Web Cache > Max Cache Size).
Total Number of Bytes Written | Total number of bytes written to the cache
Current Number of Open Connections | Current number of incoming open connections to the Oracle Web Cache server and outgoing open connections to the application Web servers Note: You can adjust the limit of connections in the Resource Limits page (Administering Oracle Web Cache > Resource Limits).
Total Requests Served Table | This table provides information about the number of requests Oracle Web Cache has or is currently serving to Web browsers: Number/Second Now: Total number of requests per second currently being served by Oracle Web Cache Maximum/Second Since Start: Maximum number of requests per second that Oracle Web Cache has served since it was started or restarted Average/Second Since Start: Average number of requests per second that Oracle Web Cache has served since it was started or restarted Total Since Start: Accumulated number of requests that Oracle Web Cache has served since it was started or restarted
Percentage Requests Served Table | This table provides information about the percentage of requests that Oracle Web Cache is currently serving (% Now) and has served since it was started or restarted (% Since Start). It contains the following columns: Fresh Hits: Percentage of Web browser requests resolved by documents in the cache This percentage should be high, except when documents are being invalidated. Stale Hits: Percentage of Web browser requests resolved by documents that have expired or have been invalidated, but have not yet been retrieved from the application Web servers As documents are invalidated or expired, the percentage of stale hits will increase. The percentage will decrease as Oracle Web Cache retrieves updated content from the application Web servers. If the percentage does not decrease, it could indicate a bottleneck on the application Web servers. Refreshes: Percentage of documents Oracle Web Cache has refreshed from the application Web servers Cacheable Misses: Noncacheable Misses: Percentage of Web browser requests for noncacheable documents that were not served by Oracle Web Cache Noncacheable Misses: Percentage of Web browser requests for noncacheable documents that were not served by Oracle Web Cache

## Gathering Application Web Server Performance Statistics

To monitor application Web server performance:

1. Start Oracle Web Cache Manager.

   See Also: "Starting Oracle Web Cache Manager"

2. In the navigator pane, select Administering Web Sites > Monitoring Application Web Servers Statistics.

   The Application Web Servers Statistics page appears in the right pane.

Table 9-3 describes the statistics for this page.

Table 9-3 Application Web Server Statistics

Statistic | Description
--- | ---
Application Web Server Statistics Table | This table provides information about the application Web servers. It contains the following columns: Application Web Server: Name of the application Web server Up/Down Time Up/Down: Status of application Web server Since: Time when the application Web server was started or stopped Completed Requests Number/Sec: Number of requests that the application Web server is processing per second Max/Sec: Maximum number of requests that the application Web server can process per second Avg/Sec: Average number of requests that the application Web server has processed per second Total: Accumulated number of requests that the application Web server has processed Latency Average this Interval: Average latency for 10 second intervals to process requests for Oracle Web Cache Average Since Start: Average number of seconds to process requests for Oracle Web Cache since the application Web server started. Load Now: Current number of connections from Oracle Web Cache that the application Web server has open Max: Maximum number of connections that the application Web server has had open at one time Note: If the number of Now connections is close to the Max connections, consider increasing the capacity of the application Web server. You can increase capacity in the Application Web Servers page (Administering Web Sites > Application Web Servers). Active Sessions Now: Current number of active connections from Oracle Web Cache to the application Web servers Max: Maximum number of active connections that the application Web server has had open at one time
Apology Pages Served | # this second: Current number apology pages that Oracle Web Cache is serving to Web browsers, due to a network or busy Web site error Total: Total number of apology pages that Oracle Web Cache is serving to Web browsers, due to a network or busy Web site error
Application Web Server Backlog | Now: Current number of requests that the application Web server is processing for Oracle Web Cache Max: Maximum number of requests that the application Web server has processed for Oracle Web Cache

| Copyright © 1996-2000 Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index