I have a project on windows using rails 2.3.5, ruby 1.8.6, mysql 5.0.28,
and mysql gem 2.8.1.
I am trying to debug a problem where it seems like each rails thread
hangs before it has the chance to release the db connection to the pool.
When the number of active connections reaches the total number available
in the pool, the next request times out for five seconds before getting
I have tried many things to identify what is causing this problem and
now I think I need to run profiling and/or debugging inside the rails
code to find out where it is hanging. (For example - I’ve gotten rid of
database session stores to see if that was the cause, as older posts
How do I configure my project which currently has gems installed for
rails to use source code so I can edit and debug it?