hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Suggestion on Server Settings
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

Suggestion on Server Settings

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-09-2006, 06:44 PM
water12345 water12345 is offline
New Member
 
Join Date: Jan 2006
Posts: 3
Question

Suggestion on Server Settings


Good day everyone,

We run a local TV station in Gutt/Sweden and host our archive on the net for people to download. Each show is about an hour and the files are 300MB or less (wmv format). Here are the server specifications:

Line: 100mbps (Unmetered)
Dual Xeon 3.0GHz
1 GB of Ram
CentOs (uname -a: 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/Linux)

Here are some of the settings in httpd.conf:

Timeout 30
KeepAlive Off
MaxKeepAliveRequests 0
KeepAliveTimeout 5
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 550
MaxRequestsPerChild 0

As it can be seen, max client is set too 550 (also set to 550 in httpd.h -> hard_server_limit ), however, once the number of connections exceed ~250 or so, it takes a long time for a new download to start. For example, suppose there are 250 ESTABLISHED connections on port 80, and I try to download one of the shows myself, I will have to wait for at least 5 minutes for the download to start.

To summarize my inquiry, as it was said ealier, we host relatively large files and have them on http (apache) on our website for people to download, and we believe we have a decent server with a very good connection (100mbit), however this does not sattisfy the visitors as it sometimes take a long time for them to start download.

Any suggestions is greatly appreciated.

Thank You

-Dave

Reply With Quote


Sponsored Links
  #2  
Old 05-09-2006, 08:14 PM
Jedito Jedito is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Paradise
Posts: 11,318
what version of Apache are you running?

__________________
Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Phone/Helpdesk Support - US/EU/Asia Servers
Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
DowntownHost LLC - In Business since 2001 - Toll Free:*1-877-384-6781*

Reply With Quote
  #3  
Old 05-09-2006, 08:37 PM
water12345 water12345 is offline
New Member
 
Join Date: Jan 2006
Posts: 3
I used to be on 2.2.2, I downgraded it to:

Server version: Apache/1.3.35


The reason I downgraded was because I thought it might be the solution.

Thanks

Reply With Quote
Sponsored Links
  #4  
Old 05-10-2006, 01:29 AM
Jedito Jedito is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Paradise
Posts: 11,318
Sorry for my stupid question, but did you recompiled apache from the source after edit httpd.h ?

__________________
Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Phone/Helpdesk Support - US/EU/Asia Servers
Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
DowntownHost LLC - In Business since 2001 - Toll Free:*1-877-384-6781*

Reply With Quote
  #5  
Old 05-10-2006, 02:54 PM
water12345 water12345 is offline
New Member
 
Join Date: Jan 2006
Posts: 3
yes I did.

Reply With Quote
  #6  
Old 05-10-2006, 07:25 PM
tulix tulix is offline
Web Hosting Master
 
Join Date: Apr 2005
Posts: 1,111
Probably will be helpful if you'll post network utilization (%?), disk drive utilization and CPU/Memory utlization. There are only several bottlenecks - you have to find out which one is 100% utilized. We have much larger systems running without problems while CPUs are not as powerful as yours. Before you'll send any info - I would start with network (including % of errors) , then drive subsystem (you can use iostat package - yum it for CentOS), then Memory.

Reply With Quote
  #7  
Old 05-11-2006, 01:09 AM
ImZan ImZan is offline
Web Hosting Master
 
Join Date: Nov 2003
Location: Auckland, New Zealand
Posts: 584
If you have 250+ people downloading mostly video content, you will run into IO problems with apache. Go back to Apache 2.2, and try to configure and use the caching modules. Also - make sure you have the DMA enabled, and that the cable you're using for the HDD - if ATA - is 133 rated - not the cheap 33/66 type. Try changing the min / max servers values to 16/32 or 32/64. This helps with loaded servers which need a lot of capacity ramped up and available - also using a specific seperate server to serve the videos would yield better results. Try using a stripped down Apache or light webserver as well.

__________________
BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
Managed Hosting with Personal Service
Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Cbeyond Launches Windows Server 2012-Based Data Center Managed Service Web Hosting News 2012-10-15 11:07:18
Slow Read DOS Attack Created by Software Engineer Shows HTTP Server Vulnerability Web Hosting News 2012-01-06 20:55:18
Web Host 1&1 Enhances Dedicated Server Line with 32 Core, 64 GB RAM Server Web Hosting News 2011-12-20 15:30:05
Web Host 1&1 Experiences Server Outage Web Hosting News 2011-09-26 17:29:11
Web Host ServerBeach Now Offers Virtual Servers Web Hosting News 2011-08-02 18:44:09


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?