hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : thttpd (web server) for VPS
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

thttpd (web server) for VPS

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-09-2005, 10:37 PM
Carlos Carlos is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 252

thttpd (web server) for VPS


I read on another forum that someone recommended the small web server thttpd. It made me think that it would be useful for people running low-end VPS accounts. Anyone using it? (or other non-Apache servers?)

"thttpd - tiny/turbo/throttling HTTP server"

http://www.acme.com/software/thttpd/


Cheers,

Carlos Camacho
------
<<Snipped>>


Last edited by anon-e-mouse; 02-09-2005 at 11:45 PM.
Reply With Quote


Sponsored Links
  #2  
Old 02-09-2005, 11:01 PM
BurstNET BurstNET is offline
Web Hosting Master
 
Join Date: Apr 2000
Posts: 4,925
Several of our clients are running thttpd curently on our Virtuozzo-based VPS servers without issue.

__________________
BurstNET® - an INC500™ Company - THE #1 BUDGET VPS PROVIDER IN THE INDUSTRY - Now in CA/FL/IL/TX/UK!
Dedicated | Unmetered | VPS | Co-Location | Backup | Flux-Capacitors | Resale | Affiliate | 100TB | Cloud
ONE OF THE OLDEST AND MOST POPULAR RESALE PROGRAMS - BRAND NEW PA FACILITY NOW ONLINE!!!
http://www.burst.net - http://www.burstnet.eu - sales @ burst.net - Twitter: @BurstNET - All New Website!

Reply With Quote
  #3  
Old 02-10-2005, 12:46 AM
Carlos Carlos is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 252
And did they (you) find that it helped reduce their load?

__________________
Carlos

Reply With Quote
Sponsored Links
  #4  
Old 02-10-2005, 10:04 AM
phvt phvt is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Posts: 31
That's a very good idea! However, VPSes seem to get more loaded by anti-spam/anti-virus stuff, or untuned database servers, than Apache itself.

The most effective use of thttpd is to use it to serve all the images, while Apache deals with the dynamic content.

You should also check out Boa (www.boa.org), which is similar to thttpd, but may have options that better suit your needs. I've used both for a busy site and I think Boa was more robust (it was a while ago, so I don't quite recall).

If you're using Apache 2 you could always try to use the threaded module instead of the pre-fork one.

Let us know how it goes.

Reply With Quote
  #5  
Old 02-16-2005, 08:25 PM
Carlos Carlos is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 252
Quote:
The most effective use of thttpd is to use it to serve all the images, while Apache deals with the dynamic content.
Would you happen to have any links that show/explain how to do this?

