• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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