[CDBI] Re: Use of _remember_handle in db_Main causes slowdown/huge memory use

David Jack Olrik david at olrik.dk
Wed Oct 19 21:00:18 BST 2005


On 19/10/2005, at 20.58, Perrin Harkins wrote:

> Regarding the _remember_handle thing, the change makes sense, and I
> expect this would be an issue under mod_perl as well,

It does! - but not as much as when used outside of a mod_perl  
environment.

> since it will call
> that once at the beginning of every request.

Actually no, the first request will cache the dbh in pnotes an any  
subsequent request will get this dbh. - But if the connection is lost  
then the problem will show.

> Go ahead and update the wiki.

Done! =)

-- 
Best regards,
David Jack Olrik <david at olrik.dk>             http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is  You do not talk about Perl club"]





More information about the ClassDBI mailing list