Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    15

    Default Optimal apache 2 config High traffic site.

    Hello everyone,

    Currently we have a very high traffic website,

    We are running apache 2

    Our server specs are

    Dual quad core zeon 2.0
    8 gigs or ram

    500 gig hard drive

    Currently we use around 700 gigs of bandwith out daily
    and around 50 gigs in daily

    Most of the time our site runs pretty smoothly but at times we have CPU spikes and the site becomes unresponsive

    Here is our current worker settings from httpd.conf
    <IfModule worker.c>
    StartServers 2
    MaxClients 300
    MinSpareThreads 50
    MaxSpareThreads 100
    ThreadsPerChild 64
    MaxRequestsPerChild 4000
    </IfModule>

    What if anything can we go from here to get more performance from apache?

  2. #2
    Member webofunni's Avatar
    Join Date
    May 2007
    Posts
    27

    Default

    http://bobcares.com/article8.html

    Hope this will help
    Regards,
    Unni

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    What is your load looking like when things are running smoothly?

    With high traffic sites there are many things that could cause your spikes and load issues such as email, log parsing, mysql or other things pop up at times. I doubt apache has a performance problem but there is no way to tell for sure without more information. I also have many high traffic servers pumping out 4-6 TB monthly as well.

    Also try increasing your max clients to 500, 300 is a bit low for a high traffic box and check unique connections for any aggressive users.

    overall connections
    netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | wc -l

    overall per IP address
    netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n


    jay
    Last edited by jayh38; 01-14-2008 at 10:18 AM.

Similar Threads & Tags
Similar threads

  1. high load problem with high traffic on apache at nights
    By LAZer in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-04-2011, 08:12 PM
  2. High Traffic Server
    By emilacosta in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-24-2008, 07:33 PM
  3. Optimize High-Traffic Servers
    By anamip in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-15-2008, 01:12 AM
  4. Awstats runs out of memory with high traffic site
    By fikse in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-26-2006, 06:15 PM
  5. OPtimal Apache Build?
    By Miso in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-21-2003, 11:40 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube