Hi, I''m trying to run ror server on background (i.e. the daemon server)
I ran the following cmd:
rails server -e production -d
In the beginning, everything is OK. I can go to the first page (index
page).
However, when I try to query something (I build a small search engine),
it does not responding. The ruby is running, but the whole app does not
responding.
However, the interesting thing is when I try these cmd:
rails server
or
rails server -e production
or
nohup rails server -e production &
All thing went smoothly!
I tried to find out what is the problem, I have two link in the index
page that use a some controller (without a model). They response well.
When I tried query (with a model), it went dead, and never come back
again, here is the last log I can see:
Started GET
"/recommend?utf8=%E2%9C%93&abstract=pagerank&commit=Get+Recommendations"
for ***.***.***.*** at 2012-06-11 23:03:26 -0400
Processing by RecommendationController#recommend as HTML
Parameters: {"utf8"=>"รข",
"abstract"=>"pagerank", "commit"=>"Get
Recommendations"}
Also I can not go back the index page again!
This is really a strange problem, can anyone help me solve this problem?
Thank you!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.