mysql connections problem

50 views
Skip to first unread message

Maksym Melnychok

unread,
Aug 17, 2011, 4:10:14 AM8/17/11
to rubyonra...@googlegroups.com
Hi guys,

recently switched to percona 5.5 and started having "too many connections" exceptions

i noticed that exceptions started popping up on the very first slave we pushed into the pool so it seems like after redeploy rails does not kill old connections to mysql

anyone had such problem before?

i guess options are to: 
- drop inactive connections on mysql side
- handle deploy shutdowns better
- stop using persistent connections

does this even make sense?

Ben Langfeld

unread,
Aug 17, 2011, 5:55:36 AM8/17/11
to rubyonra...@googlegroups.com
The obvious omission from your post is the platform on which you deploy rails. This is where responsibility lies, and it doesn't sound like this is a rails-core issue.

Regards,
Ben Langfeld


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/0w-FWQAxn6EJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.

Ryan Bigg

unread,
Aug 17, 2011, 8:00:59 AM8/17/11
to rubyonra...@googlegroups.com
Agreed. This is not a rails-core issue. Please ask this on the rubyonrails-talk mailing list instead.
Reply all
Reply to author
Forward
0 new messages