perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: 3 questions: start/stop/restart ; db ; startup.pl
Date Wed, 01 Mar 2006 21:46:14 GMT
On Fri, 2006-02-24 at 21:38 -0500, Jonathan Vanasco wrote:
> 	i seem too often to be unable to do a restart of apache.  instead of  
> a restart, I need to stop, then start, otherwise my startup.pl file  
> yells at me.

What's the error message?

> 	on my production box, during a start, i sometime get this:
> 		>> DBI connect('xxx','xxx',...) failed: Lost connection to MySQL  
> server during query
> 	on the first startup.  if i start again, it works.

Are you opening a database connection during startup and then using it
from multiple child processes?  That could cause this.
	
> 	finally, because i use a startup.pl in apache, i've noticed that  
> even an apache stop will run it.

No, stopping apache will not run your startup.pl.  What makes you think
it is running?

- Perrin


Mime
View raw message