• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question What is better Event or Prefork with Nginx + Apache setup?

Laurynas

New Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
Plesk Obsidian 18.0.44.1
Hi,

would like to get some advice on how to configure Apache in order to get best possible performance.

We used to have only Apache stand alone Plesk servers for quite a time. But from now on we installed and enabled Nginx on all our servers. To minimize a need of customers intervention we decided to use Nginx not as stand alone, but as Nginx proxying requests to Apache and not to serve static files directly by Nginx in order to keep Apache rewire rules of customers .htaccess working.

But now we have a question on what is better on this setup: Event or Prefork? And why?
And also what your opinions on what's better FastCGI server by Apache, FPM served by Apache or FPM served by Nginx?
 
Oh, and what about Dedicated FPM handlers for each site? We have 256 GB of RAM per server and about 300-400 websites per server. What's your opinion on dedicated FPM for each website?
 
Back
Top