Hi, Roman Thank you very much! It works well when I used file handle event to trigger a generation of a report instead of signals.
Thanks again, Wang Hao 2017-03-07 18:56 GMT+08:00 Roman Podoliaka <rpodoly...@mirantis.com>: > Hi, > > 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 [1]. > > There is an alternative way to trigger a generation of a report by > changing a file modification date [2]. > > Thanks, > Roman > > [1] > https://code.google.com/archive/p/modwsgi/wikis/ConfigurationDirectives.wiki#WSGIRestrictSignal > [2] https://review.openstack.org/#/c/260976/ > > On Tue, Mar 7, 2017 at 8:02 AM, hao wang <sxmatch1...@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-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev