-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Feb 09, 2001 at 01:58:36PM -0500, Baxter, Lincoln wrote:
> Hi,
>
> I have a daemon (using Net::Daemon) that uses DBI/DBD-Oracle in forked
> children of the daemon.
>
> When a client connects the daemon forks a child that then connects to the
> database via DBD-Oracle.
>
> Recently I decided to check all the database connections in the parent
> during startup, and this creates a problem:
>
> The DBD-Oracle connnection works fine after the child is forked
> BUT, the socket on which I was connected to the client is trashed
>
> I tried setting InactiveDestroy=>1 in my connect call, but this did
> not fix it. Has anybody seen this kind of problem?
I believe Oracle screws up something fierce if you try sharing a connection
between a parent and spawned children. Or am I not properly following the last
half of the question...
- --
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBOoRY2gOGqGs0PadnEQJvdgCeL5fcxicZamlKaKB18grjQnN//ZYAniax
N7h/86emMjntvse0gal349gi
=0SgY
-----END PGP SIGNATURE-----