Httpd mod status: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
=Installation=
=Installation=


Make sure mod_status was either compiled in the binary, or loaded as a dynamic module.  
Make sure mod_status was either compiled in the binary (mod_status.c should be in the output of <tt>httpd -l</tt>), or loaded as a dynamic module.  


<pre>
<pre>

Revision as of 17:05, 10 January 2017

External

Internal

Overview

mod_status renders a page with information about the server:

  • number of workers serving requests and idle.
  • status of each worker.

If ExtendedStatus is on, the server maintains and displays extended status information for each request.

Installation

Make sure mod_status was either compiled in the binary (mod_status.c should be in the output of httpd -l), or loaded as a dynamic module.

<Location "/status">
    SetHandler server-status
</Location>

ExtendedStatus On

More details Location, SetHandler.

Configuration

Usage

Load Balancing Management and Status

mod_proxy_balancer enables dynamic update of balancer members. You can use balancer manager to change the balance factor of a particular member, or put it in the off line mode.

TODO: https://httpd.apache.org/docs/current/mod/mod_proxy_balancer.html#balancer_manager

For more details on load balancing, see:

mod_proxy Concepts - Load Balancing