Cookie Consent by Free Privacy Policy Generator

Increase number of HTTP connections to Apache & Web Host Manager (WHM/cPanel)

To increase the number of connections to Apache in WHM, you can modify the following two settings:
  1. MaxClients: This setting controls the maximum number of simultaneous connections that Apache will handle. You can increase this value in the Apache configuration file, typically located at "/usr/local/apache/conf/httpd.conf".
  2. KeepAliveTimeout: This setting controls how long Apache will keep an idle connection open before closing it. Increasing this value can also increase the number of connections that Apache will handle.
Note: When modifying these settings ensure that the changes are within the limits of your server's resources. Increasing these values too high can lead to decreased performance and stability.

To increase the number of connections to Apache in WHM/cPanel, you can follow these steps:
Another easier method if you're not confident with manually editing the httpd.conf configuration file is using cPanel and/or Web Host Manager (WHM).
  1. Log in to cPanel.
  2. Go to the "Software" section and click on the "MultiPHP Manager" icon.
  3. Select the domain for which you want to increase the connections.
  4. Click on the "Edit" button next to the PHP version you are using.
  5. Scroll down to the "Apache handlers" section.
  6. Change the value for the "Max Connections" setting to a higher number.
  7. Click on the "Apply" button to save the changes.
Note: It's recommended to increase the value incrementally and monitor the server performance to ensure that it's not overloading your server's resources. You may also want to consult with your web hosting provider for their recommended value and advice.

Another method you could attempt is:
Log in to WHM (Web Host Manager) on your Server as the “root” user and navigate to Service configuration > Apache configuration > Global configuration.

whm1.jpg


The default values are generally:
Server Limit > 256
Max Request Workers > 150


The values can be increased:
Server Limit > 512
Max Request Workers > 450
 
Last edited:
Back
Top