Smolt deployment

Toshio Kuratomi a.badger at gmail.com
Sun Mar 4 06:26:38 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20070303/8882db13/attachment.bin 


More information about the infrastructure mailing list