Apache_mpm prefork > event increased load

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
2,339
Location
UA
Today after Apache updating from 2.4.41 to 2.4.43 with apache_mpm=auto LA growed up.
After log checking I find out that MPM was changed from PREFORK to EVENT
16-05-2020 17-06-49.jpg
How can I tune EVENT to make server load less, or I need turn back to PREFORK?
Nginx_Apache, Centos 7, php-fpm, all latest versions.
 
I say it's php-fpm, it's a bugger....

When I switched my servers/VMs to fpm, I saw a load increase whatever mpm I used..

Thing is, I hear http/2 isn't compatible with Apache 2.4.27+ + Prefork + mod_php? See here

I'm also noticing when you first load a site, it can stall for a few seconds before it loads, it's normal after the first load, I thought it was mpm event but it also happens on mpm worker
 
Last edited:
Back
Top