Hello,
I have a Dedicated Server machine which has 36GB of Ram, 256GB SSD, Dual Xeon 5520 Processor with total 16 threads.
I have hosted there just a single domain which has only one single php file script and one json file. Json file get weather data through API every 10 minutes and php script has banner which show weather. This banner is used in google adwords and we are getting good traffic. But server get slow when 5000, 6000 traffic comes together. I was expecting more with this server configuration. I thought it is maybe apache optimization issue thats why i am sharing here my configuration to get better solutions.
Start Servers: 5
Minimum Spare Servers: 5
Maximum Spare Servers: 20 I set, It was 10.
Server Limit: I setup 15,000
Max Request Workers: 10,000
Max Connections Per Child: 20,000
Keep-Alive Timeout: 2
Max Keep-Alive Requests: 100
Timeout: 300
I keep watching top command it is processing 30 40 requests and rest 5000, 6000 on sleep.
Server load average also become 40+, 60+, 120+
If i enable php-fpm what settings i must set there like child etc..
Please tell me how to make optimizations. I shall be thankful to you.
I have a Dedicated Server machine which has 36GB of Ram, 256GB SSD, Dual Xeon 5520 Processor with total 16 threads.
I have hosted there just a single domain which has only one single php file script and one json file. Json file get weather data through API every 10 minutes and php script has banner which show weather. This banner is used in google adwords and we are getting good traffic. But server get slow when 5000, 6000 traffic comes together. I was expecting more with this server configuration. I thought it is maybe apache optimization issue thats why i am sharing here my configuration to get better solutions.
Start Servers: 5
Minimum Spare Servers: 5
Maximum Spare Servers: 20 I set, It was 10.
Server Limit: I setup 15,000
Max Request Workers: 10,000
Max Connections Per Child: 20,000
Keep-Alive Timeout: 2
Max Keep-Alive Requests: 100
Timeout: 300
I keep watching top command it is processing 30 40 requests and rest 5000, 6000 on sleep.
Server load average also become 40+, 60+, 120+
If i enable php-fpm what settings i must set there like child etc..
Please tell me how to make optimizations. I shall be thankful to you.