RE: Apache Worker MPM: Optimizing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Leslie,
Have you read the documentation on these settings?, it is fairly
helpfull in getting a basic idea of what to tune.

Other than that it really depends on what your apache server is serving.
Is it static pages, does it connect to tomcat, what type of connectors
does it use, php, cgi etc. 

As a starting point I would recommend graphing your server-status page.
You can find a working script on
http://www.apachesecurity.net/tools/index.html

If you are using cacti then you will find similar graphs as above if you
google a bit. I dont have the url anymore unfortunately.


I also use the following:
cat *.com/access_log access_log *.il/access_log | grep '17\/Oct' | awk
'{print $4}' |cut -c 14-21 | sort | uniq -c > traffic_analysis

to create data that I analyze in excel or your favourite graphing tool.

Basically you first need to know what and how many is passing through
your site before you start tuning.

Regards

> -----Original Message-----
> From: Leslie Herps [mailto:leslie.herps@xxxxxxxxxxx] 
> Sent: 19 October 2008 02:00
> To: users@xxxxxxxxxxxxxxxx
> Subject:  Apache Worker MPM: Optimizing
> 
> Hello,
> 
> I switched from a Apach 1.3 to an Apache 2.0 config. Those 
> were prefork.
> Now, I switched to a 2.2 Worker MPM.
> Seems to work GREAT!
> 
> Now, I use this on different servers...
> 
> Back in the 1.3 days, someone gave me a simple formula for 
> the MaxClients 
> and Threads, etc... Those numbers were related to the amount of RAM a 
> machine had...
> 
> How does this work with the Worker MPM?
> Can anyone advise me on the suggested/optimized settings here?
> I couldn't really find any info on this!
> 
> Thanks!
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux