hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : settings in http.conf
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

settings in http.conf

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-26-2004, 10:26 PM
Digger Digger is offline
Junior Guru Wannabe
 
Join Date: Aug 2001
Posts: 99

settings in http.conf


hello
i am getting around 30000 hits on my server/day and somehow i feel that many of my visitors arent able to view my site at all times.
my stats have fallen.
i have been told to check these settings in httpd.conf
can you tell me what settings should i keep to accomodate max traffic on my server and at the same time keep my server stable/.


#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 180

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15


thanks
sam

Reply With Quote


Sponsored Links
  #2  
Old 05-27-2004, 12:01 AM
pizzaboy_au pizzaboy_au is offline
Web Hosting Evangelist
 
Join Date: Dec 2003
Location: Brisbane, Queensland, Australia
Posts: 547
I was just wondering what are the specs for your server? Example Ram, CPU,

Reply With Quote
  #3  
Old 05-27-2004, 05:08 AM
Digger Digger is offline
Junior Guru Wannabe
 
Join Date: Aug 2001
Posts: 99
its a dual 2.8 GHz xeon
1GB ecc ram
can you help?

Reply With Quote
Sponsored Links
  #4  
Old 05-27-2004, 05:21 AM
diginode diginode is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 72
You may want to turn KeepAlives on as it saves a lot of TCP overhead by reusing connections. Also, check if your Apache is forking enough handlers to deal with the requests and set a limit on the maximum number of connections. The firewall may also be a bottleneck if you have conntrack on. You need to increase the connection tracking limit (if you are running Linux).

__________________
::. www.diginode.net : Dedicated Servers : Virtual Machine Servers .::
::. Industry-Leading Remote Server Management .::
::. Automatic OS Re-image : Instant Server Reboot : Remote Serial Console .::
::. Over 20 OSes to choose from : Install a new OS every day .::


Reply With Quote
  #5  
Old 05-27-2004, 06:13 AM
hiryuu hiryuu is offline
Web Hosting Master
 
Join Date: Jan 2003
Posts: 1,715
Yes, but KeepAlive also ties up an apache until the client times out. Even at a few seconds, that can tie up a lot of apaches (and the associated memory) doing nothing productive.

30,000 really isn't that much, unless it's a lot of large stuff. See what your MaxClients is set for. It shouldn't be above 1 per 2MB of RAM, but you should only need 150 or 200 with that traffic level.

__________________
Game Servers are the next hot market!
Slim margins, heavy support, fickle customers, and moronic suppliers!
Start your own today!

Reply With Quote
  #6  
Old 05-27-2004, 06:40 AM
PhilG PhilG is offline
Web Hosting Evangelist
 
Join Date: Feb 2003
Posts: 543
Might try tweaking these settings:

MinSpareServers 5
MaxSpareServers 10
MaxClients 150

Also you should look at a stats package to see if your Too Many Connections error is shown or create a custom error page for it which logs the accesses. If you find that this page is being hit lots then up the max clients.

__________________
Off Topic Web Forum - A forum for talking about anything!!
N.Z. Webmaster Community - Are you from New Zealand? Well signup to our forum!!!!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Aussie Web Host DWHS Rebrands to WebHost.pro, Adds Plans and Features Web Hosting News 2013-02-14 14:41:25
Windows Azure Processes 4.7 Billion Authentication Requests Weekly Web Hosting News 2012-11-27 17:21:03
Cloud Software Provider GreenButton Launches Cloud Fabric Server Platform Web Hosting News 2012-11-06 17:11:09
Microsoft Planning Online Windows Azure Conf, Targeting Cloud Developers Web Hosting News 2012-11-05 16:29:26
Web Optimization Provider Yottaa Launches Version 2.0, Adds Patented QuickTune Technology Web Hosting News 2012-09-17 15:18:17


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?