httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.org>
Subject cvs commit: apache/src http_core.c
Date Sun, 20 Jul 1997 18:26:18 GMT
dgaudet     97/07/20 11:26:17

  Modified:    src       Tag: APACHE_1_2_X  http_core.c
  Log:
  Give  more accurate instructions on how to increase HARD_SERVER_LIMIT
  for the case where MaxClients > HARD_SERVER_LIMIT.
  
  Reviewed by:	Dean Gaudet (hey it's a doc change!)
  Submitted by:	Marc Slemko
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.81.2.6  +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.81.2.5
  retrieving revision 1.81.2.6
  diff -C3 -r1.81.2.5 -r1.81.2.6
  *** http_core.c	1997/07/19 20:17:39	1.81.2.5
  --- http_core.c	1997/07/20 18:26:16	1.81.2.6
  ***************
  *** 1019,1028 ****
    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");
  --- 1019,1029 ----
    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