I just set up email notification of unhandled exceptions and I''m noticing this error happening a couple times a day: (ActiveRecord::StatementInvalid) "Mysql::Error: Lost connection to MySQL server during query: But whenever I check the site after-the-fact it seems to be running fine. There doesn''t seem to be any strain on the db that would be causing it to timeout or anything either. I''m not sure how to debug this problem. Any ideas? Thanks, Justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
long shot, but are you persisting any objects to the session? One time I wasn''t pre-loading models before storing them to session and I got random lost connections.... good luck On Dec 24, 7:35 pm, "Justin Blake" <jbl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I just set up email notification of unhandled exceptions and I''m > noticing this error happening a couple times a day: > > (ActiveRecord::StatementInvalid) "Mysql::Error: Lost connection to > MySQL server during query: > > But whenever I check the site after-the-fact it seems to be running > fine. There doesn''t seem to be any strain on the db that would be > causing it to timeout or anything either. I''m not sure how to debug > this problem. Any ideas? > > Thanks, > Justin--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Have you installed the mysql gem? On 12/25/06, Chad <carimura-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > long shot, but are you persisting any objects to the session? One time > I wasn''t pre-loading models before storing them to session and I got > random lost connections.... > > good luck > > > On Dec 24, 7:35 pm, "Justin Blake" <jbl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I just set up email notification of unhandled exceptions and I''m > > noticing this error happening a couple times a day: > > > > (ActiveRecord::StatementInvalid) "Mysql::Error: Lost connection to > > MySQL server during query: > > > > But whenever I check the site after-the-fact it seems to be running > > fine. There doesn''t seem to be any strain on the db that would be > > causing it to timeout or anything either. I''m not sure how to debug > > this problem. Any ideas? > > > > Thanks, > > Justin > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---