]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Give more accurate instructions on how to increase HARD_SERVER_LIMIT
authordgaudet <dgaudet@unknown>
Sun, 20 Jul 1997 18:26:16 +0000 (18:26 +0000)
committerdgaudet <dgaudet@unknown>
Sun, 20 Jul 1997 18:26:16 +0000 (18:26 +0000)
for the case where MaxClients > HARD_SERVER_LIMIT.

Reviewed by: Dean Gaudet (hey it's a doc change!)
Submitted by: Marc Slemko

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3@78693 13f79535-47bb-0310-9956-ffa450edef68

APACHE_1_2_X/src/main/http_core.c

index 6a9edf12c937d773e16e024cc77fb1375b62f886..221771acf2d2267ecbcf8da6e5b9d4f747f548c2 100644 (file)
@@ -1019,10 +1019,11 @@ const char *set_max_free_servers (cmd_parms *cmd, void *dummy, char *arg) {
 const char *set_server_limit (cmd_parms *cmd, void *dummy, char *arg) {
     daemons_limit = atoi (arg);
     if (daemons_limit > HARD_SERVER_LIMIT) {
-       fprintf(stderr, "WARNING: Compile-time limit of %d servers\n",
-        HARD_SERVER_LIMIT);
-       fprintf(stderr, " Adjusting as required (to increase, please read\n");
-       fprintf(stderr, " the documentation)\n");
+       fprintf(stderr, "WARNING: MaxClients of %d exceeds compile time limit "
+           "of %d servers,\n", daemons_limit, HARD_SERVER_LIMIT);
+       fprintf(stderr, " lowering MaxClients to %d.  To increase, please "
+           "see the\n", HARD_SERVER_LIMIT);
+       fprintf(stderr, " HARD_SERVER_LIMIT define in src/httpd.h.\n");
        daemons_limit = HARD_SERVER_LIMIT;
     } else if (daemons_limit < 1) {
        fprintf (stderr, "WARNING: Require MaxClients > 0, setting to 1\n");