Is the Roxen open source server (http://www.roxen.com/products/webserver/) worth checking out?

Also, although way out of my league, any comments on the Zeus server? (http://www.zeus.co.uk/products/zws/)

Cheers,

__________________
Carlos

Reply With Quote
  #6  
Old 02-16-2005, 08:46 PM
layer0 layer0 is offline
Performance Specialist
 
Join Date: Dec 2004
Location: New York, NY
Posts: 10,349
Carlos,
From what people have been telling me Zeus is much faster than Apache and less resource intensive. I may give it a try on one of my test servers

__________________
MediaLayer, LLC - Lightning fast web hosting since 2005. Ask about our new pure SSD storage platform!
›› First and leading provider of LiteSpeed based hosting combined with enterprise grade hardware.
›› Free Account Migrations, Custom Solutions, and Servers in US, EU, and Asia
›› Our Application Hosting plans outperform the typical VPS. Ask us about special offers on yearly plans!

Reply With Quote
  #7  
Old 02-16-2005, 09:03 PM
Carlos Carlos is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 252
Yes, that is what I have read from my quick scan of it. The prices are pretty high, so it's not for hobbyist.

__________________
Carlos

Reply With Quote
  #8  
Old 02-16-2005, 10:42 PM
mno mno is offline
Web Hosting Evangelist
 
Join Date: Dec 2002
Location: Toronto, Canada
Posts: 522
And their price chart needs a small update. Today, USD 1700 is only EUR 1300... but I've heard it's a nice server.

__________________
Nokhrin - http://www.nokhrin.com/
~ e-commerce application development

Reply With Quote
  #9  
Old 02-18-2005, 11:15 PM
phvt phvt is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Posts: 31
Quote:
Originally posted by phvt
The most effective use of thttpd is to use it to serve all the images, while Apache deals with the dynamic content.
Quote:
Originally posted by Carlos
Would you happen to have any links that show/explain how to do this?
You have the following options:

1. Keep all Web servers on port 80 and bind Apache to specific IP addresses and thttpd (or boa) to others.

2. Run thttpd or boa on a different port. This is not really recommended, because some (or many) corporate firewalls block outgoing access to non-standard ports.

In your dynamic, Apache-driven site, you'd reference all static content (e.g. images) using the URL of this boa or thttpd server. During site development, it would be best if you place all static files into a single directory, and that becomes the DocumentRoot of your boa or thttpd server.

Reply With Quote
  #10  
Old 02-19-2005, 12:19 AM
excelblue excelblue is offline
Web Hosting Evangelist
 
Join Date: Mar 2004
Posts: 522
I have used thttpd before. It's not as powerful as apache, but it does its job if you don't have any complicated scripts.

__________________
Mark Lu
excelblue@gmail.com

Reply With Quote
  #11  
Old 02-19-2005, 12:46 AM
Carlos Carlos is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 252
phvt, thanks for the info. I "almost" get what you are saying. I suppose I'll just need to sit down and try it.

I run Mambo, a content management system, so I am wondering if using Apache for the dynamic stuff and thttpd for the images would work in such a case.

Cheers

__________________
Carlos

Reply With Quote
  #12  
Old 02-19-2005, 01:01 PM
minsight minsight is offline
Junior Guru
 
Join Date: Sep 2002
Posts: 237
I'm using it for static image hosting. It's nice and lean.

__________________
VPS/VDS Resources: virtual-dedicated-server.info

Reply With Quote
  #13  
Old 02-21-2005, 07:47 PM
That Guy That Guy is offline
Over there
 
Join Date: Oct 2004
Location: LA, CA
Posts: 1,059
I use thttpd right now for one of my really crappy servers. It does a great job of serving up HTML pages and static content. But it is limited though.

Reply With Quote
  #14  
Old 02-22-2005, 04:21 AM
ringnebula ringnebula is offline
Aspiring Evangelist
 
Join Date: Jun 2003
Location: Ukiah, California
Posts: 394
You can also compile a thttpd/php combo that works quite well if you take into account a few quirks. There are issues with environmental vars with the combo among others.

If you take the time to properly test you applications/scripts and modify them if needed to run in this environment you just might be pleasantly surprised at how well it runs (better than apache by far in some situations).

edit: I should have mentioned that depending on your application you might be better off with a thttpd + php.cgi setup.

__________________
Jacob Turner -- Ringnebula Systems
Managed IT solutions for small business


Last edited by ringnebula; 02-22-2005 at 04:33 AM.
Reply With Quote
  #15  
Old 02-22-2005, 09:16 AM
phvt phvt is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Posts: 31
The problem with the regular thttpd is that it can only run one php script at a time. As you might imagine, this becomes a bottleneck especially when database queries are involved.

There's a "premium" (commercial, non-free) version of thttpd that supports FastCGI to run multiple scripts: http://schumann.cx/premium-thttpd/

Or, you could go with Zeus

Another way to go would be to keep your normal Apache setup, but run a squid cache (proxy) server in front of it. Squid is a single process which would handle many repeat requests without passing them to Apache. This is probably best for a CMS.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host 1&1 Internet Adds Server Restoration Tool for Virtual Machines Web Hosting News 2012-11-07 15:45:16
Web Host OrcsWeb Offers Support for Windows Server 2012 Web Hosting News 2012-08-24 11:08:35
MochaHost Enhances Server Performance with Tomcat Native Library Accelerator Web Hosting News 2012-08-01 15:35:20
Web Host 1&1 Enhances Dedicated Server Line with 32 Core, 64 GB RAM Server Web Hosting News 2011-12-20 15:30:05
DiscountASP.NET Launches Free Beta for Microsoft SQL Server 2012 Hosting Web Hosting News 2011-12-13 22:02:03


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?