The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
45 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
2
votes
1answer
44 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 ...
0
votes
1answer
107 views

Apache and mod_wsgi, worker process stuck to W state, request never dies. How to diagnose?

I am running Apache 2.2 with mod_wsgi, Python 2.7 and mpm_worker. Occassionally, one of the worker processes gets stuck and all of it threads stop in writing state (as demostrated in the screenshot ...
0
votes
0answers
86 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 ...
2
votes
2answers
345 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
1answer
178 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 ...
0
votes
0answers
38 views

Debian 7, Apache2, PHP w/ FCID - what am I doing wrong?

A lot of the documentation and search results came from those who have multiple users/sites and not sure if my situation applies to theirs or if it will open it up more than needed. My situation: ...
0
votes
1answer
154 views

Apache graceful restart, reduces the max process count

I have configured apache with "Worker" MPM module. See the worker module settings: <IfModule mpm_worker_module> StartServers 4 ServerLimit 20 MaxClients ...
0
votes
1answer
417 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
91 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
55 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 ...
1
vote
2answers
510 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. ...
2
votes
0answers
85 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 ...
6
votes
1answer
2k views

What is the means of: AH00485: scoreboard is full, not at MaxRequestWorkers?

my enviroment: 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 ...
1
vote
3answers
331 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 ...
0
votes
1answer
503 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 ...
4
votes
1answer
694 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 ...
2
votes
1answer
3k 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 ...
0
votes
1answer
482 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 ...
0
votes
1answer
3k 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 ...
1
vote
1answer
245 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
358 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
1answer
1k 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
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 ...
0
votes
1answer
535 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
2k 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 ...
87
votes
2answers
29k 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 ...
1
vote
1answer
438 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
1answer
1k 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 ...
0
votes
1answer
2k 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 ...
3
votes
1answer
643 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
1answer
809 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 ...
8
votes
3answers
10k 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
5k 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) ...
1
vote
2answers
644 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
489 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
471 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
1answer
715 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 ...
0
votes
1answer
833 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
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 ...
14
votes
1answer
4k 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
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

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
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.
1
vote
2answers
2k 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 ...
45
votes
5answers
47k 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
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
3answers
4k 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 ...