home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / apache_2.2.8-win32-x86-no_ssl.msi / Data1.cab / _96DA8939D488B648FF0D6C9D434B7DCB < prev    next >
Text File  |  2007-12-28  |  4KB  |  111 lines

  1. #
  2. # Server-Pool Management (MPM specific)
  3.  
  4. #
  5. # PidFile: The file in which the server should record its process
  6. # identification number when it starts.
  7. #
  8. # Note that this is the default PidFile for most MPMs.
  9. #
  10. <IfModule !mpm_netware_module>
  11.     PidFile "@rel_runtimedir@/httpd.pid"
  12. </IfModule>
  13.  
  14. #
  15. # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
  16. #
  17. <IfModule !mpm_winnt_module>
  18. <IfModule !mpm_netware_module>
  19. LockFile "@rel_logfiledir@/accept.lock"
  20. </IfModule>
  21. </IfModule>
  22.  
  23. #
  24. # Only one of the below sections will be relevant on your
  25. # installed httpd.  Use "apachectl -l" to find out the
  26. # active mpm.
  27. #
  28.  
  29. # prefork MPM
  30. # StartServers: number of server processes to start
  31. # MinSpareServers: minimum number of server processes which are kept spare
  32. # MaxSpareServers: maximum number of server processes which are kept spare
  33. # MaxClients: maximum number of server processes allowed to start
  34. # MaxRequestsPerChild: maximum number of requests a server process serves
  35. <IfModule mpm_prefork_module>
  36.     StartServers          5
  37.     MinSpareServers       5
  38.     MaxSpareServers      10
  39.     MaxClients          150
  40.     MaxRequestsPerChild   0
  41. </IfModule>
  42.  
  43. # worker MPM
  44. # StartServers: initial number of server processes to start
  45. # MaxClients: maximum number of simultaneous client connections
  46. # MinSpareThreads: minimum number of worker threads which are kept spare
  47. # MaxSpareThreads: maximum number of worker threads which are kept spare
  48. # ThreadsPerChild: constant number of worker threads in each server process
  49. # MaxRequestsPerChild: maximum number of requests a server process serves
  50. <IfModule mpm_worker_module>
  51.     StartServers          2
  52.     MaxClients          150
  53.     MinSpareThreads      25
  54.     MaxSpareThreads      75 
  55.     ThreadsPerChild      25
  56.     MaxRequestsPerChild   0
  57. </IfModule>
  58.  
  59. # BeOS MPM
  60. # StartThreads: how many threads do we initially spawn?
  61. # MaxClients:   max number of threads we can have (1 thread == 1 client)
  62. # MaxRequestsPerThread: maximum number of requests each thread will process
  63. <IfModule mpm_beos_module>
  64.     StartThreads            10
  65.     MaxClients              50
  66.     MaxRequestsPerThread 10000
  67. </IfModule>
  68.  
  69. # NetWare MPM
  70. # ThreadStackSize: Stack size allocated for each worker thread
  71. # StartThreads: Number of worker threads launched at server startup
  72. # MinSpareThreads: Minimum number of idle threads, to handle request spikes
  73. # MaxSpareThreads: Maximum number of idle threads
  74. # MaxThreads: Maximum number of worker threads alive at the same time
  75. # MaxRequestsPerChild: Maximum  number of requests a thread serves. It is 
  76. #                      recommended that the default value of 0 be set for this
  77. #                      directive on NetWare.  This will allow the thread to 
  78. #                      continue to service requests indefinitely.                          
  79. <IfModule mpm_netware_module>
  80.     ThreadStackSize      65536
  81.     StartThreads           250
  82.     MinSpareThreads         25
  83.     MaxSpareThreads        250
  84.     MaxThreads            1000
  85.     MaxRequestsPerChild      0
  86.     MaxMemFree             100
  87. </IfModule>
  88.  
  89. # OS/2 MPM
  90. # StartServers: Number of server processes to maintain
  91. # MinSpareThreads: Minimum number of idle threads per process, 
  92. #                  to handle request spikes
  93. # MaxSpareThreads: Maximum number of idle threads per process
  94. # MaxRequestsPerChild: Maximum number of connections per server process
  95. <IfModule mpm_mpmt_os2_module>
  96.     StartServers           2
  97.     MinSpareThreads        5
  98.     MaxSpareThreads       10
  99.     MaxRequestsPerChild    0
  100. </IfModule>
  101.  
  102. # WinNT MPM
  103. # ThreadsPerChild: constant number of worker threads in the server process
  104. # MaxRequestsPerChild: maximum  number of requests a server process serves
  105. <IfModule mpm_winnt_module>
  106.     ThreadsPerChild      150
  107.     MaxRequestsPerChild    0
  108. </IfModule>
  109.  
  110.