Carl Johnstone wrote:
The subroutine will only be defined once at file load time so the reference
to it won't change.
Thinking about it, depending where you define the @dsns variable I suggested
won't necessarily work that much better. You need to make sure it's declared
in a namespace where it
Carl Johnstone wrote:
Have you copied the example code from DBD::Multiplex?
%attr = (
'mx_dsns' => [$dsn1, $dsn2, $dsn3, $dsn4],
'mx_master_id' => 'dbaaa1',
'mx_connect_mode' => 'ignore_errors',
'mx_exit_mode' => 'first_success',
'mx_error_proc' => \&M
Philippe M. Chiasson wrote:
2 possible avenues to investigate:
- Change your code to not use an array-ref as mx_dsns argument but some string
(comma delimited, etc)
- Look at changing Apache::DBI to not use the ref as part of the dsn cache
key, but use the contents of the array
something a
Perrin Harkins wrote:
Sounds likely, but I have no idea how DBD::Multiplex uses that or if it
can be safely ignored when connecting. Have you tried contacting the
author of DBD::Multiplex for help? No one here seems to be using it.
- Perrin
Not yet. Are there any other recomendations on
Philip M. Gollucci wrote:
I don't use DBD::Multiplex, so I can't say. I've never seen anyone
report this to the list either.
Thanks Phillip,
Can you recommend anything obvious to help debug how Apache::DBI is
caching, checking and reusing its DB connections ?
Pierre
ones disconnect until the DB server
timesout the connection.
--
Best Regards,
Pierre Smolarek
Top was just a trivial example. We are stuck with using a commercial product
so the option to XS it and/or recode it, is not one.
P
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: 09 February 2004 19:07
To: Pierre Smolarek
Cc: Modperl List
Subject: Re: Embeding
Is there a way to somehow attach the required executable somehow inside the
httpd alongside mod_perl (in resident memory) instead of forking out the
call to the system.
P.
-Original Message-
From: Ged Haywood [mailto:[EMAIL PROTECTED]
Sent: 09 February 2004 16:03
To: Pierre Smolarek
received.
Best Regards
Pierre Smolarek