hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Some webhosts market gcc as a feature?!
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

Some webhosts market gcc as a feature?!

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-19-2006, 12:26 AM
thinkliberty thinkliberty is offline
Junior Guru
 
Join Date: May 2003
Posts: 181

Some webhosts market gcc as a feature?!


How/Why do some webhosts market GCC as a webhosting feature?

I would hate to be on the shared server where someone else is compiling stuff.

Reply With Quote


Sponsored Links
  #2  
Old 11-19-2006, 10:05 AM
extras extras is offline
Web Hosting Master
 
Join Date: Aug 2005
Location: Canada
Posts: 838
Using C/C++, you can write a very efficient/small/fast CGI program, and there are still some people who prefer to use them rather than heavy/buggy/vulnerable PHP.
(And the host should be glad because they would be using less resources.)

Usually, we can simply compile at home and upload ready to run binary, but sometime it's more convenient to compile on the server.
And some tools do reuire gcc, too.

But it's not really a feature since Linux/BSD come with gcc and many other utilities.
(Some hosts remove/disable/restrict them, though.)

Why do you hate it?

Reply With Quote
  #3  
Old 11-19-2006, 11:19 AM
thinkliberty thinkliberty is offline
Junior Guru
 
Join Date: May 2003
Posts: 181
gcc sucks up alot of memory and CPU resources. Using it on a shared server this is a bad thing for everyone else on that server.

Quote:
Originally Posted by extras
Using C/C++, you can write a very efficient/small/fast CGI program, and there are still some people who prefer to use them rather than heavy/buggy/vulnerable PHP.
(And the host should be glad because they would be using less resources.)

Usually, we can simply compile at home and upload ready to run binary, but sometime it's more convenient to compile on the server.
And some tools do reuire gcc, too.

But it's not really a feature since Linux/BSD come with gcc and many other utilities.
(Some hosts remove/disable/restrict them, though.)

Why do you hate it?

Reply With Quote
Sponsored Links
  #4  
Old 11-19-2006, 11:29 AM
layer0 layer0 is offline
Performance Specialist
 
Join Date: Dec 2004
Location: New York, NY
Posts: 10,339
Quote:
Originally Posted by thinkliberty
gcc sucks up alot of memory and CPU resources. Using it on a shared server this is a bad thing for everyone else on that server.
Not really.

PHP Code:
[root@layer2 ~]# uptime
## starting load
 
10:32:47 up 14 days,  9:55,  2 users,  load average0.000.000.00
## used gcc in another shell session and took the load again:
[root@layer2 ~]# uptime
 
10:32:59 up 14 days,  9:55,  2 users,  load average0.000.000.00 

__________________
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
  #5  
Old 11-19-2006, 11:36 AM
thinkliberty thinkliberty is offline
Junior Guru
 
Join Date: May 2003
Posts: 181
What were you compiling?

int main(int argc, char ** args)
{
return 0;
}

does not count

Quote:
Originally Posted by layer0
Not really.

PHP Code:
[root@layer2 ~]# uptime
## starting load
 
10:32:47 up 14 days,  9:55,  2 users,  load average0.000.000.00
## used gcc in another shell session and took the load again:
[root@layer2 ~]# uptime
 
10:32:59 up 14 days,  9:55,  2 users,  load average0.000.000.00 

Reply With Quote
  #6  
Old 11-19-2006, 11:39 AM
extras extras is offline
Web Hosting Master
 
Join Date: Aug 2005
Location: Canada
Posts: 838
Quote:
Originally Posted by thinkliberty
gcc sucks up alot of memory and CPU resources. Using it on a shared server this is a bad thing for everyone else on that server.
It depends on the size of program.
And when the server isn't loaded, nobody would really notice even if you compile a little big thing.
It's not necessarily heavier than active forum traffic.

In short, ANY program including seemingly inoffensive formmail can abuse CPU/Memory depending on the situation.
It's not what you use, but how it is used/accessed.

It's true that gcc can be abused.
But again, so as any program/script.

So, you don't need to worry about gcc.
I think it's more common to see popular PHP apps abused/cracked and causing lots of problem to everyone on the server.
At least that's what I observed last several years.
Thus I tend to blame PHP well before gcc or other things.

Reply With Quote
  #7  
Old 11-19-2006, 02:03 PM
David David is offline
& Goliath
 
Join Date: Oct 2003
Location: San Diego
Posts: 8,805
Quote:
Originally Posted by thinkliberty
How/Why do some webhosts market GCC as a webhosting feature?

I would hate to be on the shared server where someone else is compiling stuff.
Can't be any worse than someone running vBulletin or any number of items.
All in all: If a host wants to offer gcc let them do it!

If you don't think it's good then don't sign up with them.

__________________
David McKendrick
Fused - Quality web hosting
Follow me on twitter
Blessed is the man who walks not in the counsel of the wicked.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50bf8d11-27e8-4dd4-9920-72e745a799de Listing 2013-03-05 18:23:19
Web Host Gandi Emphasizes User Customization with Interface Updates Web Hosting News 2012-10-23 16:14:19
New BackupAgent Version Simplifies Channel Delivery of Cloud Backup Solution Web Hosting News 2012-06-26 16:57:11
Google to Launch Cloud Storage Service in Coming Weeks: Reports Web Hosting News 2012-02-09 15:26:29
Hosting – What’s the Big Idea, with Ditlev Bredahl of OnApp Web Hosting News 2011-10-12 16:56: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?