Forum Moderators: phranque

Message Too Old, No Replies

Configuring Apache Web Server

Configuring Apache Web Server with different values

         

elvang

8:03 am on Apr 13, 2022 (gmt 0)

Top Contributors Of The Month



Hi,
I have an 1gb vps hosting. And i am trying to optimize apache virtual host. In company's guide it is saying "These guidelines are designed to optimize Apache for a 2GB vps hosting, but you can use this information for any size hosting. These values are based on the amount of memory available. If you have a vps hosting 4GB, multiply all of the values by 2 and use those numbers for your settings."

And the values the guide suggested for 2 gb hosting is like this:

<IfModule mpm_prefork_module>
StartServers 4
MinSpareServers 20
MaxSpareServers 40
MaxClients 200
MaxRequestsPerChild 4500
</IfModule>

As i have 1gb vps hosting, should i divide those values to 2 or should i write the same values as they are? Thank you.

phranque

8:10 am on Apr 13, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



As i have 1gb vps hosting, should i divide those values to 2...?

this is what i would do.

elvang

9:20 am on Apr 13, 2022 (gmt 0)

Top Contributors Of The Month



thank you phranque