Each morning when I return to work, I find that my WEBrick server has stopped working. The process is still running, but when I try to connect to it with a web browser, the browser doesn''t get any response back. Usually when this happens I cannot control-c the process to shut it down, and not even "kill" works-- I have to get rid of it with kill -9. I then restart it and it runs fine for the rest of the day. Is this a known problem with WEBrick? Or does it reflect some configuration problem? I am running WEBrick on RedHat Enterprise Linux. Thanks, --Paul --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yeah, it''ll do that. Most folks use Mongrel now. sudo gem install mongrel Recent versions of Rails (1.2.x) use Mongrel when you run script\server if you have it installed. Otherwise, start it with mongrel_rails start -d That runs it in the background on port 3000 in dev mode. Stop it with mongrel_rails stop On 3/15/07, Paul Lynch <plynchnlm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Each morning when I return to work, I find that my WEBrick server has > stopped working. The process is still running, but when I try to > connect to it with a web browser, the browser doesn''t get any response > back. Usually when this happens I cannot control-c the process to > shut it down, and not even "kill" works-- I have to get rid of it with > kill -9. I then restart it and it runs fine for the rest of the day. > > Is this a known problem with WEBrick? Or does it reflect some > configuration problem? > > I am running WEBrick on RedHat Enterprise Linux. > > Thanks, > --Paul > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
A lot of current documents, books etc. about Rails clearly state that WEBrick is to be used only for development and testing, and never for production. Perhaps you missed that, Paul. Like Brian said, that''s why Mongrel was created. Cheers, Luciano On 3/15/07, Paul Lynch <plynchnlm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Each morning when I return to work, I find that my WEBrick server has > stopped working. The process is still running, but when I try to > connect to it with a web browser, the browser doesn''t get any response > back. Usually when this happens I cannot control-c the process to > shut it down, and not even "kill" works-- I have to get rid of it with > kill -9. I then restart it and it runs fine for the rest of the day. > > Is this a known problem with WEBrick? Or does it reflect some > configuration problem? > > I am running WEBrick on RedHat Enterprise Linux. > > Thanks, > --Paul > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---