本帖最后由 mhzh2000 于 2009-11-19 10:20:37 编辑

解决方案 »

  1.   

    Include conf/extra/httpd-mpm.conf 
    <IfModule !mpm_netware_module>
        PidFile "logs/httpd.pid"
    </IfModule><IfModule !mpm_winnt_module>
    <IfModule !mpm_netware_module>
    LockFile "logs/accept.lock"
    </IfModule>
    </IfModule>
    <IfModule mpm_prefork_module>
        StartServers          5
        MinSpareServers       5
        MaxSpareServers      10
        MaxClients          150
        MaxRequestsPerChild   0
    </IfModule><IfModule mpm_worker_module>
        StartServers          8
        MaxClients          8192
        MinSpareThreads      64
        MaxSpareThreads      256 
        ThreadsPerChild      128
        MaxRequestsPerChild   0
    </IfModule><IfModule mpm_beos_module>
        StartThreads            10
        MaxClients              50
        MaxRequestsPerThread 10000
    </IfModule>
                             
    <IfModule mpm_netware_module>
        ThreadStackSize      65536
        StartThreads           250
        MinSpareThreads         25
        MaxSpareThreads        250
        MaxThreads            1000
        MaxRequestsPerChild      0
        MaxMemFree             100
    </IfModule><IfModule mpm_mpmt_os2_module>
        StartServers           2
        MinSpareThreads        5
        MaxSpareThreads       10
        MaxRequestsPerChild    0
    </IfModule><IfModule mpm_winnt_module>
        ThreadsPerChild      1000
        MaxRequestsPerChild    10000
    </IfModule>Include conf/extra/httpd-default.conf 
    Timeout 5KeepAlive OnMaxKeepAliveRequests 100KeepAliveTimeout 5UseCanonicalName OffAccessFileName .htaccessServerTokens FullServerSignature Off
    Servertokens prod
    HostnameLookups Off