Questions tagged [mpm-event]
27 questions
0
votes
0 answers
Apache2 response times abysmal after enabling php-fpm module
I'm running Apache2 on a Debian 11 VPS. I've written an API, and I'm trying to stress test it via an external server using ApacheBench.
With mpm_prefork enabled and php8.0-fpm disabled, the 95th percentile response times are around 30ms. The output…
![](../../users/profiles/372572.webp)
Kiekem
- 1
- 4
0
votes
1 answer
Apache mpm event-increasing StartServers has no effect on memory
I'm using apache mpm event on centos server with the following configs:
StartServers 8
ServerLimit 64
ThreadsPerChild 256
MaxRequestWorkers 16384
MaxConnectionsPerChild 10000
MinSpareThreads 125
MaxSpareThreads 250
ThreadLimit…
![](../../users/profiles/608579.webp)
Soheil
- 123
- 4
0
votes
0 answers
501 Not Implemented error when making request to localhost
I'm using apache mpm event and php-fpm on my CentOS 8 server. I need to be able to make http requests from my server to a php api on my server, so the url of the api would be something like: http://127.0.0.1/~/api.php. there is no…
![](../../users/profiles/608579.webp)
Soheil
- 123
- 4
0
votes
1 answer
Why does apache work only with mpm-prefork?
I have 2 websites of wordpress on LAMP (Linux, Apache2, MariaDB and PHP-FPM).
If I disable mpm-prefork and enable either mpm-worker or mpm-event, apache shows only a blank page (I have a few wordpress websites).
The weird thing is log says nothing…
![](../../users/profiles/129090.webp)
sebelk
- 642
- 3
- 13
- 32
0
votes
1 answer
Why Apache2 total threadcount is more than MaxRequestWorkers
I recently moved my mpm from perfork to event (& also mod_php (php7.0) to php-fpm (proxy_fgi))
I estimated my max concurrent connection load to be around 300. So i set the following configuration in mpm_event.conf
StartServers …
![](../../users/profiles/785622.webp)
dgarg
- 1
- 2
0
votes
1 answer
Accessing default MPM prefork values in Ubuntu(debian based architecture) vs CentOS (Red Hat Enterprise Linux)
I was trying to list the MPM prefork default configuration values in apache web server. In ubuntu, apache web server, I could access the values inside /etc/apache2/mods-available/mpm_prefork.conf file. But in CentOS, I couldn't find the similar file…
0
votes
0 answers
apache-calculating ServerLimit based on buff/cache, available memory? or both?
I have been reading many articles to understand how to configure apache server for a high traffic website. the article here tries to calculate Thrashing point-where swapping occurs-and then calculates an initial estimate for the number of…
![](../../users/profiles/596976.webp)
user589154
- 3
- 2
0
votes
1 answer
Does MaxClients determine the number of active users in a site
Keeping all factors constant , assuming my apache server is configured as below , in event mpm
StartServers 2
MinSpareServers 2
MaxSpareServers 5
MaxClients 200 #
ServerLimit 200 #
MaxRequestsPerChild…
![](../../users/profiles/392123.webp)
salimsaid
- 101
- 2
0
votes
0 answers
Apache2 can't handle 200 concurrent requests with 8GB Ram and 4 core cpu
I am load testing a worpress site with loader.io , i am sending 100 concurrent requests per second, running the test in exactly 1 minute. The test fails considerably after 20 seconds or so, nothing logged on the apache error log,
I monitored ram…
![](../../users/profiles/392123.webp)
salimsaid
- 101
- 2
0
votes
0 answers
Apache won’t run some PHP scripts
I am very new to this php-fpm thing, but I decided I need to get into it. I recently migrated to Centos 8, and with it to Apache 2.4.
I have a number of virtual hosts using PHP which worked well until I changed from mod_mpm_prefork to mod_mpm_event.…
![](../../users/profiles/336877.webp)
Manngo
- 115
- 1
- 8
0
votes
1 answer
What do these sporadic floods of 301 GET log entries every mean?
I have a new CentOS7 web server running virtualmin. It hosts a new WordPress site that just went into production.
Starting mid-day today, on the quarter hour, to the second, I am troubleshooting spikes in server load. At various time, but mostly…
![](../../users/profiles/318184.webp)
Rocky
- 101
- 2
-1
votes
2 answers
How to make apache and php use more memory?
I am working on one server having 16GB of RAM. It runs on Apache with php-fpm. The site hosted on this server is taking about 10 seconds to load. First I thought that it's a resources issue, but when I checked memory usage, It's showing me that…
![](../../users/profiles/356930.webp)
p01ymath
- 129
- 5