• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Question Apache minimum configuration

Seba

Basic Pleskian
Last year I started to manage the company servers and improve the whole project.
Soon I'm going to configure a new server and make some test with HTTP/2 to improve the speed of our mapping service.

I was checking our documentation and our servers configuration and I saw that we use the basic configuration of Plesk, we use Apache event mpm.

This is our mapping project Buchanan Computing map service
As you can see it requires a lot of images to create the whole map, and at the moment we have 60 website connecting to this website indirectly.

Is there some setting that I should implement in our Apache config to optimise the speed a part of switching to HTTP/2 with Nginx?
 
Is there some setting that I should implement in our Apache config to optimise the speed a part of switching to HTTP/2 with Nginx?

Yes, but it's not in the Apache config. Use Apache as little as possible and let Nginx serve all the static content. Turn on Nginx caching, too. This will greatly speed things up.

Regarding your scripts, if they are PHP, switch to 7.2 PHP-FPM. Change Apache Event to Apache Prefork and give it enough spare servers in /etc/httpd/conf settings and anough children per server instances.
 
Regarding your scripts, if they are PHP, switch to 7.2 PHP-FPM. Change Apache Event to Apache Prefork and give it enough spare servers in /etc/httpd/conf settings and anough children per server instances.
I've already switched PHP time ago, why Prefork over Event?
 
Yes, but it's not in the Apache config. Use Apache as little as possible and let Nginx serve all the static content. Turn on Nginx caching, too. This will greatly speed things up.

Regarding your scripts, if they are PHP, switch to 7.2 PHP-FPM. Change Apache Event to Apache Prefork and give it enough spare servers in /etc/httpd/conf settings and anough children per server instances.


This is no longer where things sit if you are running CentOS 7. I keep running into the problem of

[Mon Feb 25 06:00:41.271724 2019] [mpm_prefork:error] [pid 20951] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

and trying to tune prefork for more MaxRequestWorkers. Not to hijack this thread but if he is being advised to change settings for prefork we should kinda know where to do that. I've been advised to edit /etc/httpd/conf.modules.d/01-cgi.conf as so but can't see where to grep the current MaxRequestWorkers to see if these changes applied.

<IfModule mpm_prefork_module>
LoadModule cgi_module modules/mod_cgi.so
MaxRequestWorkers 4000
ServerLimit 4000
</IfModule>
 
<IfModule mpm_prefork_module>
LoadModule cgi_module modules/mod_cgi.so
MaxRequestWorkers 4000
ServerLimit 4000
</IfModule>
 
Back
Top