Questions tagged [mpm-prefork]

Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3.

114 questions
0
votes
0 answers

Apache ramps up child processes until MaxRequestWorkers reached

My Ubuntu server has been running wonderfully for six months until last week when it started being a bit naughty. I've made no changes to the config in the last couple of months, so I'm scratching my head... here's where I'm up to! I've done some…
Shankie
  • 1
  • 1
0
votes
0 answers

Slow PHP response times from Apache Benchmark

I have a VPS running Apache (prefork mpm) with 1gb RAM and 2 x Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz. I setup 2 test files to run through Apache Benchmark: htmltest.html (basic HTML file which just displays some text) phptest.php (a completely…
0
votes
1 answer

Tuning Apache For mid-sized site

I am having trouble with my apache configuration. Right now nginx sits in front on apache as a reverse proxy, serving static assets and then passing php requests to apache. Apache is using mod_php. We do have users but the site is growing slowly, so…
user1050544
  • 111
  • 5
0
votes
2 answers

What happens when mpm_prefork_module and mpm_worker_module are both used?

I came across this Apache configuration: StartServers 16 MinSpareServers 16 MaxSpareServers 32 ServerLimit 400 MaxClients 400 MaxRequestsPerChild …
Paul Draper
  • 287
  • 5
  • 22
0
votes
1 answer

prefork and apache doc. what is meant by request?

(I am already aware of worker and event and how they differ from prefork, this is a prefork only question) First question: What is meant by "request" on this page? http://httpd.apache.org/docs/2.4/mod/prefork.html "Apache httpd always tries to…
wlf
  • 371
  • 2
  • 13
0
votes
2 answers

How to decide on MPM module (worker.c, prefork.c or something else

We have several sites running on one server. (CentOS, Hostgator "Elite") A few of the sites are fairly large and our main site is large enough that Google has indexed > 1,000,000 pages. I complained to HG (I have a managed dedicated server) about…
TecBrat
  • 173
  • 10
0
votes
1 answer

How to customize MPM for optimum performance on apache?

I'm quite new to configuring apache. There is planty of tutorials but rarely comprehensive how to do something. What i'm wondering is: How do i change which MPM profile to be used my apache? How do i calculate what is the optimum number of clients…
mariotanenbaum
  • 372
  • 3
  • 14
0
votes
1 answer

apache times out with low cpu and memory usage

Since a few days i recognize that my apache2 is going very slow if it has around 90 current request. If i do a loader.io test it timeouts for example after 13 successfull requests: loader.io results http://d.pr/i/S6D1+ What i really wonder about,…
develth
  • 101
  • 4
0
votes
2 answers

Apache 2.4 Prefork vs. PHP-FPM Event shows sig decrease in requests per second

On my Apache 2.4.2 server with a standard mod_php Prefork setup these are my server-status results Current Time: Wednesday, 24-Oct-2012 19:36:24 CDT Restart Time: Wednesday, 24-Oct-2012 01:27:30 CDT Parent Server Config. Generation: 1 Parent Server…
Mark
  • 201
  • 2
  • 7
0
votes
2 answers

Number of workers on the Apache 2.2 status page (Scoreboard)

I installed Apache 2.2 from the Debian repository (6.0/Squeeze). By default, Debian installs the prefork module and comes with the following (default) configuration: StartServers 5 MinSpareServers 5 …
0
votes
2 answers

use prefork or worker in apache configuration?

A have apache server version (Apache/2.2.13) and I want to use MPM module But I do not know what use prefork or worker and what configurations I need ? specification: Ram:4G CPU:Intel(R) Xeon(R) CPU E5405 @ 2.00GHz grep -c processor…
0
votes
0 answers

Apache MPM module not include default httpd.conf

how to install and config Apache MPM module in my default apache instance , if it isn't already installed, when I search my default apache instance there are no modules in the module folder also, is there any step or way install the modules…
0
votes
0 answers

Nginx + PHP-FPM starts crashing after suspicious pentesting request with hexadecimal http verb/method

my server crashes everytime an annoying pentester tries to find security-holes in my application. I see this in the errorlog: 17:48:48 +0200] "\x16\x03\x01\x00M\x01\x00\x00I\x03\x03\xDBJA\xC5\xB17\xF6\xDA…
codeneuss
  • 101
  • 2
0
votes
0 answers

Apache causing massive load spike after reboot

My server is running Ubuntu 18.04.5 LTS, with LAMP stack (PHP 7.4), and apache version 2.4.29 using Prefork MPM. My server has 16 CPUs and 29GB of RAM. This server hosts 258 websites. Whenever I reboot my server, I notice (using top command) that…
Alex Douglas
  • 323
  • 1
  • 4
  • 11
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…