Mason error

error in file:   /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm
 
line 163:  Can't connect to sql server. Reason: Too many connections
context:  
... 
54:  current_time => 'real',
55:  data_cache_dir => '',
56:  data_dir => undef,
57:  dhandler_name => 'dhandler',
58:  die_handler => sub { Carp::confess($_[0]) },
59:  die_handler_overridden => 0,
60:  system_log_file => undef,
61:  system_log_separator => "\cA",
62:  max_recurse => 32,
... 
159:  # Create resolver if not provided
160:  #
161:  unless ($self->{resolver}) {
162:  die "must specify value for comp_root\n" if !$self->{comp_root};
163:  my $r = new HTML::Mason::Resolver::File;
164:  $self->{resolver} = $r;
165:  }
166: 
167:  #
... 
component stack:   /db/common/navbar.mhtml:.movie
/db/common/navbar.mhtml
/db/movies/autohandler
/db/autohandler
code stack:   /usr/local/share/perl/5.8.8/HKMDB/User.pm:178
/usr/local/share/perl/5.8.8/HKMDB/User.pm:268
/var/lib/mason/obj/db/common/navbar.mhtml:405
/var/lib/mason/obj/db/common/navbar.mhtml:819
/var/lib/mason/obj/db/movies/autohandler:99
/var/lib/mason/obj/db/movies/autohandler:16
/var/lib/mason/obj/db/autohandler:14


raw_error




























raw error:
 






























error while executing /db/common/navbar.mhtml:.movie:
Can't connect to sql server.  Reason: Too many connections at /usr/local/share/perl/5.8.8/HKMDB/User.pm line 163.
 at /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm line 58
HTML::Mason::Interp::__ANON__('Can\'t connect to sql server.  Reason: Too many connections a...') called at /usr/local/share/perl/5.8.8/HKMDB/User.pm line 163
HKMDB::User::pp_db_connect() called at /usr/local/share/perl/5.8.8/HKMDB/User.pm line 178
HKMDB::User::ck_phpbb_group('undef', 6) called at /usr/local/share/perl/5.8.8/HKMDB/User.pm line 268
HKMDB::User::is_editor('HKMDB::User=HASH(0xa715f9c)') called at /var/lib/mason/obj/db/common/navbar.mhtml line 405
HTML::Mason::Commands::__ANON__('id', 9738, 'display_set', 'big5') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0xa70a3b4)', 'id', 9738, 'display_set', 'big5') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', '.movie', 'id', 9738, 'display_set', 'big5') called at /var/lib/mason/obj/db/common/navbar.mhtml line 819
HTML::Mason::Commands::__ANON__('mode', 'movie', 'id', 9738, 'display_set', 'big5') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa70a654)', 'mode', 'movie', 'id', 9738, 'display_set', 'big5') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', '/db/common/navbar.mhtml', 'mode', 'movie', 'id', 9738, 'display_set', 'big5') called at /var/lib/mason/obj/db/movies/autohandler line 99
HTML::Mason::Commands::__ANON__('display_set', 'big5', 'id', 9738, 'display_set', 'big5', 'id', 9738) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa711410)', 'display_set', 'big5', 'id', 9738, 'display_set', 'big5', 'id', 9738, ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 376
HTML::Mason::Request::call_self('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', 'SCALAR(0xa70f120)', 'SCALAR(0xa70f138)') called at /var/lib/mason/obj/db/movies/autohandler line 16
HTML::Mason::Commands::__ANON__('display_set', 'big5', 'id', 9738, 'display_set', 'big5', 'id', 9738) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa711410)', 'display_set', 'big5', 'id', 9738, 'display_set', 'big5', 'id', 9738, ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', 'HTML::Mason::Component::FileBased=HASH(0xa711410)', 'display_set', 'big5', 'id', 9738, 'display_set', 'big5', 'id', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 317
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', 'display_set', 'big5', 'id', 9738) called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('display_set', 'big5', 'id', 9738) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa6b8f74)', 'display_set', 'big5', 'id', 9738) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', 'HASH(0x99b4110)', 'HTML::Mason::Component::FileBased=HASH(0xa6b8f74)', 'display_set', 'big5', 'id', 9738) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', '/db/movies/view.mhtml', 'display_set', 'big5', 'id', 9738) called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0xa147edc)', 'Apache=SCALAR(0xa1482d8)', 'HTML::Mason::Request::ApacheHandler=HASH(0xa70cb48)', 'undef') called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa147edc)', 'Apache=SCALAR(0xa1482d8)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0xa1482d8)') called at /dev/null line 0
eval {...} called at /dev/null line 0