0
votes
0answers
20 views

how to make Apache 2.4 work in single worker mode by default? [migrated]

I'm using Apache 2.4 on my server. My scripts are using a lot of system() commands and they require to work in one process mode. When I start apache using the command: apachetctl -X (which ...
0
votes
0answers
43 views

SLES 11 SP3 Apache mod_proxy_ajp issue with ProxyErrorOverride in worker MPM

In SLES 11 SP3, the "ProxyErrorOverride" apache directive is not working for MPM Worker with requests proxied by AJP: When an error appear in the server-side, Apache doesn't show the error page ...
0
votes
1answer
212 views

What happens when mpm_prefork_module and mpm_worker_module are both used?

I came across this Apache configuration: <IfModule mpm_prefork_module> StartServers 16 MinSpareServers 16 MaxSpareServers 32 ServerLimit 400 ...
2
votes
0answers
70 views

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 ...
0
votes
1answer
416 views

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 ...
78
votes
2answers
25k views

How do I select which Apache MPM to use?

I'm a little confused between the different MPMs offered by Apache - 'worker', 'event', 'prefork', etc. What are the major differences between them, and how can I decide which one will be best for a ...
0
votes
0answers
151 views

Dedicated Apache2 Server - What ideal MPM settings?

I've seen various recommendations based on the footprint of Apache2 (MB it consumes in RAM). But I was wondering, can I just fire up the maximum amount of servers and just let them sit there waiting ...
7
votes
3answers
9k views

How can I change from prefork to worker MPM on CentOS 64bit?

I'm running CentOS 64 bit, and jsut found out I am running prefork MPM on my dual quad xeon. I was told worker will give me lower memory usage, and higher performance, since I run a very high traffic ...
1
vote
2answers
4k views

switching to worker mpm for apache 2 on ubuntu

How to switch from prefork mpm to worker mpm on ubuntu server? how to roll back if there is any problem? root@myserver:~# apache2ctl -l Compiled in modules: core.c mod_log_config.c mod_logio.c ...
0
votes
2answers
2k views

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) ...
45
votes
5answers
46k views

Which to install: Apache Worker or Prefork? What are the (dis-)advantages of each?

Based on the descriptions for both the Prefork and Worker MPM, it seems the prefork type is somewhat outdated, but I can't really find a proper comparison of the two types. What i'd like to know: ...