Questions tagged [mpm-worker]
The mpm-worker tag has no usage guidance.
79
questions
1
vote
1
answer
592
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
1
answer
551
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?
0
votes
1
answer
2k
views
PHP Thread Safe end 2012?
Considering this question and answer
List of PHP modules that are thread safe
and
Is PHP Thread Safe
My question is, is PHP thread safe in 2012?
6
votes
2
answers
4k
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 ...
0
votes
1
answer
1k
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
1
answer
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 ...
300
votes
4
answers
198k
views
How do I select which Apache MPM to use?
This is a Canonical Question about selecting the right Apache httpd MPM.
I'm a little confused between the different MPMs offered by Apache - 'worker', 'event', 'prefork', etc.
What are the major ...
1
vote
1
answer
809
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, ...
1
vote
1
answer
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 ...
3
votes
1
answer
7k
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 ...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
1k
views
Apache 2.2, worker mpm, mod_fcgid and PHP: Can't apply process slot
We're having an issue on an apache server where every 15 to 20 minutes it stops serving PHP requests entirely. On occasions it will return a 503 error, other times it will recover enough to serve the ...
20
votes
4
answers
61k
views
How can I change from prefork to worker MPM on CentOS 64bit?
I'm running CentOS 64 bit, and just 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 ...
4
votes
3
answers
16k
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
2
answers
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) ...
1
vote
2
answers
1k
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
2
answers
1k
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
2
answers
1k
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 ...
0
votes
1
answer
909
views
site timing out when under heavy load
My client sends out eblasts at 8am monday/wed/friday. Between 8:15-8:45 the site becomes extremely slow and many users sessions timeout.
My setup:
Mediatemple VE 2gb dedicated ram (3 burst)
Ubuntu 9....
0
votes
1
answer
2k
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?
1
vote
1
answer
4k
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
...
19
votes
1
answer
10k
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 ...
1
vote
2
answers
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
2
answers
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.
0
votes
2
answers
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.
1
vote
2
answers
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
...
56
votes
5
answers
59k
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:
...
1
vote
2
answers
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
3
answers
6k
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 ...