Single Unit Process Model

5-4 Oracle Fusion Middleware Administrators Guide for Oracle HTTP Server OHS Virtual Host Metrics The OHS Virtual Host Metrics folder contains performance metric options for virtual hosts, also known as access points. The following table describes the metrics in the OHS Virtual Host Metrics folder: OHS Module Metrics The OHS Module Metrics folder contains performance metric option for modules. The following table describes the metrics in the OHS Module Metrics folder.

5.3 Configuring Oracle HTTP Server Performance Directives

Oracle HTTP Server uses directives in httpd.conf. This configuration file specifies the maximum number of HTTP requests that can be processed simultaneously, logging details, and certain limits and timeouts. Oracle HTTP Server supports and ships with the following three Multi-Processing Modules MPMs which are responsible for binding to network ports on the machine, accepting requests, and dispatching children to handle the requests: ■ Worker - This is the default MPM for Oracle HTTP Server on UNIXLinux platforms. This MPM implements a hybrid multi-process multi-threaded server. By using threads to serve requests, it is able to serve a large number of requests with fewer system resources than a process-based server. However, it retains much of the stability of a process-based server by keeping multiple processes available, each with many threads. ■ WinNT - This is the default MPM for Oracle HTTP Server on Windows platforms. It uses a single control process which launches a single child process which in turn creates threads to handle requests. ■ Prefork - This MPM implements a non-threaded, pre-forking server that handles requests in a manner similar to Apache 1.3. It is appropriate for sites that need to avoid threading for compatibility with non-thread-safe libraries. It is also the best MPM for isolating each request, so that a problem with a single request will not affect any other. The discussion and recommendations in this section are based on the use of Worker or WinNT MPM, which uses threads. The directives listed below may not be applicable if Element Description Request Throughput for a Virtual Host Number of requests per second for each virtual host Request Processing Time for a Virtual Host Time to process each request for each virtual host Response Data Throughput for a Virtual Host Amount of data being sent for each virtual host Response Data Processed for a Virtual Host Amount of data being processed for each virtual host Element Description Request Handling Throughput Request handling throughput for a module, in requests per second Request Handling Time Request handling time for a module, in seconds Module Metrics Modules including active requests, throughput, and time for each module