Restart TG apps for high mem-usage

Yaakov Nemoy loupgaroublond at gmail.com
Mon Nov 26 01:20:15 UTC 2007


On Nov 25, 2007 4:00 PM, Toshio Kuratomi <a.badger at gmail.com> wrote:
> Here's a short script to test our TG apps run via supervisor for
> excessive memory usage and restart them if necessary.  We could run this
> via cron in alternate hours on each app server.  Does this seem like a
> good or bad idea to people?
>
> -Tosjio

+1, but does it make sure all transactions are finished?  I know smolt
does not have good transaction protection.  If a transaction fails
halfway through, we might have a mess.

-Yaakov




More information about the Fedora-infrastructure-list mailing list