mod_status.c revision f0e395a55abfcad3d2bd7c63470003b08a93d567
842ae4bd224140319ae7feec1872b93dfd491143fielding/* ====================================================================
842ae4bd224140319ae7feec1872b93dfd491143fielding * The Apache Software License, Version 1.1
842ae4bd224140319ae7feec1872b93dfd491143fielding * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
842ae4bd224140319ae7feec1872b93dfd491143fielding * reserved.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * Redistribution and use in source and binary forms, with or without
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * modification, are permitted provided that the following conditions
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * are met:
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * 1. Redistributions of source code must retain the above copyright
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * notice, this list of conditions and the following disclaimer.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * 2. Redistributions in binary form must reproduce the above copyright
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * notice, this list of conditions and the following disclaimer in
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * the documentation and/or other materials provided with the
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * distribution.
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * 3. The end-user documentation included with the redistribution,
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * if any, must include the following acknowledgment:
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * "This product includes software developed by the
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * Apache Software Foundation (http://www.apache.org/)."
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * Alternately, this acknowledgment may appear in the software itself,
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * if and wherever such third-party acknowledgments normally appear.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * 4. The names "Apache" and "Apache Software Foundation" must
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * not be used to endorse or promote products derived from this
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * software without prior written permission. For written
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * permission, please contact apache@apache.org.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * 5. Products derived from this software may not be called "Apache",
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * nor may "Apache" appear in their name, without prior written
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * permission of the Apache Software Foundation.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
f888346b48f5e5b5e3f0a47dedb8cefd2759a4e2gregames * SUCH DAMAGE.
750d12c59545dbbac70390988de94f7e901b08f2niq * ====================================================================
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * This software consists of voluntary contributions made by many
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * individuals on behalf of the Apache Software Foundation. For more
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * information on the Apache Software Foundation, please see
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * Portions of this software are based upon public domain software
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * originally written at the National Center for Supercomputing Applications,
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * University of Illinois, Urbana-Champaign.
d4abb06ac220bb280ae996b6d21bbd257db51bb1jerenkrantz/* Status Module. Display lots of internal data about how Apache is
d4abb06ac220bb280ae996b6d21bbd257db51bb1jerenkrantz * performing and the state of all children processes.
d4abb06ac220bb280ae996b6d21bbd257db51bb1jerenkrantz * To enable this, add the following lines into any config file:
d4abb06ac220bb280ae996b6d21bbd257db51bb1jerenkrantz * <Location /server-status>
d4abb06ac220bb280ae996b6d21bbd257db51bb1jerenkrantz * SetHandler server-status
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * </Location>
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * You may want to protect this location by password or domain so no one
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * else can look at it. Then you can access the statistics with a URL like:
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * /server-status - Returns page using tables
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * /server-status?notable - Returns page for browsers without table support
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * /server-status?refresh - Returns page with 1 second refresh
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * /server-status?refresh=6 - Returns page with refresh every 6 seconds
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * /server-status?auto - Returns page with data for automatic parsing
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * Mark Cox, mark@ukweb.com, November 1995
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * 12.11.95 Initial version for www.telescope.org
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * 13.3.96 Updated to remove rprintf's [Mark]
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * 18.3.96 Added CPU usage, process information, and tidied [Ben Laurie]
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * 18.3.96 Make extra Scoreboard variables #definable
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * 25.3.96 Make short report have full precision [Ben Laurie suggested]
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd * 25.3.96 Show uptime better [Mark/Ben Laurie]
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd * 29.3.96 Better HTML and explanation [Mark/Rob Hartill suggested]
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd * 09.4.96 Added message for non-STATUS compiled version
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd * 18.4.96 Added per child and per slot counters [Jim Jagielski]
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe * 01.5.96 Table format, cleanup, even more spiffy data [Chuck Murcko/Jim J.]
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe * 18.5.96 Adapted to use new rprintf() routine, incidentally fixing a missing
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe * piece in short reports [Ben Laurie]
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe * 21.5.96 Additional Status codes (DNS and LOGGING only enabled if
2d399cd7535887fceaa9f8f116eb98ce68ddd602trawick * extended STATUS is enabled) [George Burgyan/Jim J.]
c2cf53a40a9814eb91db2cdf820f97d943f21628coar * 10.8.98 Allow for extended status info at runtime (no more STATUS)
8419e6f8bff1a3617933f3ba760d2bdec7442f44coar#endif /* NEXT */
4f9c22c4f27571d54197be9674e1fc0d528192aestriker#define STATUS_MAGIC_TYPE "application/x-httpd-status"
fa06de8a28a737e8fbaad76d7f3ff67aaa5e4a09wrowe/* Implement 'ap_run_status_hook'. */
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewroweAPR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap, STATUS, int, status_hook,
4f9c22c4f27571d54197be9674e1fc0d528192aestriker * command-related code. This is here to prevent use of ExtendedStatus
fa06de8a28a737e8fbaad76d7f3ff67aaa5e4a09wrowe * without status_module included.
fa06de8a28a737e8fbaad76d7f3ff67aaa5e4a09wrowestatic const char *set_extended_status(cmd_parms *cmd, void *dummy, int arg)
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe AP_INIT_FLAG("ExtendedStatus", set_extended_status, NULL, RSRC_CONF,
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe "\"On\" to enable extended status information, \"Off\" to disable"),
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe/* Format the number of bytes nicely */
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowestatic void format_byte_out(request_rec *r, apr_off_t bytes)
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisdstatic void format_kbyte_out(request_rec *r, apr_off_t kbytes)
0d26b42fc1735e110c6dc83b114c56257b20070bbnicholesstatic void show_time(request_rec *r, apr_interval_time_t tsecs)
0d26b42fc1735e110c6dc83b114c56257b20070bbnicholes ap_rprintf(r, " %d day%s", days, days == 1 ? "" : "s");
0d26b42fc1735e110c6dc83b114c56257b20070bbnicholes ap_rprintf(r, " %d hour%s", hrs, hrs == 1 ? "" : "s");
0d26b42fc1735e110c6dc83b114c56257b20070bbnicholes ap_rprintf(r, " %d minute%s", mins, mins == 1 ? "" : "s");
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes ap_rprintf(r, " %d second%s", secs, secs == 1 ? "" : "s");
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe/* Main handler for x-httpd-status requests */
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe/* ID values for command table */
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowe const char *hdr_out_str;
83a8dc5a596a8a1b9d14f063268287d123b9ed7ewrowestatic const struct stat_opt status_options[] = /* see #defines above */
cc9582e53aead2a044077c4a92f3dfc3605590b3wrowe const char *loc;
cc9582e53aead2a044077c4a92f3dfc3605590b3wrowe int j, i, res;
4f9c22c4f27571d54197be9674e1fc0d528192aestriker unsigned long count;
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd pid_buffer = apr_palloc(r->pool, server_limit * sizeof(pid_t));
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd stat_buffer = apr_palloc(r->pool, server_limit * thread_limit * sizeof(char));
4f9c22c4f27571d54197be9674e1fc0d528192aestriker "Server status unavailable in inetd mode");
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd * Simple table-driven form data set parser that lets you alter the header
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb if (*(loc + strlen(status_options[i].form_data_str)) == '='
290ecc1ddceca1ed49bc1a5338921264b5c3e07cwrowe for (i = 0; i < server_limit; ++i) {
290ecc1ddceca1ed49bc1a5338921264b5c3e07cwrowe for (j = 0; j < thread_limit; ++j) {
11fb2f3611e6ff9a541e10b13e3108934f828141gregames /* XXX what about the counters for quiescing/seg faulted
11fb2f3611e6ff9a541e10b13e3108934f828141gregames * processes? should they be counted or not? GLA
4f9c22c4f27571d54197be9674e1fc0d528192aestriker if (lres != 0 || (res != SERVER_READY && res != SERVER_DEAD)) {
290ecc1ddceca1ed49bc1a5338921264b5c3e07cwrowe#endif /* HAVE_TIMES */
290ecc1ddceca1ed49bc1a5338921264b5c3e07cwrowe /* up_time in seconds */
7c301a1818939f85da8f3629cc3e9b5588610ef0jerenkrantz "<html><head>\n<title>Apache Status</title>\n</head><body>\n",
4f9c22c4f27571d54197be9674e1fc0d528192aestriker ap_rvputs(r, ap_get_server_name(r), "</h1>\n\n", NULL);
8aefbd756763807188d2e3ce336a8680e4893066wrowe ap_get_server_built(), "\n</dt></dl><hr /><dl>\n", NULL);
700b96db75e7cfadb5219978c1735b710d583763wrowe ap_rprintf(r, "<dt>Parent Server Generation: %d</dt>\n",
700b96db75e7cfadb5219978c1735b710d583763wrowe /* Allow for OS/2 not having CPU stats */
700b96db75e7cfadb5219978c1735b710d583763wrowe else { /* !short_report */
103a93c625bcde1a6a7a5155b64dcda36f612180pquerna ap_rprintf(r, "<dt>Total accesses: %lu - Total Traffic: ", count);
8aefbd756763807188d2e3ce336a8680e4893066wrowe /* Allow for OS/2 not having CPU stats */
8aefbd756763807188d2e3ce336a8680e4893066wrowe format_byte_out(r, (unsigned long)(KBYTE * (float) kbcount
a2a0abd88b19e042a3eb2a9fa1702c25ad51303dwrowe / (float) up_time));
2fa5b5878e7567e2875807c3e2a2b3b0d3ef74bewrowe format_byte_out(r, (unsigned long)(KBYTE * (float) kbcount
2fa5b5878e7567e2875807c3e2a2b3b0d3ef74bewrowe / (float) count));
8aefbd756763807188d2e3ce336a8680e4893066wrowe } /* short_report */
dc8692c6c0ca616a09aa12dad005f2ef23baa1a0wrowe } /* ap_extended_status */
23c6309e36a63b13b61c35999c978017521993d6wrowe ap_rprintf(r, "<dt>%d requests currently being processed, "
23c6309e36a63b13b61c35999c978017521993d6wrowe ap_rprintf(r, "BusyWorkers: %d\nIdleWorkers: %d\n", busy, ready);
23c6309e36a63b13b61c35999c978017521993d6wrowe /* send the scoreboard 'table' out */
8aefbd756763807188d2e3ce336a8680e4893066wrowe for (i = 0; i < server_limit; ++i) {
cf6ef072483172309861d06e85b1aeff4573c060wrowe for (j = 0; j < thread_limit; ++j) {
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>_</code></b>\" Waiting for Connection, \n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>S</code></b>\" Starting up, \n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>R</code></b>\" Reading Request,<br />\n", r);
8aefbd756763807188d2e3ce336a8680e4893066wrowe ap_rputs("\"<b><code>W</code></b>\" Sending Reply, \n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>K</code></b>\" Keepalive (read), \n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>D</code></b>\" DNS Lookup,<br />\n", r);
a2b181763cb35fd899feb4a436aeadaa80bf91eabrianp ap_rputs("\"<b><code>C</code></b>\" Closing connection, \n", r);
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd ap_rputs("\"<b><code>L</code></b>\" Logging, \n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>G</code></b>\" Gracefully finishing,<br /> \n", r);
4f9c22c4f27571d54197be9674e1fc0d528192aestriker ap_rputs("\"<b><code>I</code></b>\" Idle cleanup of worker, \n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("\"<b><code>.</code></b>\" Open slot with no current process</p>\n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe for (i = 0; i < server_limit; ++i) {
cf6ef072483172309861d06e85b1aeff4573c060wrowe for (j = 0; j < thread_limit; ++j) {
d75626f0952c6152a99acd013a4f127d46f0f9edtrawick if (++k >= 3) {
731344ed8f3677d1661c261ca5fcdd2ee3dbc74ccoar "<th>Srv</th><th>PID</th><th>Acc</th>"
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe "<th>M</th>"
4f9c22c4f27571d54197be9674e1fc0d528192aestriker "<th>CPU\n</th>"
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe "<th>SS</th><th>Req</th>"
a72211e92bab814bfa28ee086ca9b2a1a6095c92chrisd "<th>Conn</th><th>Child</th><th>Slot</th>"
23c6309e36a63b13b61c35999c978017521993d6wrowe "<th>Client</th><th>VHost</th>"
4f9c22c4f27571d54197be9674e1fc0d528192aestriker "<th>Request</th></tr>\n\n", r);
4f9c22c4f27571d54197be9674e1fc0d528192aestriker for (i = 0; i < server_limit; ++i) {
c2cf53a40a9814eb91db2cdf820f97d943f21628coar for (j = 0; j < thread_limit; ++j) {
ad099b4d62597be19f8dba650663e796cbaa8d28rpluem "<b>Server %d-%d</b> (-): %d|%lu|%lu [",
eb12400ff685a3b69476736ca4b5389f348b9d63rpluem "<b>Server %d-%d</b> (%"
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe "u%g s%g cu%g cs%g"
cf6ef072483172309861d06e85b1aeff4573c060wrowe "\n %ld %ld (",
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe " <i>%s {%s}</i> <b>[%s]</b><br />\n\n",
700b96db75e7cfadb5219978c1735b710d583763wrowe else { /* !no_table_report */
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe "<tr><td><b>%d-%d</b></td><td>-</td><td>%d/%lu/%lu",
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe "<tr><td><b>%d-%d</b></td><td>%"
59513b1275fdc2021d4949ee03ae8229469abb86wrowe "</td><td>%d/%lu/%lu",
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe "<td>%.2f</td>"
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe "<td>%ld</td><td>%ld",
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe ap_rprintf(r, "</td><td>%-1.1f</td><td>%-2.2f</td><td>%-2.2f\n",
38bcc87d9a06e8ba81165421403f275eca4e313btrawick "</td><td>?</td><td nowrap>?</td><td nowrap>..reading.. </td></tr>\n\n");
0e58e92812f2f679d6bf2ff66cbcfa6c1d1e14bbjerenkrantz "</td><td>%s</td><td nowrap>%s</td><td nowrap>%s</td></tr>\n\n",
4f9c22c4f27571d54197be9674e1fc0d528192aestriker } /* no_table_report */
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe } /* for (j...) */
1b315ee865b0f11e582beb64127ca3a99a319d2fwrowe } /* for (i...) */
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe<tr><th>Srv</th><td>Child Server number - generation</td></tr>\n \
0e58e92812f2f679d6bf2ff66cbcfa6c1d1e14bbjerenkrantz<tr><th>PID</th><td>OS process ID</td></tr>\n \
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe<tr><th>Acc</th><td>Number of accesses this connection / this child / this slot</td></tr>\n \
cf6ef072483172309861d06e85b1aeff4573c060wrowe<tr><th>M</th><td>Mode of operation</td></tr>\n"
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe"<tr><th>CPU</th><td>CPU usage, number of seconds</td></tr>\n"
4f9c22c4f27571d54197be9674e1fc0d528192aestriker"<tr><th>SS</th><td>Seconds since beginning of most recent request</td></tr>\n \
700b96db75e7cfadb5219978c1735b710d583763wrowe<tr><th>Req</th><td>Milliseconds required to process most recent request</td></tr>\n \
700b96db75e7cfadb5219978c1735b710d583763wrowe<tr><th>Conn</th><td>Kilobytes transferred this connection</td></tr>\n \
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe<tr><th>Child</th><td>Megabytes transferred this child</td></tr>\n \
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe<tr><th>Slot</th><td>Total megabytes transferred this slot</td></tr>\n \
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe</table>\n", r);
cf6ef072483172309861d06e85b1aeff4573c060wrowe } /* if (ap_extended_status && !short_report) */
cf6ef072483172309861d06e85b1aeff4573c060wrowe ap_rputs("<hr />To obtain a full report with current status "
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe "information you need to use the "
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe "<code>ExtendedStatus On</code> directive.\n", r);
548b2980e83f609186a76e98fb245d02e8547bc3jerenkrantz /* Run extension hooks to insert extra content. */
4f9c22c4f27571d54197be9674e1fc0d528192aestrikerstatic int status_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
731344ed8f3677d1661c261ca5fcdd2ee3dbc74ccoar status_flags[SERVER_DEAD] = '.'; /* We don't want to assume these are in */
e4a3f3c2f080cac75a15a6454cca429b8161c050wrowe status_flags[SERVER_READY] = '_'; /* any particular order in scoreboard.h */
f08810eff40a2bddd2bc0103453c4ae775ea62bewrowe ap_mpm_query(AP_MPMQ_HARD_LIMIT_THREADS, &thread_limit);
f08810eff40a2bddd2bc0103453c4ae775ea62bewrowe ap_mpm_query(AP_MPMQ_HARD_LIMIT_DAEMONS, &server_limit);
700b96db75e7cfadb5219978c1735b710d583763wrowe ap_hook_handler(status_handler, NULL, NULL, APR_HOOK_MIDDLE);