Re: Smolt deployment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2007-03-04 at 00:07 -0600, Mike McGrath wrote:
> Toshio Kuratomi wrote:
> > Just some random thoughts as I'm running out the door:
> >
> > I like the way I'm doing it because I've got it to a state where it
> > pretty much just works but if we can do that with mod_python as well,
> > that would be fine.  My method is basically Apache proxypassing to the
> > turbogears application server.  If the tg server isn't running, the
> > proxypass error handler loads a small cgi script that starts the
> > turbogears app and once the app responds, sends the user there.
> >   
> 
> You know me, I love "just works".  Is there any concern with your script 
> and thrashing?  For example if tg can't start but the page is under 
> heavy load would the startup attempts have the ability to take other 
> services down?
> 
That could be a problem case.  If we decide to stay with the cgi script,
I can write a timestamp to a file.  When the autostart cgi starts, check
that the timestamp is older than one minute otherwise don't attempt to
start.

-Toshio

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux