Hi,
My webserver has 16GB of RAM and CentOS 5.5, Apache 2.2.3, It's shared webserver used of for webhosting.
Our production uses 10 web servers behind a load balancer. Every one hour a logrotate runs and copy truncates the log file. During that time, we find number of apache open process decreases and number of process waiting for connection increases. Could I know how all these 3 parameters are related?
Please help with some ideas about this Apache server crash:
Here is my MPM config and errors
<IfModule prefork.c>
StartServers 5
MinSpareServers 30
MaxSpareServers 40
ServerLimit 950
MaxClients 950
MaxRequestsPerChild 2000
</IfModule>
[Sun Sep 09 03:08:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.16 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resum
Conf.: Gentoo 2006 64b; Apache 2.2; Myqsl 5.0; PHP 5.2; 5.5 Go of RAM available
Nothing's crashing but the website installed is slow. The number of requests/second is low too, around 7/s.
How to use the 5.5 Go of RAM available to make the website faster (with Apache or MySQL or PHP)?
I've scoured the web but I can't find out what MaxSpareServers are in Apache MPM prefork..
The MaxSpareServers directive sets the desired maximum number of idle child server processes. An idle process is one which is not handling a request.
I'm newbie on VPS configuration.
I am trying to load test an amazon centos instance sitting behind the amazon loadbalancer.
The application is written on php and uses the elastic cache and media is stored in s3 bucket.
When the server gets more than 1000 concurrent requests its starts giving "Apache interanl dummy connection" and the pages dont load when tried externally, even though the load uptime metric does not go beyond 1.
Hi,
We recently tried switching one of our servers over from the default MPM prefork to worker. The savings in memory were really surprising but we have no experience of tuning with worker. Can anyone give us a rough idea of any changes we could make to the default worker setting? This server has 8 cores and 12GB ram also running varnish.
I'm encountering issues on a dedicated Ubuntu 12.04 LTS (Apache/2.2.22), PHP 5.3 with APC.
Every few hours I see this happen:
[Fri Aug 17 15:36:51 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
This causes the server to drop/refuse all connections.