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

List:       uwsgi
Subject:    Re: [uWSGI] Can I use SIGPROF based sampling profiler with uWSGI?
From:       INADA Naoki <songofacandy () gmail ! com>
Date:       2015-12-30 11:32:54
Message-ID: CAEfz+TyduoZ5KapD5SLMEmxdxWS2vLBErFkNOJqcbPuETmpNkQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you for your quick reply.

I'll try it in next year.

Have a nice holidays.

On Wed, Dec 30, 2015 at 8:25 PM, Roberto De Ioris <roberto@unbit.it> wrote:

>
> > Hi.
> >
> > I read this article and I want to do similar profiling in uWSGI.
> > https://nylas.com/blog/performance
> >
> > But I'm not detailed with uWSGI's signal handling.
> >
> > Can I use SIGPROF in Python on uWSGI?
> > What happen when receiving SIGPROF outside of Python?
>
>
> You can override any signal from python adding the --py-call-osafterfork
> option. So yes, you can use it
>
> --
> Roberto De Ioris
> http://unbit.com
> _______________________________________________
> uWSGI mailing list
> uWSGI@lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
INADA Naoki  <songofacandy@gmail.com>

[Attachment #5 (text/html)]

<div dir="ltr">Thank you for your quick reply.<div><br></div><div>I&#39;ll try it in \
next year.</div><div><br></div><div>Have a nice holidays.</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 30, 2015 at 8:25 PM, \
Roberto De Ioris <span dir="ltr">&lt;<a href="mailto:roberto@unbit.it" \
target="_blank">roberto@unbit.it</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class=""><br> &gt; Hi.<br>
&gt;<br>
&gt; I read this article and I want to do similar profiling in uWSGI.<br>
&gt; <a href="https://nylas.com/blog/performance" rel="noreferrer" \
target="_blank">https://nylas.com/blog/performance</a><br> &gt;<br>
&gt; But I&#39;m not detailed with uWSGI&#39;s signal handling.<br>
&gt;<br>
&gt; Can I use SIGPROF in Python on uWSGI?<br>
&gt; What happen when receiving SIGPROF outside of Python?<br>
<br>
<br>
</span>You can override any signal from python adding the --py-call-osafterfork<br>
option. So yes, you can use it<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Roberto De Ioris<br>
<a href="http://unbit.com" rel="noreferrer" target="_blank">http://unbit.com</a><br>
_______________________________________________<br>
uWSGI mailing list<br>
<a href="mailto:uWSGI@lists.unbit.it">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> \
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature">INADA Naoki   &lt;<a href="mailto:songofacandy@gmail.com" \
target="_blank">songofacandy@gmail.com</a>&gt;</div> </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