develooper Front page | perl.dbi.users | Postings from September 2019

Re: Weird issues using DBI + mod_perl

Thread Previous | Thread Next
Bruce Johnson
September 3, 2019 16:36
Re: Weird issues using DBI + mod_perl
Message ID:
Just a follow up…it was embarrassingly stupid. You know how you can stare at an error in a line dozens of times and not see it? Like the ‘#' commenting out "use Apache::DBI” in your file ...

On Aug 16, 2019, at 2:47 PM, Andreas Mock <<>> wrote:

Hi Bruce,

I'm just guessing, but this sounds much like reusing or double using of Oracle db handles, context handles or statement handles.

You have to have a look at the bookkeeping of the handles per request. Also forking of the childs may byte you.
You must ensure that db handles are ONLY opened in the child process doing the work and get closed properly.

With DBI in use you can use the variable DBI_TRACE to get extensive log. Google for that in combination with mod_perl.

Just some hints.

Best regards

Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About