Re: Apache::DBI "connection lost contact" error

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be1F7QzPNK4OMqHC-Oi4kJ9N3OGPiV+j88VPVY_LjCZYUw@mail.gmail.com>
On Tue, Jun 4, 2013 at 9:59 AM, Xinhuan Zheng <[email protected]>
wrote:
> Will the new connection that's created be cached after then and the
connection that's not ping-able will be discarded?

Yes.

> Will this cached the new connection last until the child process exit?

Yes, unless it times out on the Oracle side due to inactivity.

> Will rollback be called when child process discovers the connection
handle not ping-able?

No, the connection is already closed at that point.

> Will rollback be called when child process exit?

Yes.

Also, I think I see how to fix this, so when I have a few minutes I'll send
you a patch to try.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.