The tag has no usage guidance.

learn more… | top users | synonyms

150
votes
2answers
66k 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 ...
52
votes
5answers
52k 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: ...
13
votes
1answer
6k views

Apache 2.2 mpm_worker: more threads or more processes?

When using the Worker MPM in Apache, you can fiddle with the number of child processes and the number of server threads per child process. What are the advantages and disadvantages of each? Under ...
13
votes
2answers
14k views

What is the meaning of “AH00485: scoreboard is full, not at MaxRequestWorkers”?

My Environment CentOS 6.4 X86_64 Apache 2.4.4 PHP 5.4.16 (FPM) 2 Intel Xeon E5-2620 @ 2.00GHz (8 core, 16 threads in each processor) 48GB RAM registered memory. 3 Hard Disk 15RPM 145GB in RAID0 (by ...
12
votes
4answers
20k 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 ...
7
votes
1answer
1k views

1GB VPS - Apache Worker MPM - FCGID - Max concurrent connections - RAM CAP

I have spent a week or two researching and setting up my server to run Apache with the Worker MPM and FCID. I am trying to optimize it to allow for the most concurrent connections possible. It has ...
6
votes
2answers
2k views

worker MPM and PHP

I read a lot of posts saying I should't use worker MPM with PHP. My question is whether this is still valid or could it be that working with the worker MPM is not recommended. The reason I ask ...
3
votes
1answer
2k views

Apache 2.2 eventually using all memory (worker mpm)

I'm tuning up a Apache 2.2 server (it's shared with MySQL + Courier + Mongo + Postgre). The server is bare metal (no virtualizataion) with 2 quad-core Xeon (total 16 core) and 12GB ECC RAM (upgrading ...
2
votes
2answers
7k 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 ...
2
votes
1answer
1k views

Apache memory spikes, possible causes?

Last Friday (10/7/2011) we started having httpd.worker processes grow from the typical 10-15M memory reserved to 10G+ (gigabytes) in a matter of 1-2 minutes. This obviously brings the server to a ...
2
votes
1answer
7k views

Apache HTTPD configuration for high load [duplicate]

Good day, I want to be able to serve at least 7000 (preferably 10k) concurrent requests from my Apache Httpd. I have configured my httpd.conf with MPM worker with the following setup ServerLimit ...
2
votes
1answer
620 views

How does apache handles connections and requests using worker and prefork mpm modules?

I know that prefork module in apache creates one master process and several child processes to handle connections, my question is: Does each prefork child handles one connection or handles one ...
2
votes
1answer
190 views

apache mpm_worker server failed to respond

I'm trying to update our current Apache 2.4.9 configuration from using prefork to worker mpm. I'm doing some simple load testing using jmeter to compare the performance between the 2. My first test is ...
2
votes
2answers
917 views

Relation between PHP-FPM settings and mpm_worker (Apache)

I've a site running Magento on the following setup: Apache 2.4 with mpm_worker PHP-FPM Total RAM in server: 14GB (10GB avilable to Apache/PHP) Each PHP-FPM process consumes approximately 80MB of ...
2
votes
0answers
180 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 ...
2
votes
0answers
113 views

Apache worker mpm, one process and many threads: understanding performance

Got a mod_perl-written serverside program. Im using shared apache worker mpm memory with one process only, and ~ 60 threads. Im using locks to temporary secure the access to the shared memory, just ...
1
vote
2answers
2k views

Viability of Apache (MPM Worker), FastCGI PHP 4/5.2/5.3, and MySQL 5

My server will be hosting numerous PHP web applications ranging from Joomla, Drupal, and some legacy (read: PHP4) and other custom-built code inherited from clients. This will be a development machine ...
1
vote
2answers
2k views

switching to worker mpm for apache 2 on RHEL 4

I am thinking of switching from the non threaded prefork mpm to the hybrid multi-process multi-threaded worker mpm for apache (2.0.52). It runs on a Intel(R) Xeon(TM) Quad core machine running ...
1
vote
2answers
986 views

Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down

Recently, I have changed from Apache mpm-prefork (PHP module) to mpm-worker (PHP-FPM) due to memory issues. I am running a quite-large PHP application that requires ~20-30M per prefork process. ...
1
vote
3answers
672 views

Does single Apache worker serves only 1 request or more than that?

I am facing a problem in Apache server when the number of users reaches around 250 concurrent. The problem occurred only when the idle worker number was set to 0. So my question is, does a single ...
1
vote
1answer
837 views

Thread Safe php-pecl-memcache and php-pecl-mongo

I'm looking to switch a Fedora server running Apache from prefork to worker. Everything seems to be fine except the php libraries for Mongo and Memcache. Has anyone had any success getting these to ...
1
vote
2answers
564 views

Apache mpm_worker + php : processes not terminating

I'm seeing a weird issue on our web servers where the Apache processes seem to be remaining in limbo with 1 or 2 threads. This is disconcerting for me since I was just thinking I wanted to impose a ...
1
vote
3answers
5k views

What could cause apache2 to not run index.php files through PHP FastCGI handler?

I'm trying to run PHP using FastCGI (mod-fcgid) under apache 2 with the worker MPM. I've used this blog post as a reference. It seems I've got everything working except one thing: When apache serves ...
1
vote
1answer
52 views

apache mpm-worker (Module mpm_worker does not exist!)

I am newbie and I have Ubuntu 12.04 box where I installed Apache using command apt-get install apache2 It installed everything fine. Then I needed mpm-worker so I installed mpm-worker using ...
1
vote
1answer
453 views

which caching system to work with mpm_worker and mod_fcgid?

I was planning to use APC for my Apache Server based on mpm_worker and mod_fcgid but I found out that APC and also xCache doesn't work with mod_fcgid. so what do you suggest?
1
vote
1answer
2k views

Enable PHP-ZTS and MPM Workers in Apache to lower memory footprint, but still keep MySQL?

My question is quite similar to this one in that I'm trying to reduce the memory footprint of my website on a somewhat meager shared hosting solution. I'm going to be playing around with my own ...
1
vote
2answers
840 views

how can be switch from prefork to worker MPM in running apache on solaris10

bash-3.00# /usr/apache2/bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c bash-3.00# bash-3.00# /usr/apache2/bin/httpd -v Server version: Apache/2.0.63 Server built: ...
1
vote
2answers
671 views

Does mod_dav_svn support the Apache mpm-worker module?

Does the subversion mod_dav_svn support Apache's MPM-Worker thread configuration? I'm finding very little documentation so far on this, and I'm looking for better ways to make use of my subversion ...
1
vote
2answers
2k views

How do I configure apache2/mpm-worker + fcgid?

Is there any good tutos there? Currently I'm using apache2/mod_php which is not efficient.
1
vote
2answers
3k views

What values to set for Apache 2 worker server pool management?

I recently switched from Apache 2.2 prefork to Apache 2.2 worker, but I have no idea what would be a great MPM config to start with. On prefork, I used : MaxClients 256 StartServers 190 ...
1
vote
0answers
43 views

Is Apache Prefork working fast then Worker MPM to serve static content?

I have found so many stuff related to Apache worker MPM is working fast than Prefork MPM, i know nginx is another option but i want to stick on apache as for use of htaccess and some other features, ...
1
vote
0answers
68 views

Apache configured as mpm_worker - why it still shows as mpm_prefork?

I believe that I properly configured Apache MPM as worker under Ubuntu 13.10, including PHP-FPM and FCGI, and disabled mod_php. When I run top I can clearly see multiple Apache (~2-3 MB) and php (~ ...
1
vote
0answers
126 views

Configuring mod_wsgi daemon mode processes and threads

I am planning to use mpm_worker or mpm_event with daemon mode of mod_wsgi. How to configure processes and threads of WSGIDaemonProcess directive for the optimal performance of apache 2.4.9
1
vote
1answer
349 views

Reducing memory for worker MPM in Apache

I've moved from the prefork MPM to the worker MPM due to a process limit I was hitting on my VPS. However, memory usage increased after switching over (which is odd since the worker MPM is supposed ...
1
vote
1answer
528 views

Configuring Apache2/mpm-worker not to eat up all the server's RAM

Th server is running around 40 WordPress sites. Originally I'd set the server up using mod_php and mpm-prefork back when the server had 2GB of memory, and it was running comfortably well. Recently, ...
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) ...
0
votes
1answer
1k views

List of PHP modules that are thread safe

I'd like to try running Apache in a threaded MPM with mod_php. Does anyone have a list of PHP modules that are thread safe so I can tell if its going to be safe to do or not?
0
votes
1answer
884 views

Problems setting up worker MPM

Can't get MPM Worker to work.. I've installed the php-zts package, uncommented #HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd and restarted the httpd service. the httpd printout: [root@web06 ...
0
votes
1answer
3k views

apache2: mpm configuration

After several nagios messages like "CRITICAL - load average: 135.12, 92.20, 44.09" and oom-killer, I checked the configuration again and again, with different settings, but no success. The only ...
0
votes
1answer
4k views

Error enabling MPM Worker

I am struggling to enable MPM Worker I uncommented #HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd and restarted Apache but I am receiving these error: Starting httpd: httpd.worker: Syntax ...
0
votes
2answers
4k views

How to install MPM worker on CentOS 5.3?

I use this command: yum install apache2-mpm-worker with no success. Searching on google also not found Thanks.
0
votes
1answer
76 views

Are the php-zts extensions needed when the mpm is event?

my php is correctly installed and working, but at Apache startup I have all the current loaded extensions with warning messages like... [23-Dec-2015 21:47:45 UTC] PHP Warning: PHP Startup: bz2: ...
0
votes
2answers
822 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 ...
0
votes
1answer
68 views

Apache worker mpm changes having no impact

I am trying to load test my apache server with jmeter (10 hosts, 10 threads) with various mpm config. I tried various settings from maxclient 150 to 3000, but there is negligible difference in the ...
0
votes
1answer
934 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 ...
0
votes
1answer
6k views

Connection reset by peer: mod_fcgid: error reading data from FastCGI server Issues

Help is greatly needed for our server. We are experiencing random "Connection reset by peer: mod_fcgid: error reading data from FastCGI server" errors which cause a 500 internal server error. If the ...
0
votes
1answer
3k views

Apache2 worker mpm too many processes

I've got Apache installed with the worker mpm which seems to have too many processes active in spite of the configurations in place. I'll detail the configs below : StartServers 2 MinSpareThreads 10 ...
0
votes
1answer
29 views

Configuring apache2-mpm-worker with php5

I have a ubuntu 14.04.4 server box and I have installed apache2 and php5 packages but after enabling mpm_worker and restart apache I got following error " Apache is running a threaded MPM, but your ...
0
votes
0answers
153 views

The apache2handler SAPI is not supported by pthreads

It has been weeks now that I cannot install pthreads. I am going to list the error logs then I will list my configuration options. These are the errors I get:(Apache Error Log) The apache2handler ...
0
votes
0answers
31 views

apache (httpd) problems with mpm_worker

UPDATE: Seems that the mysql deamon is the bottleneck!! Working on it - will let you know if this fixed my problems (and not switching to another mpm). UPDATE2: that was not the reason for my problem ...