hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Mod_Gzip Refused by Host
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

Mod_Gzip Refused by Host

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-30-2002, 06:29 PM
chrisb chrisb is offline
Disabled
 
Join Date: May 2001
Posts: 1,513

Mod_Gzip Refused by Host


I ask my host if they had mod_gzip installed, and if not, would they please install it, and here is the answer I received...

"mod_gzip is not installed and will not be. Too much CPU overhead for a shared hosting environment."

Is this true? Does mod_gzip really cause too much CPU overhead for shared hosting?

Reply With Quote


Sponsored Links
  #2  
Old 08-30-2002, 06:33 PM
DanielP DanielP is online now
Web Hosting Master
 
Join Date: Jun 2000
Location: Alabama of course
Posts: 1,364
Depending on the load of the server yes. You figure its going to compress every file 100k and smaller for thousands if not hundreds of thousands of page views a day.... so yes it could easily double the load on a server althou I'd say normally you'd look @ a 25% increase, but these are rough estimates as I've never played with it in a controled test enviroment

__________________
KnownHost Managed VPS Specialists
Fully Managed VPS, Hybrid,and Dedicated Servers
RocketVPS.com - Premium Unmanaged VPS Hosting
KnownHost is hiring! Click here for more information!

Reply With Quote
  #3  
Old 08-30-2002, 06:34 PM
Paul_9cy Paul_9cy is offline
Junior Guru Wannabe
 
Join Date: Dec 2001
Location: N.Ireland
Posts: 80
Well it can hit the cpu hard if in use alot but if its done right it can realy reduce bandwidth....

This CPU usage is a valid reason but the server's must be doing some heavy loading.

Mod_gzip can run in php without it being installed on the server mind.

Reply With Quote
Sponsored Links
  #4  
Old 08-30-2002, 06:44 PM
2host.com 2host.com is offline
Web Hosting Evangelist
 
Join Date: May 2002
Posts: 466
People seem to get too confused about this when they think about compression and how it serves up the files. It takes CPU time to serve up the larger files, the compression ratio is faster on CPU time to compress and serve up these files types, than it is on CPU time to serve up a larger file. This is not a valid excuse and if it's set up properly it will not cause any disadvantages at all. It will actually remove load from your CPU when serving up the files. If you are paranoid or uneducated about compression and how it all works and how files are served up, please research it, otherwise you will miss out on a great module by assuming it must equate to using more CPU to compress the file.

__________________
Robert McGregor
URL: http://www.2host.com
Email: robertm@(nospam)2host.com

Reply With Quote
  #5  
Old 08-30-2002, 06:49 PM
chrisb chrisb is offline
Disabled
 
Join Date: May 2001
Posts: 1,513
Quote:
Originally posted by 2host.com
People seem to get too confused about this when they think about compression and how it serves up the files. It takes CPU time to serve up the larger files, the compression ratio is faster on CPU time to compress and serve up these files types, than it is on CPU time to serve up a larger file. This is not a valid excuse and if it's set up properly it will not cause any disadvantages at all. It will actually remove load from your CPU when serving up the files. If you are paranoid or uneducated about compression and how it all works and how files are served up, please research it, otherwise you will miss out on a great module by assuming it must equate to using more CPU to compress the file.
Thanks Robert. Do you have any documentation from a reputable source that I can send to my host that supports your statements that mod_gzip uses less CPU power, not more?

Reply With Quote
  #6  
Old 08-30-2002, 07:00 PM
2host.com 2host.com is offline
Web Hosting Evangelist
 
Join Date: May 2002
Posts: 466
Quote:
Originally posted by chrisb

