Apache_mpm prefork > event increased load

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
462
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.
 

Peter Laws

Verified User
Joined
Sep 13, 2008
Messages
1,933
Location
London UK
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:
Top