Questions tagged [mpm-worker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
ShyM's user avatar
  • 11
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?
Zim3r's user avatar
  • 1,544
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?
maazza's user avatar
  • 254
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 ...
Kuf's user avatar
  • 449
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 ...
Kuf's user avatar
  • 449
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 ...
ledy's user avatar
  • 565
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 ...
Tiffany Walker's user avatar
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, ...
Mortanis's user avatar
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 ...
daveycroqet's user avatar
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 ...
Maca's user avatar
  • 1,063
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 ...
Rich Taylor's user avatar
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 ...
mopoke's user avatar
  • 51
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 ...
Andrew Fashion's user avatar
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 ...
usef_ksa's user avatar
  • 845
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) ...
jalal allam's user avatar
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: ...
pankaj's user avatar
  • 21
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 ...
Scott Markwell's user avatar
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 ...
jonathanserafini's user avatar
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....
Shauno's user avatar
  • 165
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?
chizou's user avatar
  • 477
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 ...
jonathanserafini's user avatar
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 ...
sh-beta's user avatar
  • 6,858
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 ...
Adrian's user avatar
  • 113
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.
apache's user avatar
  • 3,347
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.
user avatar
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 ...
Julien's user avatar
  • 510
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: ...
Aron Rotteveel's user avatar
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 ...
letronje's user avatar
  • 429
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 ...
Tobi's user avatar
  • 163

1
2