• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Ruby on Rails + mod_fcgid

M

majest

Guest
I set up a Ruby on rails application on mod_fcgid which came in Plesk 8.1.0. After solving few problems witch fcgi scripts and Internal Server Error (500) its working but its a lot slower than running it in WebRick. I tried to change settings in /etc/httpd/conf.d/fcgid.conf but it does not give any effects. I don't know where is the problem. Page is beeing generated reasonably fast but its taking about 2 seconds til it appear in browser. There are no problems whitch php.

Here are the logs from development.log

Processing HotelsController#index (for XX at 2006-12-08 10:57:55) [GET]
Session ID: 070334cd72db1336eca318c820c53fce
Parameters: {"action"=>"index", "controller"=>"hotels"}
[Page Load (0.005564)][SELECT * FROM pages WHERE (parent_id = 0)]
Rendering within layouts/hotels
Rendering hotels/index
Completed in 0.06426 (15 reqs/sec) | Rendering: 0.04985 (77%) | DB: 0.00900 (14%) | 200 OK [XX]
ApplicationController: missing default helper path application_helper
HotelsController: missing default helper path hotels_helper
 
Back
Top