2011/7/26 Jiří Pavlovský <j...@getnet.cz>: > That is probably it, I store db handle in a singleton. > That, unfortunately is something I cannot change easily
Apache::DBI should make this unnecessary. You could change your singleton code to DBI->connect every time and it would just pull the cached handle from Apache::DBI. Alternatively, you can try adjusting your code so that it just avoids doing the DBI caching during startup. Look at the Apache::DBI code for an example of how to tell if you're in startup. - Perrin