Commit d0a400dd authored by Brian Havard's avatar Brian Havard
Browse files

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
parent f32d6c93
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)) {