App no longer responding

I noticed very recently that reloading pages has been slowing down in
my app… now I get nothing from localhost:3000…

I don’t have any mongrels running, my app at this point is extremely
simple (though probably replete with inefficiencies), and I’m using
WEBrick as the web server.

help!

you can check your RAILS_ROOT\logs\development.log for error messages
and obviously the logging that follows your ruby script\server command.

hard to tell what’s going on but perhaps you have some zombie processes
(look for ruby in the windows task list or do a ps -ef in linux)

Arshak

shenry wrote:

I noticed very recently that reloading pages has been slowing down in
my app… now I get nothing from localhost:3000…

I don’t have any mongrels running, my app at this point is extremely
simple (though probably replete with inefficiencies), and I’m using
WEBrick as the web server.

help!

What do the logs say?

Learn Ruby on Rails! Check out the FREE VIDS (for a limited time)
VIDEO #3 out NOW!
http://sensei.zenunit.com/

My development_log when I try to access the website is:

Processing FermsController#index (for 127.0.0.1 at 2008-04-08
06:57:41) [GET]
Session ID: 0524fbe3e17905a05fa59ceb3f6f9482
Parameters: {“action”=>“index”, “controller”=>“ferms”}
[4;36;1mSQL (0.000966) [0m [0;1mSET NAMES ‘utf8’ [0m
[4;35;1mSQL (0.000270) [0m [0mSET SQL_AUTO_IS_NULL=0 [0m
[4;36;1mFerm Load (0.001292) [0m [0;1mSELECT * FROM ferms [0m
Rendering template within layouts/application
Rendering ferms/index
[4;35;1mFerm Columns (0.004297) [0m [0mSHOW FIELDS FROM
ferms [0m
[4;36;1mFermno Load (0.001379) [0m [0;1mSELECT * FROM fermnos
WHERE (fermnos.ferm_id = 6) ORDER BY created_at ASC LIMIT 1 [0m
[4;35;1mFermno Columns (0.004428) [0m [0mSHOW FIELDS FROM
fermnos [0m
[4;36;1mCACHE (0.000000) [0m [0;1mSELECT * FROM fermnos WHERE
(fermnos.ferm_id = 6) ORDER BY created_at ASC LIMIT 1 [0m
[4;35;1mCACHE (0.000000) [0m [0mSELECT * FROM fermnos WHERE
(fermnos.ferm_id = 6) ORDER BY created_at ASC LIMIT 1 [0m
[4;36;1mCACHE (0.000000) [0m [0;1mSELECT * FROM fermnos WHERE
(fermnos.ferm_id = 6) ORDER BY created_at ASC LIMIT 1 [0m
[4;35;1mKinetic Load (0.001369) [0m [0mSELECT * FROM kinetics
WHERE (kinetics.ferm_id = 6) ORDER BY created_at DESC LIMIT 1 [0m
[4;36;1mKinetic Columns (0.005152) [0m [0;1mSHOW FIELDS FROM
kinetics [0m
[4;35;1mCACHE (0.000000) [0m [0mSELECT * FROM kinetics WHERE
(kinetics.ferm_id = 6) ORDER BY created_at DESC LIMIT 1 [0m

And there is nothing in the terminal window following the script/
server command.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs