[openstack-dev] [oslo_reports]Does GMR work for uwsgi mode service?
sxmatch1986 at gmail.com
Wed Mar 8 08:57:56 UTC 2017
Thank you very much! It works well when I used file handle event to
trigger a generation of a report instead of signals.
2017-03-07 18:56 GMT+08:00 Roman Podoliaka <rpodolyaka at mirantis.com>:
> My understanding is that it's not recommended for WSGI apps to set up
> custom signal handlers. The reason for that is that a WSGI server
> (i.e. uwsgi in your case or Apache+mod_wsgi) will most likely have its
> own handlers for the very same set of signals .
> There is an alternative way to trigger a generation of a report by
> changing a file modification date .
>  https://code.google.com/archive/p/modwsgi/wikis/ConfigurationDirectives.wiki#WSGIRestrictSignal
>  https://review.openstack.org/#/c/260976/
> On Tue, Mar 7, 2017 at 8:02 AM, hao wang <sxmatch1986 at gmail.com> wrote:
>> Hi, stackers,
>> I'm trying to use Guru Meditation Report in Zaqar project which can
>> support uwsgi server. I imported gmr and used
>> "gmr.TextGuruMeditation.setup_autorun(version, conf=conf)", but it
>> didn't work under uwsgi mode.
>> Did I do something wrong, or GMR doesn't support uwsgi mode yet?
>> Thanks for your help!
>> Wang Hao
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev