]> granicus.if.org Git - apache/commitdiff
OS/2: Set the max file handles for the process to something more useful than
authorBrian Havard <bjh@apache.org>
Sat, 7 Apr 2001 13:45:19 +0000 (13:45 +0000)
committerBrian Havard <bjh@apache.org>
Sat, 7 Apr 2001 13:45:19 +0000 (13:45 +0000)
the default of around 40. This gives us 2 per possible thread.

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

server/mpm/spmt_os2/spmt_os2.c

index ebae795d4d3fb54796dc252d5769a4b5232a24d2..b796fb2eaa0d59178ff7cf3430835f8627ca83e1 100644 (file)
@@ -922,6 +922,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
     }
 
     set_signals();
+    DosSetMaxFH(ap_daemons_limit * 2);
 
     if (ppthread_globals == NULL) {
         if (DosAllocThreadLocalMemory(1, (PULONG *)&ppthread_globals)) {