On Tue, 8 Feb 2000, Saar Picker wrote:
> Thanks for responding. We currently are cacheing DB connections
> per-process. However, with 40-50 processes per server, and 4+ machines per
> DB server, and 3-5 connections per process, you can see how the number of
> connections per DB server gets rather large. I think the problem lies
> with the CODE references. I'll check out IPC::Shareable some more.
Database handles are tied blessed hashes, I believe. When they are
serialized (or across a fork) the connection to the DB server is severed.
Check out the DBI::Proxy (I think that's it) module that comes with DBI.
It should do what you want.
-dave
/*==================
www.urth.org
We await the New Sun
==================*/