Apache configuration for a high load

Apache configuration for a high load

am 05.09.2009 08:35:57 von luis medrano

--000e0cd4b10483c4030472ced4ef
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I trying to configure apache to have a hight load using PHP/MySql
applications. This is the current configuration:


Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
#KeepAliveTimeout 300


StartServers 15
MinSpareServers 10
MaxSpareServers 40
ServerLimit 600
MaxClients 600
MaxRequestsPerChild 100



StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0


This a single server running mysql and apache. I need to be able to server
minimum of 1000 hits per min. Any of you can help me to optimize my
configuration?


I'll really appreciate all your help.


thanks

--000e0cd4b10483c4030472ced4ef
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I trying to configure apache to have a hight load using PHP/MySq=
l applications.=A0 This is the current configuration:


Timeout 30=
0
KeepAlive Off
MaxKeepAliveRequests 100
#KeepAliveTimeout 300




<IfModule prefork.c>
StartServers       15
MinS=
pareServers  =A0 10
MaxSpareServers   40
ServerLimit  =A0=
   600
MaxClients       600
MaxRequestsPerChild=A0 10=
0
</IfModule>

<IfModule worker.c>


StartServers         2
MaxClients      =A0=
  =A0 150
MinSpareThreads     25
MaxSpareThreads  =A0=
=A0 75
ThreadsPerChild     25
MaxRequestsPerChild=A0 0
<=
;/IfModule>

This
a single server running mysql and apache. I need to be able to server
minimum of 1000 hits per min. Any of you can help me to optimize my
configuration?



I'll really appreciate all your help.


thanks

--000e0cd4b10483c4030472ced4ef--

Re: Apache configuration for a high load

am 06.09.2009 04:38:25 von Nicholas Sherlock

luis medrano wrote:
> I trying to configure apache to have a hight load using PHP/MySql
> applications. This is the current configuration:
>
> [...]
>
> This a single server running mysql and apache. I need to be able to
> server minimum of 1000 hits per min. Any of you can help me to optimize
> my configuration?

1000 hits per minute is not all that much, but your hardware plays a big
role in choosing a good configuration. How much memory do you have
available? What CPU are you running on?


Cheers,
Nicholas Sherlock


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Apache configuration for a high load

am 23.09.2009 07:45:39 von Manoj Samtani

--_6be270d1-3d5f-4bfe-a12a-b216fa71d59f_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


I think you must use mod_expires (caching)=2C mod_deflate (compression) and=
php-eaccelerator so that......apache process will be more free and takes l=
ess memory=2C which helps in increasing the number of connections.......


:)



Date: Fri=2C 4 Sep 2009 23:35:57 -0700
From: lmzaldivar@gmail.com
To: users@httpd.apache.org
Subject: [users@httpd] Apache configuration for a high load

Hi=2C

I trying to configure apache to have a hight load using PHP/MySql applicati=
ons. This is the current configuration:


Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
#KeepAliveTimeout 300





StartServers 15
MinSpareServers 10
MaxSpareServers 40
ServerLimit 600
MaxClients 600
MaxRequestsPerChild 100





StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0


This
a single server running mysql and apache. I need to be able to server
minimum of 1000 hits per min. Any of you can help me to optimize my
configuration?



I'll really appreciate all your help.


thanks =0A=
____________________________________________________________ _____=0A=
Live Search extreme As India feels the heat of poll season=2C get all the i=
nfo you need on the MSN News Aggregator=0A=
http://news.in.msn.com/National/indiaelections2009/aggregato r/default.aspx=

--_6be270d1-3d5f-4bfe-a12a-b216fa71d59f_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






I think you must use mod_expires (caching)=2C mod_deflate (compression) and=
php-eaccelerator so that......apache process will be more free and takes l=
ess memory=2C which helps in increasing the number of connections....... >

:)




Date: Fri=2C 4 Sep 2009 =
23:35:57 -0700
From: lmzaldivar@gmail.com
To: users@httpd.apache.org<=
br>Subject: [users@httpd] Apache configuration for a high load

Hi=2C=


I trying to configure apache to have a hight load using PHP/MySql a=
pplications. =3B This is the current configuration:


Timeout =
300
KeepAlive Off
MaxKeepAliveRequests 100
#KeepAliveTimeout 300 r>



<=3BIfModule prefork.c>=3B
StartServers =3B =3B =3B&=
nbsp=3B =3B =3B 15
MinSpareServers =3B =3B =3B 10 >MaxSpareServers =3B =3B 40
ServerLimit =3B =3B =3B&=
nbsp=3B =3B 600
MaxClients =3B =3B =3B =3B =3B&n=
bsp=3B 600
MaxRequestsPerChild =3B 100
<=3B/IfModule>=3B
<=
br><=3BIfModule worker.c>=3B


StartServers =3B =3B =3B =3B =3B =3B  =3B =
=3B 2
MaxClients =3B =3B =3B =3B =3B =3B&n bsp=3B=
 =3B =3B =3B 150
MinSpareThreads =3B =3B =3B&nbs=
p=3B 25
MaxSpareThreads =3B =3B =3B =3B 75
ThreadsPer=
Child =3B =3B =3B =3B 25
MaxRequestsPerChild =3B 0 r><=3B/IfModule>=3B

This
a single server running mysql and apache. I need to be able to server
minimum of 1000 hits per min. Any of you can help me to optimize my
configuration?



I'll really appreciate all your help.


thanks =


Get easy photo sharing with Windows LiveT Photos. tp://www.microsoft.com/india/windows/windowslive/photos.aspx ' target=3D'_ne=
w'>Drag n' drop

=

--_6be270d1-3d5f-4bfe-a12a-b216fa71d59f_--