Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3.
Questions tagged [mpm-prefork]
114 questions
2
votes
2 answers
What are the problems of setting MaxRequestsPerChild to 1 of mpm_prefork module
For my application I had to have this configuration for it works :
MaxRequestsPerChild 1
What are the problem that I can encounter with this configuration.
![](../../users/profiles/227684.webp)
Hunsu
- 123
- 5
2
votes
1 answer
What could cause deeply nested apache prefork children?
I'm running apache 2.2.25 with prefork and mod_perl on CentOS (mostly 6.4). Recently one instance went particularly haywire, forking off children of children of children:
\_ /usr/sbin/httpd
| \_ /usr/sbin/httpd
| | \_ /usr/sbin/httpd
|…
![](../../users/profiles/31965.webp)
Rob Van Dam
- 141
- 1
- 2
- 6
2
votes
0 answers
Using Apache2 Worder MPM with Moodle
Is Moodle (I am using Moodle 2.5.2) compatible with Apache2 "Worker MPM" (in contrast to "Prefork MPM").
If it is indeed compatible, has has anyone tried both and is able to say which performs better and if so what is the performance difference…
![](../../users/profiles/56890.webp)
Filip
- 217
- 2
- 3
- 9
2
votes
2 answers
Apache: configure prefork in a per-virtualhost way
I host different sites on the same Linux server (an AWS EC2 instance), I would like to give these sites different limits via a virtualhost specific configuration. Is this possible?
![](../../users/profiles/177045.webp)
MatteoSp
- 131
- 5
2
votes
1 answer
Apache optimization - prefork MPM
I read many posts regarding the Apache configuration, and tried to find the best values for our servers. To make sure what's best I used JMeter to simulate 2100 connections per second. After many rounds of fine tuning i got to the following…
![](../../users/profiles/128791.webp)
Kuf
- 449
- 2
- 8
- 24
2
votes
2 answers
Apache with prefork model using 1000 MB memory per process
I am currently working on a site which uses Apache running on the prefork memory model. The following is the configuration from httpd.conf
StartServers 30
MinSpareServers 15
MaxSpareServers 30
…
![](../../users/profiles/97290.webp)
anoopjohn
- 201
- 4
- 5
2
votes
2 answers
About MPM Prefork MaxClient parameter on 256M RAM server
I have a question about Apache MPM Prefork configuration on VPS servers.
One slicehost articles, they suggest to set MaxClients to 40 if I have 256MB RAM on my virtual server.…
![](../../users/profiles/43312.webp)
aneuryzm
- 1,614
- 5
- 25
- 40
2
votes
1 answer
What are the suggested MPM prefork configurations for 256M and 512M RAM server?
The suggested MPM prefork configuration on slicehost.com articles
for VPS with 1GB RAM is:
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
…
![](../../users/profiles/43312.webp)
aneuryzm
- 1,614
- 5
- 25
- 40
2
votes
2 answers
Httpd server optimization for 50-100k users
I currently have an AWS EC2 instance m5.24xlarge that has :
96 vCPU
384 RAM
25 GBPs network
We are currently expecting more than 50 000 concurrent users online, I have added a layer on cloudflare but the issue is I keep getting server reached…
![](../../users/profiles/546365.webp)
BarNation
- 21
- 3
1
vote
1 answer
Apache runs several processes slows server, MYSQL can't connect, always fixed after reboot
My WordPress Web Server will run for 30 - 60 minutes (then go down, and run very slowly as a server, difficult to input using Putty, or KVM terminal), after a reboot it will run fine, then Apache will run several processes (screenshot:) and go down…
![](../../users/profiles/479884.webp)
Ian Arman
- 105
- 2
- 8
- 15
1
vote
1 answer
Apache not running as user with mpm_itk
I have mpm_prefork and mpm_itk loaded with Apache (on CentOS). A httpd -M | grep mpm reveals the following:
mpm_itk_module (shared)
mpm_prefork_module (shared)
I my vhost configuration I have the following directives:
# Run as User
![](../../users/profiles/37049.webp)
miCRoSCoPiCeaRthLinG
- 285
- 1
- 5
- 17
1
vote
1 answer
reducing number of child processes on mpm prefork
I have a small CGI application served via Apache2 and I would like to reduce the number of child processes that Apache2 maintains.
Here's the configuration (very basic) that I have for mpm_prefork.conf:
$ cat…
![](../../users/profiles/356214.webp)
ivanleoncz
- 1,433
- 4
- 18
- 32
1
vote
1 answer
AH00052: child pid [PID] exit signal Aborted (6) - Apache error
I have an installation of Apache/2.4.18 running on Ubuntu 16.04. Apache is configured as Prefork MPM. PHP 7.0.22
Checking the error log at /var/log/apache2/error.log I see lots of these errors:
[Fri Jan 26 12:59:20.223248 2018] [core:notice] [pid…
![](../../users/profiles/303945.webp)
Binary Code
- 21
- 1
- 4
1
vote
0 answers
Apache uses 100% CPU but only part of RAM on heavy load
I am running a Website that gets heavy usage at a particular time. I run apache 2.4 on an EC2 Ubuntu 16.04 server with 4 Core CPU and 16GB of RAM and 2GB Swap. Size of the average apache process is 35MB (approx). I have set up the KeepAlive value as…
![](../../users/profiles/111431.webp)
gentrobot
- 169
- 2
- 10
1
vote
1 answer
in Apache 2.4 (Amazon) is not in httpd.conf
I am running an AWS EC2 instance with LAMP (apache 2.4 (amazon). I am trying to tune the prefork module but I can't find it.
I have checked the httpd.conf file and it is not in there. I have confirmed that it is running prefork mpm.
I am looking…
![](../../users/profiles/380362.webp)
Gavin Reynoldson
- 123
- 1
- 5