My FastCGI load times at HostingRails are always >2.0 seconds.
Requests for static content (js, css, png, etc) loaded as part of the same page load returns in under 0.10 seconds.
Can anyone commiserate? :)
2008-04-14 10:32 PM
Santhi
Posts: 226
Starts: 0
Wiki Edits: 1
Are you running your app in FastCGI? If so, I would recommend you go for Mongrel since it is much faster than FastCGI.
2008-04-15 12:05 AM
Ben
Posts: 1
Starts: 1
Wiki Edits: 0
But what specifically is making FCGI slow? This is not the 1-5 minute process termination. It will happen on refreshes under 5 seconds apart.
2008-04-15 12:55 AM
Rahul
Posts: 498
Starts: 0
Wiki Edits: 1
Hello,
On a Shared Server the number of fcgi processes running at a time (especially peak times) are usually very large. Also the fcgi processes consume a lot of server resources.
So at times if the number of processes reaches more than the threshold value, then the fcgi processes are killed in order to prevent the Shared Server from going down.
Also the apache web Service will restart if the number of http connections are more than the threshold value set-up. This will further slow-up the fcgi processes.
Mongrel on the otherhand is a separate web-server. And it is usually not affected by any other parameters unless there are server reboots. But that can be overridden by setting proper crontab entries to automatically start mongrel process after server re-boot.
2008-04-15 09:00 AM
Regards,
Rahul
Brsseb
Posts: 3
Starts: 2
Wiki Edits: 0
Location: Bergen, Norway
[quote]On a Shared Server the number of fcgi processes running at a time (especially peak times) are usually very large. Also the fcgi processes consume a lot of server resources.[/quote]
Will upgrading to 50MB dedicated memory solve these issues, or will it still be slow at times?