Current time: 11-27-2024, 11:19 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Настройка prefork & worker apache2
Author Message
user Offline
Junior Member
*

Posts: 75
Joined: Nov 2010
Reputation: 0
Post: #1
Настройка prefork & worker apache2
512 RAM, 2.0 ghz OpenVZ

PHP Code:
KeepAlive 10

<IfModule mpm_prefork_module>
StartServers       10
MinSpareServers    10
MaxSpareServers    15
MaxClients        30
 MaxRequestsPerChild   10000
</IfModule>

# worker MPM

<IfModule mpm_worker_module>
StartServers       20
MaxClients        30
MinSpareThreads    40
MaxSpareThreads    45
    ThreadsPerChild      32
    MaxRequestsPerChild   5000
</IfModule
(This post was last modified: 01-19-2011 03:12 AM by user.)
01-19-2011 03:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)