• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Apache2 - where to set maxclients?

dako1312

New Pleskian
Hello,

i am using Plesk 12 / Ubuntu 14.04

in PLESK 11 i could set maxclients, ServerLimit ..... in /etc/apache2/apache2.conf
but i cannot find these settings in apache2.conf.

Where to configure these settings, in which file?


thanks ahead

best regards

Dave
 
On my test Plesk 12 server I see:

# grep MaxClients /etc/httpd/conf/httpd.conf
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
MaxClients 10
# MaxClients: maximum number of simultaneous client connections
MaxClients 10
 
On my test Plesk 12 server I see:
# grep MaxClients /etc/httpd/conf/httpd.conf

I dont have that file on my server. But i found /etc/apache2/mods-enabled/mpm_prefork.conf

the content:

Code:
<IfModule mpm_prefork_module>
        StartServers                     5
        MinSpareServers           5
        MaxSpareServers          10
        MaxRequestWorkers         150
        MaxConnectionsPerChild   0
</IfModule>

I think "MaxRequestWorkers" is the same like "MaxClients" ???
 
I see on my Debian Plesk 12 server:

# grep MaxClients /etc/apache2/apache2.conf
# MaxClients: maximum number of server processes allowed to start
MaxClients 10
# MaxClients: maximum number of simultaneous client connections
MaxClients 10
# MaxClients: maximum number of simultaneous client connections
MaxClients 10

# cat /usr/local/psa/version
11.5.30 Debian 6.0 115140407.17
 
root@server:/etc/apache2# ls -lar | grep MaxClients
root@server:/etc/apache2#

(EMPTY...nothing found)

root@server:/etc/apache2# cat /usr/local/psa/version
12.0.18 Ubuntu 14.04 1200140626.18


There seems to be differences between versions, but why?
 
# ls -lar | grep MaxClients is incorrect command. Use grep for apache config file or use

# grep MaxClients /etc/apache2/*
 
# ls -lar | grep MaxClients is incorrect command. Use grep for apache config file or use

# grep MaxClients /etc/apache2/*

I did it. But theres absolutely no config file that contains "MaxClients".

root@server:/etc/apache2# cat apache2.conf | grep MaxClients
root@server:/etc/apache2#
 
Last edited:
Back
Top