Displaying 11 results from an estimated 11 matches for "minspareserv".
2015 Nov 03
1
prefork vs worker mpm in apache
...etch worker model instead of
worker, the php info page was showing that thread safety was disabled.
But after that change apache processes spiked from around 11 processes per
machine to well over 250 processes at any given time.
These are the tuning settings we have in apache:
StartServers 10
#MinSpareServers 10
#MaxSpareServers 25
ServerLimit 250
MaxRequestWorkers 250
MaxConnectionsPerChild 1000
KeepAlive On
KeepAliveTimeout 30
EnableSendfile Off
So I was just wondering how this change could've cause this problem of
having the number of apache processes spike. And if there are any other...
2009 Jan 20
6
Apache Server Tuning for Performance
...64 GNU/Linux
Server Hardware :
MAIN MEMORY
(i) Memory Size 4 GB Dual-Core Intel 5160 processors.
httpd.conf
Timeout 300
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 150
## Server-Pool Size Regulation (MPM specific)
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild:...
2011 Feb 22
6
how to optimize CentOS XEN dom0?
Hi,
I have a problematic CentOS XEN server and hope someone could point me
in the right direction to optimize it a bit.
The server runs on a Core2Quad 9300, with 8GB RAM (max motherboard can
take, 1U chassis) on an Intel motherboard with a 1TB SATA HDD.
dom0 is set to 512MB limit with a few small XEM VM''s running:
root@zaxen01:[~]$ xm list
Name ID
2011 Dec 02
12
puppet master under passenger locks up completely
I came in this morning to find all the servers all locked up solid:
# passenger-status
----------- General information -----------
max = 20
count = 20
active = 20
inactive = 0
Waiting on global queue: 236
----------- Domains -----------
/etc/puppet/rack:
PID: 2720 Sessions: 1 Processed: 939 Uptime: 9h 22m 18s
PID: 1615 Sessions: 1 Processed: 947 Uptime: 9h 23m
2015 May 07
2
Apache 2.2 itk - 404 not found
...at srv01 ~]# cat /etc/httpd/conf/httpd.conf |grep -v ^# |grep -v ^$
ServerTokens Prod
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
<IfModule worker.c>
StartServers 4
MaxClients 300
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25...
2015 May 07
3
Apache 2.2 itk - 404 not found
...kens Prod
>> ServerRoot "/etc/httpd"
>> PidFile run/httpd.pid
>> Timeout 60
>> KeepAlive On
>> MaxKeepAliveRequests 100
>> KeepAliveTimeout 15
>> <IfModule prefork.c>
>> StartServers 8
>> MinSpareServers 5
>> MaxSpareServers 20
>> ServerLimit 256
>> MaxClients 256
>> MaxRequestsPerChild 4000
>> </IfModule>
>> <IfModule worker.c>
>> StartServers 4
>> MaxClients 300
>>...
2015 May 07
0
Apache 2.2 itk - 404 not found
...conf |grep -v ^# |grep -v ^$
> ServerTokens Prod
> ServerRoot "/etc/httpd"
> PidFile run/httpd.pid
> Timeout 60
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 15
> <IfModule prefork.c>
> StartServers 8
> MinSpareServers 5
> MaxSpareServers 20
> ServerLimit 256
> MaxClients 256
> MaxRequestsPerChild 4000
> </IfModule>
> <IfModule worker.c>
> StartServers 4
> MaxClients 300
> MinSpareThreads 25
> MaxSpareT...
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production
environment. The setup is debian(unstable)/apache2/fastcgi/mysql
Rails 0.10 (upgrading to 0.10.1 as we speak)
When I first start up apache the machine grinds to a crawl starting up
the dispatch.cfi processes. It''s a VPS with 256M of ram, but still
(in addition to user time) it''s spending 30% of time in system
2006 Jul 28
0
Apache/Mongrel Deployment Errors
...rformance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from
the
# same client on the same connection.
#
KeepAliveTimeout 15
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept
spare
# MaxSpareServers: maximum number of server processes which are kept
spare
# ServerLimit: maximum value for MaxClients for the lifetime of the
server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChil...
2006 Jan 05
2
Apache issue
...high, for maximum performance.
#
MaxKeepAliveRequests 500
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild:...
2012 Sep 29
2
Doubled up RAM to 32 GB - now how to speed up a LAPP server?
.../etc/php.ini
memory_limit = 300M
[PostgresSQL]
pgsql.allow_persistent = Off # because I use pgbouncer
/etc/pgbouncer.ini (local connections only too)
max_client_conn = 600
default_pool_size = 80
/etc/httpd/conf/httpd.conf (didn't modify yet):
<IfModule prefork.c>
StartServers 10
MinSpareServers 8
MaxSpareServers 30
ServerLimit 512
MaxClients 512
MaxRequestsPerChild 4000
</IfModule>
Any suggestions please?
I was actually hoping that Linux would use the additional
memory for caching disks, but this doesn't seem to happen?
Thank you
Alex
P.S. Below my dmesg...