• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Best Config's for my Apache server ?

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 ?
  • 2
1 Solution
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.
Amman-DJAuthor Commented:
i compiled it using control panel WHM /easyapache
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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now