[Setup] best practices for restarting instances

Héctor Velarde hector.velarde at gmail.com
Thu Apr 12 17:17:38 UTC 2012


thanks, Servilio! looks pretty interesting... we will try to implement 
and document it for Mikko's sake ;-)

Héctor Velarde

On 12/04/12 11:52, Servilio Afre Puentes wrote:
> On Thu, 12 Apr 2012 10:22:39 -0500, Héctor Velarde<hector.velarde at gmail.com>  wrote:
>> we are using Plone 4.1 with Relstorage; we have 4 instances running on a
>> virtual machine and we want to restart them every time the server runs
>> out of memory.
>
> I am sure of having seen a package that hooked into Zope for this, but
> can't find it now.
>
>> I know Monit can do this (http://mmonit.com/monit/).
>>
>> what is the Plone community using for managing services and processes
>> under *nix?
>
> I have used supervisor with the memory monitor configured through
> collective.recipe.supervisor[1] to automatically restart an instance
> once it consumed more than a preset ammount of memory.
>
> Servilio
>
> Footnotes:
>
> [1] http://pypi.python.org/pypi/collective.recipe.supervisor#example-usage

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4926 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20120412/6e99558c/attachment.p7s>


More information about the Setup mailing list