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
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