httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apache-1.3/src/include ap_config.h
Date Mon, 05 May 2003 11:45:49 GMT
trawick     2003/05/05 04:45:49

  Modified:    src      CHANGES
               src/include ap_config.h
  Log:
  AIX: Change the default accept mechanism from pthread back to
  fcntl.  Idle child cleanup doesn't work when the child selected
  for termination by the parent is waiting on a pthread mutex, and
  because the AIX kernel's notion of hot process is apparently the
  same as Apache's, it is common for the Apache parent to continually
  select a child for termination that the kernel will leave waiting
  on the mutex for extended periods of time.  There are other
  concerns with pthread mutexes as well, such as the ability to
  deadlock the server if a child process segfaults while holding the
  mutex.
  
  Revision  Changes    Path
  1.1890    +11 -0     apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1889
  retrieving revision 1.1890
  diff -u -r1.1889 -r1.1890
  --- CHANGES	30 Apr 2003 11:43:49 -0000	1.1889
  +++ CHANGES	5 May 2003 11:45:48 -0000	1.1890
  @@ -1,5 +1,16 @@
   Changes with Apache 1.3.28
     
  +  *) AIX: Change the default accept mechanism from pthread back to
  +     fcntl.  Idle child cleanup doesn't work when the child selected
  +     for termination by the parent is waiting on a pthread mutex, and 
  +     because the AIX kernel's notion of hot process is apparently the 
  +     same as Apache's, it is common for the Apache parent to continually
  +     select a child for termination that the kernel will leave waiting
  +     on the mutex for extended periods of time.  There are other 
  +     concerns with pthread mutexes as well, such as the ability to 
  +     deadlock the server if a child process segfaults while holding the 
  +     mutex.  [Jeff Trawick]
  +
     *) Fix a pair of potential buffer overflows in htdigest
        [Martin Schulze <joey@infodrom.org>, Thom May]
   
  
  
  
  1.330     +1 -3      apache-1.3/src/include/ap_config.h
  
  Index: ap_config.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/ap_config.h,v
  retrieving revision 1.329
  retrieving revision 1.330
  diff -u -r1.329 -r1.330
  --- ap_config.h	7 Apr 2003 10:46:27 -0000	1.329
  +++ ap_config.h	5 May 2003 11:45:49 -0000	1.330
  @@ -286,10 +286,8 @@
   #define NEED_UNION_SEMUN
   #if AIX >= 430
   #define HAVE_PTHREAD_SERIALIZED_ACCEPT
  -#define USE_PTHREAD_SERIALIZED_ACCEPT
  -#else
  -#define USE_FCNTL_SERIALIZED_ACCEPT
   #endif
  +#define USE_FCNTL_SERIALIZED_ACCEPT
   #if AIX >= 432
   #define SINGLE_LISTEN_UNSERIALIZED_ACCEPT 
   #endif
  
  
  

Mime
View raw message