Optimizing apache 2

Optimizing apache 2

am 13.01.2010 15:36:40 von Nilesh Govindrajan

Hi,

I'm on a VPS - Fedora 12, 500 MB RAM.

It is running PHP 5.3.1 (via mod_fastcgi), Apache 2.2.14, MySQL 5.4.1

I'd like to know some tweaks in the configuration of apache so that the
performance is optimum.

I'm using worker MPM and this is the configuration of the MPM-

StartServers 8
MaxClients 512
MinSpareThreads 5
MaxSpareThreads 10
ThreadsPerChild 64
MaxRequestsPerChild 0

Can apache handle the above ? Or I can increase it further ?

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

------------------------------------------------------------ ---------
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: Optimizing apache 2

am 13.01.2010 15:55:58 von Tom Evans

On Wed, Jan 13, 2010 at 2:36 PM, Nilesh Govindarajan wro=
te:
> Hi,
>
> I'm on a VPS - Fedora 12, 500 MB RAM.
>
> It is running PHP 5.3.1 (via mod_fastcgi), Apache 2.2.14, MySQL 5.4.1
>
> I'd like to know some tweaks in the configuration of apache so that the
> performance is optimum.
>
> I'm using worker MPM and this is the configuration of the MPM-
>
> StartServers         8
> MaxClients          512
> MinSpareThreads      5
> MaxSpareThreads      10
> ThreadsPerChild      64
> MaxRequestsPerChild   0
>
> Can apache handle the above ? Or I can increase it further ?
>

How long is a piece of string? The only way to establish whether that
is correct is to add sample data to your applications, and load test
it.

Cheers

Tom

------------------------------------------------------------ ---------
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