summaryrefslogtreecommitdiff
path: root/include/scoreboard.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2014-10-07 15:16:02 +0000
committerYann Ylavic <ylavic@apache.org>2014-10-07 15:16:02 +0000
commita527db4331ac8ffa95858ce79e7d735e14fbbbb6 (patch)
treeae5ddd0651c456206edb91a6ca9eaac3e20ff262 /include/scoreboard.h
parent0d4cb3f3637aa786bc4677fd403b94d18e8f9570 (diff)
downloadhttpd-a527db4331ac8ffa95858ce79e7d735e14fbbbb6.tar.gz
core: Use process scoreboard to store each child's listener bucket,
and silently adjust the configured number of processes/threads to be above the computed number of listener buckets (depending on the CPU cores). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/scoreboard.h')
-rw-r--r--include/scoreboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scoreboard.h b/include/scoreboard.h
index c41d7d3f0b..c07b28cb89 100644
--- a/include/scoreboard.h
+++ b/include/scoreboard.h
@@ -142,6 +142,7 @@ struct process_score {
apr_uint32_t lingering_close; /* async connections in lingering close */
apr_uint32_t keep_alive; /* async connections in keep alive */
apr_uint32_t suspended; /* connections suspended by some module */
+ int bucket; /* Listener bucket used by this child */
};
/* Scoreboard is now in 'local' memory, since it isn't updated once created,