An example reproducing running out of database connections for the blog post
Branch master
is the starting point. See branch steps/logging
for the logging to add to recognize the problem and branches solution/quick_hack
and solution/proper_fix
for the solution.