JBOSS Admin

Wednesday, March 17, 2010

Apache tuning

Prefork tuning parameters:

Say,
Resident Memory Size = 8 MB (determined process memory when load testing)
Available Memory to use by Apache = 6 GB = 6114 B

Calculate:
MaxClients = 6114 MB / 8 MB = 768
ServerLimit = MaxClients

ServerLimit 768
StartServers 512
MinSpareServers 50
MaxSpareServers 100
MaxClients 768
MaxRequestsPerChild 10000

KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 100
Timeout 20

Adjust slow ramp up time on LTM to avoid flooding on webservers


Include http-default.conf
UseCanonicalName On

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{X-Forwarded-For}i\"" custom-interval

posted by Jayanthi Krishnamurthy @ 5:06 PM   0 Comments

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

Newer›  ‹Older

About Me

Name: Jayanthi Krishnamurthy

View my complete profile

Posts

  • Apache tuning

Older Posts Newer Posts

Archives

Subscribe to
Posts [Atom]