httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Gerhardus.Geldenh...@gta-travel.com>
Subject RE: [users@httpd] Apache Worker MPM: Optimizing
Date Mon, 20 Oct 2008 11:41:56 GMT
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@novacle.com] 
> Sent: 19 October 2008 02:00
> To: users@httpd.apache.org
> Subject: [users@httpd] 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

______________________________________________________________________
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message