many database connections causes Can't locate Carp/Heavy.pm
From: Kirill Richine (krichine_at_juno.com)
Date: 10/28/03
- Previous message: Tony Adolph: "Re: Trouble Installing DBD::Oracle on Red Hat 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2003 13:38:11 -0800
Hi,
I am purposefully attempting to open ~1000 database connections using
DBI (1.38) and DBD-Oracle (1.14).
After about 255 connections I am getting
Can't locate Carp/Heavy.pm in @INC ...
Here is the code:
for $i (0..$connections-1) {
my $dbh = DBI->connect ("dbi:Oracle:",$connect_string,$password,{
ora_module_n
ame => "$0 connection $i"})
or die "Can't connect to Oracle database: $DBI::errstr\n";
push @connection_pool, $dbh;
}
Is there some kind of limitation that DBI or DBD-Oracle imposes on the
number of connections allowed to be open?
Thanks.
Kirill
- Previous message: Tony Adolph: "Re: Trouble Installing DBD::Oracle on Red Hat 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|