KeepAlive MaxKeepAliveRequests Apache optimize
MaxKeepAliveRequests MaxKeepAliveRequests limits the number of requests allowed per connection. It is used to control persistent connections. In Ubuntu, the default value of MaxKeepAliveRequests is 100 . You can change it to any value you desire. The recommended value of MaxKeepAliveRequests is between 50 and 75. You can change this value by editing the Apache configuration file. sudo nano / etc / httpd / httpd.conf Change the value from 100 to 60. MaxKeepAliveRequests 60 Save the file and restart Apache. sudo / etc / init.d / httpd restart KeepAliveTimeout KeepAliveTimeout defines how long the server waits for the new request from connected clients. Setting KeepAliveTimeout to a high value may cause performance issues in a heavily loaded web server. In Ubuntu, the default value of KeepAliveTimeout is 15 . The recommended value of KeepAliveTimeout is between 1 and 5. You can change this value by editi...