How do I choose the best settings for the Apache Server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
My server has 6 GB RAM and 4 virtual CPUs. I want to know How can I change the following settings for better performance?


Timeout 45
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule mpm_prefork_module>
    StartServers                 3
    MinSpareServers         3
    MaxSpareServers        3
    ServerLimit                   50
    MaxClients                    50
    MaxRequestsPerChild  1000
</IfModule>

<IfModule mpm_worker_module>
    StartServers              3
    MaxClients                50
    MinSpareThreads     3
    MaxSpareThreads    3 
    ThreadsPerChild       25
    MaxRequestsPerChild  1000
</IfModule>


I'm thankful if anyone can guide me to choose the above settings according to my server hardware specifications. If you know of other settings, please share.


Thank you. 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux