Advertisement
Guest User

Untitled

a guest
Jun 24th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. #
  2. # Server-Pool Management (MPM specific)
  3. #
  4.  
  5. #
  6. # PidFile: The file in which the server should record its process
  7. # identification number when it starts.
  8. #
  9. # Note that this is the default PidFile for most MPMs.
  10. #
  11. <IfModule !mpm_netware_module>
  12. PidFile "logs/httpd.pid"
  13. </IfModule>
  14.  
  15. #
  16. # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
  17. #
  18. <IfModule !mpm_winnt_module>
  19. <IfModule !mpm_netware_module>
  20. LockFile "logs/accept.lock"
  21. </IfModule>
  22. </IfModule>
  23.  
  24. <IfModule mpm_prefork_module>
  25. StartServers 5
  26. MinSpareServers 5
  27. MaxSpareServers 10
  28. MaxClients 150
  29. MaxRequestsPerChild 0
  30. </IfModule>
  31.  
  32.  
  33. <IfModule mpm_worker_module>
  34. StartServers 2
  35. MaxClients 150
  36. MinSpareThreads 25
  37. MaxSpareThreads 75
  38. ThreadsPerChild 25
  39. MaxRequestsPerChild 0
  40. </IfModule>
  41.  
  42. <IfModule mpm_beos_module>
  43. StartThreads 10
  44. MaxClients 50
  45. MaxRequestsPerThread 10000
  46. </IfModule>
  47.  
  48.  
  49. <IfModule mpm_netware_module>
  50. ThreadStackSize 65536
  51. StartThreads 250
  52. MinSpareThreads 25
  53. MaxSpareThreads 250
  54. MaxThreads 1000
  55. MaxRequestsPerChild 0
  56. MaxMemFree 100
  57. </IfModule>
  58.  
  59.  
  60. <IfModule mpm_mpmt_os2_module>
  61. StartServers 2
  62. MinSpareThreads 5
  63. MaxSpareThreads 10
  64. MaxRequestsPerChild 0
  65. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement