Where to set MaxClients value for Apache 2.4

Created:

2016-11-16 13:09:02 UTC

Modified:

2017-08-08 13:28:21 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Where to set MaxClients value for Apache 2.4

Applicable to:

  • Plesk 12.5 for Linux

Question

Where to set MaxClients value for Apache web server on Centos 7?

Answer

The MaxClients limit can be set in /etc/httpd/conf.d/mpm_prefork.conf :

# grep -ir maxclients /etc/httpd/
/etc/httpd/conf.d/mpm_prefork.conf:MaxClients 10

Restart Apache web server to apply the settings:

# systemctl restart httpd.service
Have more questions? Submit a request
Please sign in to leave a comment.