LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Kloxo Community Support » Knowledge Base » HostInABox: Fast-CGI or CGI
HostInABox: Fast-CGI or CGI [message #6593] Wed, 13 June 2007 11:30 Go to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
I think there is some confusion regarding the choice of fast-cgi and cgi in HiB. Because of our earlier post regarding HiB memory usage, some people seem to have though that fast-cgi is better for all cases and have simply enabled fast-cgi for all domains.

Actually, if fast-cgi didn't have any drawbacks at all, we would have enabled fast-cgi by default. Fast-cgi's advantage is that it allows you to scale to very large number of hits. Its drawback is that it consumes a base amount memory when idle, while cgi will consume zero memory while idle.

So if you enable fast-cgi for all domains, then all of them will simply take space, even though they are idle for most of the times.

So, when choosing between fast-cgi or cgi for a domain, please remember:

-> For high traffic domain, use fast-cgi, and set the value accordingly.

-> For low traffic domain, cgi is mandatory, or else your memory usage is going to go very high.

Thanks.



[Updated on: Sat, 30 June 2007 00:53] by Moderator

Report message to a moderator

Re: HostInABox: Fast-CGI or CGI [message #7045 is a reply to message #6593] Wed, 20 June 2007 12:14 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion

To disable fastcgi or change parameters, please go to

domain home -> limit

For customers too, you can limit their ability to create a domain with fastcgi, which would be very important. Go to client home -> limit to do this.

Thanks.


Re: HostInABox: Fast-CGI or CGI [message #11255 is a reply to message #6593] Mon, 20 August 2007 18:30 Go to previous messageGo to next message
vpswannabe is currently offline vpswannabe  India
Messages: 307
Registered: November 2006
Senior Member
I would like to know if FastCGi is proven reliable stable and performance booster in apache environment too?

If yes, I would like to switch over to apache, since i need some serious apache specific needs.


To err is me ^__~
Re: HostInABox: Fast-CGI or CGI [message #11256 is a reply to message #11255] Mon, 20 August 2007 18:34 Go to previous message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Quote:


>
>
> I would like to know if FastCGi is proven reliable stable and performance booster in apache environment too?
>
> If yes, I would like to switch over to apache, since i need some serious apache specific needs.



FCGI under apache is not maintained well, because on apache everyone uses mod_php, so it got less importance. But we will support fcgi on apache too soon. If you are on apache, and you need speed, you should use mod_php. It has the same speeds of apache, but heavy memory usage though.

Thanks.


Previous Topic:Configuring your website skeleton
Next Topic:New feature: a database is forcibly created for every new customer
Goto Forum:
  


Current Time: Fri May 24 22:38:23 EDT 2013

Total time taken to generate the page: 0.01082 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software