You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bj...@apache.org on 2001/04/07 15:45:20 UTC

cvs commit: httpd-2.0/server/mpm/spmt_os2 spmt_os2.c

bjh         01/04/07 06:45:20

  Modified:    server/mpm/spmt_os2 spmt_os2.c
  Log:
  OS/2: Set the max file handles for the process to something more useful than
  the default of around 40. This gives us 2 per possible thread.
  
  Revision  Changes    Path
  1.91      +1 -0      httpd-2.0/server/mpm/spmt_os2/spmt_os2.c
  
  Index: spmt_os2.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/spmt_os2/spmt_os2.c,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- spmt_os2.c	2001/03/02 22:46:32	1.90
  +++ spmt_os2.c	2001/04/07 13:45:19	1.91
  @@ -922,6 +922,7 @@
       }
   
       set_signals();
  +    DosSetMaxFH(ap_daemons_limit * 2);
   
       if (ppthread_globals == NULL) {
           if (DosAllocThreadLocalMemory(1, (PULONG *)&ppthread_globals)) {