ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
Re: apache 2 reloads needed?
by aw other posts by this author
Nov 3 2009 1:28AM messages near this date
Re: apache 2 reloads needed? | Re: apache 2 reloads needed?
Jie Gao wrote:
>  * Tom??? Ba??ant <tbazant@[...].cz> wrote:
>  
> > Greetings from cloudy Prague!
> >
> >
> > I am developing web application with mod_perl/apache/mysql. I am using
> > several own perl modules (*.pm), and after changing the contents of a
> > particular module, i usually have to reload/restart apache for these
> > changes to take effect. it is quite annoying. Is there any way how to
> > bypass this process and make apache aware of the changes automatically?
>   
>  Install Apache::Reload from CPAN.
>  
Greetings from sunny (right now anyway) Southern Germany.

I see that you mention mysql.  This probably means DBI.
I think you need to be a bit careful with DBI and Apache::Reload.  I 
seem to recall that there are some particularities there
(Probably in relation to permanent cached database connections).

In any case, I believe Apache::Reload is OK for a development server, 
but on a production server this is probably not very efficient.
There is no free lunch : if you ask the server to monitor certain things 
and do something in case of change, then that has a cost.
Thread:
tbazant
Jie Gao
aw
Jonathan Vanasco
Michiel Beijen

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved