[Zope-dev] zc.async versus Zope 2 SIGTERM

Hanno Schlichting hanno at hannosch.eu
Thu Mar 1 13:13:40 UTC 2012


On Thu, Mar 1, 2012 at 1:42 PM, Vincent Fretin <vincent.fretin at gmail.com> wrote:
> Did you look how http://pypi.python.org/pypi/plone.app.async have done the
> integration with Zope2?

IIRC we (Jarn) ran into the same problem when running p.a.async. Our
"solution" was to switch to using SIGINT for process shutdown. We used
supervisor, so for each Zope process section we added stopsignal=INT

But on unexpected process or server restarts, we still had stuck
workers once in a while. We never had the time to investigate, so just
handled those manually.

Hanno


More information about the Zope-Dev mailing list