| HostInABox: Fast-CGI or CGI [message #6593] |
Wed, 13 June 2007 11:30  |
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   |
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 #11256 is a reply to message #11255] |
Mon, 20 August 2007 18:34  |
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.
|
|
|