Best Config's for my Apache server ?

Posted on 2008-11-09
Last Modified: 2013-12-16
i have a server ( Quad Processor , Quad Core + 16 Gigs of RAM + SCSI HD )
running huge vbulletin forums about 600 - 800 unique visitor at the same moment

im using Apache with MPM Worker Module
i just want to know what is the best Configs for my server

currently these are the Configurations im using

<IfModule worker.c>
    ServerLimit 2000
    StartServers 3
    MaxClients 1500
    ThreadsPerChild 50
    MaxRequestsPerChild 500

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
UseCanonicalName Off
AccessFileName .htaccess
DefaultType text/plain
HostnameLookups Off
ErrorLog logs/error_log
ServerTokens Full

and sometimes i see the load is very high and some IP's has more than 2000+ Req to the server

any idea ?
Question by:Amman-DJ
    LVL 19

    Expert Comment

    LVL 19

    Expert Comment

    Also, did you compile from source or did you just use the binary package?
    You may be able to tweak the performance by using the source.

    Author Comment

    i compiled it using control panel WHM /easyapache
    LVL 9

    Accepted Solution

    regarding the configs you might find this resource very helpful to expain each directive and what it means

    for the 2000+ requests from one ip it could be one of the follwoing reasons:
    - someone is scanning your site for vulnerabilities
    - spammers are hunting for emails.
    - or someone is trying to take your server down.
    - a search engine is crawling your site.

    to block them automatically use mod_evasive module for apache which will block that IP when a certain number of requests per second (which you have to decide) but you need to take care and don't set that number to a low value.
    also check those IPs and see if they belong to any of the search engines and whitelist them.

    hope this helps


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now