You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nilesh Govindarajan <li...@itech7.com> on 2010/01/13 15:36:40 UTC

[users@httpd] Optimizing apache 2

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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] Optimizing apache 2

Posted by Tom Evans <te...@googlemail.com>.
On Wed, Jan 13, 2010 at 2:36 PM, Nilesh Govindarajan <li...@itech7.com> wrote:
> 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 <URL:http://httpd.apache.org/userslist.html> 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