Il 19/11/2015 17:50, INADA Naoki ha scritto:
Have you posted error log of uWSGI?
I'm sorry if I missed it.

There's no uwsgi error, he's worried about nginx returning 502 when reloading the app with -HUP while flooding it (5 concurrent requests on 6 workers) with requests.

On Thu, Nov 19, 2015 at 7:56 PM, 陈泽佳 <[email protected]
<mailto:[email protected]>> wrote:

    I've update the*version* to the *latest* one in the github projects 
provided.
    https://github.com/zejiachen/uwsgi_problem.

    In the newest project provided, I load only the RequestHandler,
    WSGIApplication needed, instead of the whole webapp2 framework.

    >/Have you tried removing lazy-apps?/

    Actually, I have tried removing lazy-apps.
    However, it make no difference, and the problem still exists.

    Thanks a lot!


    2015-11-19 16:38 GMT+08:00 Riccardo Magliocchetti
    <[email protected] 
<mailto:[email protected]>>:

        Hi,

        Il 19/11/2015 03:16, 陈泽佳 ha scritto:

            Hi, dear Riccardo,

                ///Have you tried -HUP with latest stable version?/


            Yes, I used version 1.9.21.1 before. But after I switch to the
            latest version
            2.0.11.2, the problem still exists. According to the following docs,
            a version
            higher than 1.4 would be ok.

            
http://uwsgi-docs.readthedocs.org/en/latest/articles/TheArtOfGracefulReloading.html#the-art-of-graceful-reloading


        Always report bugs after testing the latest version as they may be
        already fixed.


                ///Another thing may be that your app takes a bit to come up/


            Even in a tiny app (respond 'hello world'), the problem still 
exists.


        It's tiny but you are loading a full framework :), a tiny app would have
        been a tiny wsgi application like a single function as in
        http://wsgi.tutorial.codepoint.net/environment-dictionary

        Have you tried removing lazy-apps?


        --
        Riccardo Magliocchetti
        @rmistaken

        http://menodizero.it




    --
    Best Regards

    Chen Zejia (陈泽佳)
    Tsinghua National Lab for Information Science and Technology
    Dept. of Computer Science and Technology
    Tsinghua University, Beijing, P.R. China, 100084
    Email:[email protected] <mailto:[email protected]>


    _______________________________________________
    uWSGI mailing list
    [email protected] <mailto:[email protected]>
    http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi




--
INADA Naoki  <[email protected] <mailto:[email protected]>>


--
Riccardo Magliocchetti
@rmistaken

http://menodizero.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to