Thanks Robert. Do you have any documentation from a reputable source that I can send to my host that supports your statements that mod_gzip uses less CPU power, not more?
Well if they have knowledge of it, it will stand to reason. However I believe that the mod_gzip site itself actually has some information about this. They mention it on their site, but people seem to want to claim it's just an empty, unproved claim. But they also have links. Further web site searches about this topic will find more compelling support. However keep in mind that there's a lot of paranoid people claiming things in opposition too (and think it's just too good to be true and there has to be something that will fault).

__________________
Robert McGregor
URL: http://www.2host.com
Email: robertm@(nospam)2host.com

Reply With Quote
  #7  
Old 08-30-2002, 07:00 PM
Techark Techark is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Australia or US depends
Posts: 5,723
Yes I would like to see that document also. I installed it one of my servers after reading all the great things on it here and saw load increases of 25 to 40% right away. I have decided to not install it on my other servers. While it does lower the bandwidth and speed the download it also seems to cause a larger strain on the server from what I have seen.

Now I will admit I am not that knowledgable of it so I may not have it optimized. If there is someone that can show me some place that details how to do that I would love to see it.

__________________
Techark Web Hosting
Cloud Servers and Managed Dedicated Servers with Live Proactive Monitoring
My Blog of Random Thoughts

Reply With Quote
  #8  
Old 08-30-2002, 07:16 PM
Jedito Jedito is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Paradise
Posts: 11,318
I have so problem with mod_gzip and Tomcat (specially if I run tomcat through mod_jk), seems like they don't like each other, so, I had to remove mod_gzip .

__________________
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
  #9  
Old 08-31-2002, 12:04 AM
chrisb chrisb is offline
Disabled
 
Join Date: May 2001
Posts: 1,513
Is it possible to load mod_gzip in my own directories without root access to test it out?

Reply With Quote
  #10  
Old 08-31-2002, 12:11 AM
DanielP DanielP is online now
Web Hosting Master
 
Join Date: Jun 2000
Location: Alabama of course
Posts: 1,364
Well, if you want to get fancy you could compile your own copy of apache... you should have enough user privelages to do so, you'd just have to run it on an empty port.

Also as mentioned as above with php you can run it gzip compressed without mod_gzip installed.

__________________
KnownHost Managed VPS Specialists
Fully Managed VPS, Hybrid,and Dedicated Servers
RocketVPS.com - Premium Unmanaged VPS Hosting
KnownHost is hiring! Click here for more information!

Reply With Quote
  #11  
Old 08-31-2002, 12:13 AM
AceWeb AceWeb is offline
Web Hosting Master
 
Join Date: Aug 2002
Location: Earth
Posts: 1,802
Quote:
Originally posted by chrisb
Is it possible to load mod_gzip in my own directories without root access to test it out?
No, at least as far as I know you cannot.

Reply With Quote
  #12  
Old 08-31-2002, 12:25 AM
chrisb chrisb is offline
Disabled
 
Join Date: May 2001
Posts: 1,513
Hey, Deb, just wondering if futurequest has mod_gzip turned on???

Reply With Quote
  #13  
Old 08-31-2002, 12:29 AM
Webdude Webdude is offline
Web Hosting Master
 
Join Date: Dec 2000
Location: The Woodlands, Tx
Posts: 5,955
I must have security too high on our machines, or too many specialized modules...definitely something. Even the mod_gzip developers couldnt get it to work on our machines. They finally gave up. I dunno either. I really wish they could have gotten it to work. I was really interested in seeing how much bw it saved us, then switch to mod_hs and see if that saved us even more.

Too bad. Mod_hs (newer and supposedly far better version of mod_gzip) is $1500 per CPU (that's $3000 per machine for us). I decided that at this time I wasnt interested in spending that much if I cant even compare it to mod_gzip in a live environment to see for myself how much better it is. It was interesting that they could get mod_hs to work, but not mod_gzip. I didnt try it though..

Reply With Quote
  #14  
Old 08-31-2002, 02:08 PM
bitserve bitserve is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Ann Arbor, MI
Posts: 2,978
Like robert said, the longer the file transfer, the more that gzip will save you on cpu, because the cpu will be utilized more at the beginning but it will be utilized for a shorter period of time overall.

At some exponential point, things will equal out or actually improve.

For very short transfers, you will just have higher cpu at the beginning, and not get the exponential savings of having it run for a shorter time.

There are basically two things that determine the length of the transfer. The speed of the transfer and the size of the file.

mod_gzip should be set up to only compress files over a certain size.

You can't control the speed, but you would see more savings compressing files for your 56Kb customers than your 1.2Mb customers. Most 56Kb modems are already using compression though, so somewhere down the line, your modem vistors aren't equal to your non-modem 56Kb visitors.

For most instances, you will probably only want to compress text files, and not binaries that will already be compressed, if they're being streamed from a web site, anyway.

You should also compile mod_gzip on your machine, and not use any precompiled binaries.

It's understandable that your host would not want to install mod_gzip, as ultimately the bandwidth bill is being passed onto you, the customer. Typically "special" configurations in a shared environment aren't going to be available. That's shared hosting for you. Also, you should expect to pay an hourly rate for the special configuration and any support required if they actually enabled it for you.

__________________
-Mark Adams
www.bitserve.com - Secure Michigan web hosting for your business.
Only host still offering a full money back uptime guarantee and prorated refunds.
Offering advanced server management and security incident response!

Reply With Quote
  #15  
Old 08-31-2002, 02:50 PM
mdrussell mdrussell is online now
The infamous....
 
Join Date: Nov 2001
Location: London
Posts: 4,267
Unfortunately the calculation that compression and transmission of a file is easier on the CPU than the transmission of a larger file seems to be somewhat theoretically based - like Monte, in use we found mod_gzip to put a higher load upon the CPU, and it seemed to cause Apache to crash on a more frequent basis.

__________________
Matt Russell

www.web-hosting.com - a Namecheap company

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Dutch Court Orders Web Host to Pay Damages for Facilitating Copyright Infringement Web Hosting News 2012-10-25 16:30:08
UK Cloud Host Cyber Host Pro Acquires ColdFusion Host Yetihost Web Hosting News 2012-08-15 11:18:39
Survey Finds 40 Percent of Site Owners Change Opinion of Web Host After Hack Web Hosting News 2012-02-24 10:41:36
Web Host Host Color Launches New Dedicated Server Plan with Free CDN Web Hosting News 2012-01-20 11:32:21
Hacker Group Anonymous Targets Web Hosting Firm Over Child Porn Claims Web Hosting News 2011-10-25 00:31:33


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?