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

Re: Weird issues using DBI + mod_perl

Thread Previous | Thread Next
From:
Bruce Johnson
Date:
September 3, 2019 16:36
Subject:
Re: Weird issues using DBI + mod_perl
Message ID:
D5D9C185-F34C-4548-86A2-E40B7F136232@pharmacy.arizona.edu
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 startup.pl file ...

On Aug 16, 2019, at 2:47 PM, Andreas Mock <andreas.mock@web.de<mailto:andreas.mock@web.de>> 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
Andreas

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About