• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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