From a93c7edac9b1bde38a248f10eaffdcc33d6b65db Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Sat, 7 Apr 2001 13:45:19 +0000 Subject: [PATCH] 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. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mpm/spmt_os2/spmt_os2.c b/server/mpm/spmt_os2/spmt_os2.c index ebae795d4d..b796fb2eaa 100644 --- a/server/mpm/spmt_os2/spmt_os2.c +++ b/server/mpm/spmt_os2/spmt_os2.c @@ -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)) { -- 2.50.1