> Your MySQL session is timing-out after the default 8 hours. > > Either increase the timeout by adding the following > line to the [mysqld] section of the /etc/my.cnf file: > > set-variable = wait_timeout=<#seconds> > > or you can instead insert a call to > > ActiveRecord::Base.verify_active_connections! > > ahead of any database queries. > > The verify_active_connections! method is called by > Rails before every request, but your backgroundrb > process will not be getting this constant hammering > to keep its database connection alive. >
Dear Mark, first i want to thank for ur response, i am not making the mysql to wait, every 15 minutes i am getting the files uploaded. it works well for 1 week (avg) then it stops suddenly.. ur Madhan -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

