On Monday 24 November 2003 03:05 pm, Perrin Harkins wrote: > On Mon, 2003-11-24 at 14:54, Jordan Lederman wrote: > > Well I've upgraded apache and mod_perl to 1.29 and I'm still having the > > same issue. > > Are you opening database connections during server startup? That could > cause this, if you have a connection open when the server forks. If > that's not it, you need to reduce the problem to a short chunk of code > that you can post. >
Honestly I don't yet know enough to tell you. Here are the relevant sections from my 3 config files: httpd.conf: AddHandler cgi-script .cgi AddType text/html .shtml AddHandler server-parsed .shtml PerlModule Apache::DBI PerlModule Template PerlWarn On PerlRequire /proj/q2/lib/startup.pl Include conf/mod_perl.conf PerlSetVar q2_root /proj/q2/tmpl PerlSetVar q2_baseurl /q2/ PerlSetVar q2_basedir /proj/q2/ PerlSetVar q2_dbname queue PerlSetVar q2_dbuser queued startup.pl use LWP::UserAgent (); use Apache::DBI ();# use DBI (); use DBD::Pg (); use Apache::Cookie (); use Apache::Constants (); #qw(:common); use Storable; use diagnostics; use Apache::Request; use Apache::File (); use IPC::Shareable (); use Data::Dumper; Apache::DBI->connect_on_init ("DBI:Pg:dbname=queue", "queued", "", { PrintError => 1, # warn() on errors RaiseError => 0, # don't die on error AutoCommit => 1, # commit executes immediately } ); use Apache::Constants qw(M_GET); # Tell me more about warnings use Carp (); $SIG{__WARN__} = \&Carp::cluck; warn "Running $0 \n"; 1; mod_perl.conf: PerlModule Q2::Init <Location /q2> SetHandler perl-script perlHandler Q2::Init PerlSendHeader Off </Location> If nothing useful is found here, i'll begin working on makeing the problem happen in a smaller context. > > 2) At some point during my development, apachectl reload stopped working > > for me. > > The restart command just sends a SIGHUP. That doesn't usually work > perfectly with mod_perl. I always do a stop and start. > I had thought that it was my fault. :) --jordan > - Perrin -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html