httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <m...@hyperreal.org>
Subject cvs commit: /apache/src http_core.c
Date Sat, 12 Jul 1997 23:49:47 GMT
marc        97/07/12 16:49:47

  Modified:    apache/src  http_core.c
  Log:
  Give  more accurate instructions on how to increase HARD_SERVER_LIMIT
  for the case where MaxClients > HARD_SERVER_LIMIT.
  
  Revision  Changes    Path
  1.93      +5 -4      /apache/src/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /export/home/cvs//apache/src/http_core.c,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -C3 -r1.92 -r1.93
  *** http_core.c	1997/07/08 04:45:27	1.92
  --- http_core.c	1997/07/12 23:49:46	1.93
  ***************
  *** 1033,1042 ****
    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");
           daemons_limit = HARD_SERVER_LIMIT;
        } else if (daemons_limit < 1) {
    	fprintf (stderr, "WARNING: Require MaxClients > 0, setting to 1\n");
  --- 1033,1043 ----
    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: 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");
  
  
  

Mime
View raw message