mirror of
https://github.com/apache/httpd.git
synced 2025-11-06 16:49:32 +03:00
Really reset the MaxClients value in worker when the
configured value is not a multiple of the number of threads per child. We said we did previously but we forgot to. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91880 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,5 +1,10 @@
|
|||||||
Changes with Apache 2.0.29-dev
|
Changes with Apache 2.0.29-dev
|
||||||
|
|
||||||
|
*) Really reset the MaxClients value in worker when the
|
||||||
|
configured value is not a multiple of the number of threads
|
||||||
|
per child. We said we did previously but we forgot to.
|
||||||
|
[Jeff Trawick]
|
||||||
|
|
||||||
*) Add Debian layout. [Daniel Stone <daniel@sfarc.net>]
|
*) Add Debian layout. [Daniel Stone <daniel@sfarc.net>]
|
||||||
|
|
||||||
*) If shared modules are requested and mod_so is not available,
|
*) If shared modules are requested and mod_so is not available,
|
||||||
|
|||||||
@@ -1588,6 +1588,7 @@ static const char *set_server_limit (cmd_parms *cmd, void *dummy,
|
|||||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||||
" for a maximum of %d child processes,",
|
" for a maximum of %d child processes,",
|
||||||
ap_daemons_limit);
|
ap_daemons_limit);
|
||||||
|
max_clients = ap_daemons_limit * ap_threads_per_child;
|
||||||
}
|
}
|
||||||
if (ap_daemons_limit > HARD_SERVER_LIMIT) {
|
if (ap_daemons_limit > HARD_SERVER_LIMIT) {
|
||||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user