I''m running ruby 1.8.6, WEBrick 1.3.1, & MySQL. On Localhost:3000. It works fine but if it sits idle for a few hours or more, it will hang and I needs to be restarted. Read similar problem before, said it has something to do with MySQL timing out or something? He didn''t have any more info though, so wondering if anybody can elaborate. Thanks! -- 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-/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 -~----------~----~----~----~------~----~------~--~---
Are there any clues in the logs? On Feb 1, 2:01 pm, Qolo Weerky <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I''m running ruby 1.8.6, WEBrick 1.3.1, & MySQL. On Localhost:3000. It > works fine but if it sits idle for a few hours or more, it will hang and > I needs to be restarted. > > Read similar problem before, said it has something to do with MySQL > timing out or something? He didn''t have any more info though, so > wondering if anybody can elaborate. > > Thanks! > -- > Posted viahttp://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-/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 -~----------~----~----~----~------~----~------~--~---
Wyatt Greene wrote:> Are there any clues in the logs? > > On Feb 1, 2:01 pm, Qolo Weerky <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>I don''t remember exact time it last happened. I''m not familiar with extracting info from log files in RoR. I''ll try to start fresh log and recreate. -- 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-/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 -~----------~----~----~----~------~----~------~--~---
This will happen if you aren''t using the compiled mysql gem. sudo gem install mysql and you should see this problem go away. On Feb 1, 1:01 pm, Qolo Weerky <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I''m running ruby 1.8.6, WEBrick 1.3.1, & MySQL. On Localhost:3000. It > works fine but if it sits idle for a few hours or more, it will hang and > I needs to be restarted. > > Read similar problem before, said it has something to do with MySQL > timing out or something? He didn''t have any more info though, so > wondering if anybody can elaborate. > > Thanks! > -- > Posted viahttp://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-/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 -~----------~----~----~----~------~----~------~--~---