Mason error

error in file: ? /home/multCMS/sites/wb/mason/obj/dhandler
?
line 9:? DBI->connect(wb:localhost) failed: Too many connections
line 9:? Use of uninitialized value in concatenation (.) or string
line 9:? connecting:
line 29:? Compilation failed in require
line 29:? BEGIN failed--compilation aborted
context: ?
...?
5:? HTML::Mason::Component::FileBased->new
6:? (
7:? 'code'=>sub {
8:? my %ARGS;
9:? { local $^W; %ARGS = @_ unless (@_ % 2); }
10:? my $_out = $m->current_sink;
11:? $m->debug_hook($m->current_comp->path) if (%DB::);
12:?
13:? use Apache;
...?
25:? my $item = $1;
26:? $_out->('
27:? ');
28:? use lib '/home/multCMS/shared/lib/';
29:? use wb::DB;
30:? my ($row, $sth, @errors);
31:? my $sql = "select * from books where sellable_item_id = '$item'";
32:? $sth = wb::DB::selectStmt($sql,\@errors);
33:? $row = $sth->fetchrow_hashref;
...?
code stack: ?


raw_error





























raw error:
?






























Error during compilation of /home/multCMS/sites/wb/web/dhandler:
DBI->connect(wb:localhost) failed: Too many connections at /home/multCMS/shared/lib//wb/DB.pm line 9
Use of uninitialized value in concatenation (.) or string at /home/multCMS/shared/lib//wb/DB.pm line 9.
connecting: at /home/multCMS/shared/lib//wb/DB.pm line 9.
Compilation failed in require at /home/multCMS/sites/wb/mason/obj/dhandler line 29.
BEGIN failed--compilation aborted at /home/multCMS/sites/wb/mason/obj/dhandler line 29.