[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uwsgi
Subject:    Re: [uWSGI] 3 different uwsgi apps max to 100% cpu and stuck there, lot of epoll_wait and "Resource 
From:       alonn <alonisser () gmail ! com>
Date:       2015-12-01 17:15:56
Message-ID: CAN3noj24sTipVSq3ZWGgyiSuzeHdNmLQNENZ1TWHC8Ba26ikMw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


ubuntu 14.04.02 LTS trusty
3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64
x86_64 GNU/Linux

uwsgi config didn't change
Before uwsgi we have nginx (and before it another front nginx in another
server and before it we added a proxy protection few days ago)

If we knew what changed I guess we were able to fix it. But again, this
happens in ALL uwsgi using apps. (but not in gunicorn using apps)



Twitter:@alonisser <https://twitter.com/alonisser>
LinkedIn Profile <http://www.linkedin.com/in/alonisser>
Facebook <https://www.facebook.com/alonisser>
*Tech blog:*4p-tech.co.il/blog
*Personal Blog:*degeladom.wordpress.com
Tel:972-54-6734469

On Tue, Dec 1, 2015 at 3:14 PM, Riccardo Magliocchetti <
riccardo.magliocchetti@gmail.com> wrote:

> Hello,
>
> Il 01/12/2015 13:42, alonn ha scritto:
>
>> 2 apps are using uwsgi 2.0.11.1 and one 2.0.9. two of them (different
>> two) use
>> uwsgi http workers and one uses buffered uwsgi
>> configurations attached beneath.
>>
>> Suddenly, since a few days ago, we get a strange (and bad) condition in
>> our AWS
>> app server:  All uwsgi process cpu usage sky rockets to 100%. and stuck
>> there,
>> not processing requests and fail to stop unless I kill them.
>>
>
> Which kernel and distribution are you using? What may have changed few
> days ago? a distro update, an updated application, uwsgi config change,
> etc...
>
> What do you have in front of uwsgi? Is it misbehaving too?
>
> --
> Riccardo Magliocchetti
> @rmistaken
>
> http://menodizero.it
>
> _______________________________________________
> uWSGI mailing list
> uWSGI@lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

[Attachment #5 (text/html)]

<div dir="ltr">ubuntu 14.04.02 LTS trusty<div>3.13.0-55-generic #94-Ubuntu SMP Thu \
Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 \
GNU/Linux<br></div><div><br></div><div>uwsgi config didn&#39;t \
change</div><div>Before uwsgi we have nginx (and before it another front nginx in \
another server and before it we added a proxy protection few days ago)<br><br>If we \
knew what changed I guess we were able to fix it. But again, this happens in ALL \
uwsgi using apps. (but not in gunicorn using apps)</div></div><div \
class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div \
dir="ltr"><div><br></div><div dir="rtl"><br></div><div>Twitter:<a \
href="https://twitter.com/alonisser" target="_blank">@alonisser</a></div><div><a \
href="http://www.linkedin.com/in/alonisser" target="_blank">LinkedIn  \
Profile</a></div><div><a href="https://www.facebook.com/alonisser" \
target="_blank">Facebook</a></div><div><b>Tech blog:</b><a \
href="http://4p-tech.co.il/blog" \
target="_blank">4p-tech.co.il/blog</a></div><div><b>Personal Blog:</b><a \
href="http://degeladom.wordpress.com" \
target="_blank">degeladom.wordpress.com</a></div><div>Tel:972-54-6734469</div></div></div></div>
 <br><div class="gmail_quote">On Tue, Dec 1, 2015 at 3:14 PM, Riccardo Magliocchetti \
<span dir="ltr">&lt;<a href="mailto:riccardo.magliocchetti@gmail.com" \
target="_blank">riccardo.magliocchetti@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hello,<span class=""><br> <br>
Il 01/12/2015 13:42, alonn ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> 2 apps are using uwsgi 2.0.11.1 and one 2.0.9. two of them \
(different two) use<br> uwsgi http workers and one uses buffered uwsgi<br>
configurations attached beneath.<br>
<br>
Suddenly, since a few days ago, we get a strange (and bad) condition in our AWS<br>
app server:   All uwsgi process cpu usage sky rockets to 100%. and stuck there,<br>
not processing requests and fail to stop unless I kill them.<br>
</blockquote>
<br></span>
Which kernel and distribution are you using? What may have changed few days ago? a \
distro update, an updated application, uwsgi config change, etc...<br> <br>
What do you have in front of uwsgi? Is it misbehaving too?<span class="HOEnZb"><font \
color="#888888"><br> <br>
-- <br>
Riccardo Magliocchetti<br>
@rmistaken<br>
<br>
<a href="http://menodizero.it" rel="noreferrer" \
target="_blank">http://menodizero.it</a></font></span><div class="HOEnZb"><div \
class="h5"><br> _______________________________________________<br>
uWSGI mailing list<br>
<a href="mailto:uWSGI@lists.unbit.it" target="_blank">uWSGI@lists.unbit.it</a><br>
<a href="http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi" rel="noreferrer" \
target="_blank">http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi</a><br> \
</div></div></blockquote></div><br></div>



_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic