Vance wrote:
First, verify which Apache multiprocessing module you are actually using with the following:
Code:
apache2ctl -M | grep -i mpm
If this is prefork, and assuming the configuration is somewhere under /etc/apache2/, the following command should show you where it belongs:
Code:
grep -Ri maxclients /etc/apache2/
Keep in mind this may indicate the file you edited (which is apparently not where it belongs) in addition to the correct one.
If you are using the worker or event MPM instead of prefork, your configuration will need to be different.
Thanks for the information. First command shows its prefork
Code:
root@XXXXXX:~# apache2ctl -M | grep -i mpm
mpm_prefork_module (shared)
But the second command does nothing.
Code:
root@XXXX:~# grep -Ri maxclients /etc/apache2/
root@XXXX:~#
"nicholasmark" mentioned that Maxclients settings has been changed on Apache 2.4 he is right

I tried
Code:
root@XXXX:~# grep -Ri MaxRequestWorkers /etc/apache2/
And it showed me that the configuration file for the prefork is in
Code:
/etc/apache2/mods-available/mpm_prefork.conf
I have found the settings on that file. Edited those and I think I'm good to go. Thanks both of you guys