Ian Leitch
Not a member
Ian Leitch's latest activity
Thursday, July 30 2009
-
Ian Leitch commented at 3:41 PMThis is what I have in my after_initialize callback in environment.rb:
module Rails class Initializer def prepare_dispatcher_with_connection_clearing ... -
Ian Leitch commented at 2:58 PMThis is correct, however in my application atleast, clearing the connections inside after_initialize wasn't the solution as something after after_initialize in ...
Wednesday, July 29 2009
-
Ian Leitch commented at 9:49 PMI can't really comment on sessions and db connections as I use cookie based sessions.
To clarify how Mongrel and ActiveRecord work together:
Mongrel isn't respo...
-
Ian Leitch commented at 5:14 PMI think I've identified a race condition here. Only a small portion of the Mongrel processing code is synchronized, so it's possible that whilst thread A has le...
-
Ian Leitch commented at 4:33 PMI'm having a similar problem which is probably related. Each mongrel process will over time end up creating as many connections as the pool will allow. So 5 con...