28 Apr
2015
28 Apr
'15
12:04 a.m.
On 27/04/2015 3:39 am, Nikos Vaggalis wrote:
Is that indicating a global DBI handle that is reused and cleaned up at some time, having to do with Starman's preforking? The thing is that in my Model I initialize the database and statement handles within the subs scope and not globally.
DBD:mysql 4.031 DBI 1.633
If you are doing the database connection management yourself, I strongly suggest you look at DBIx::Connector. Its fork (and thread) safe, so you don't have to worry about such issues :) Hope that helps, Russell.