[prev in list] [next in list] [prev in thread] [next in thread]
List: uwsgi
Subject: Re: [uWSGI] partial restarting
From: Tim Tisdall <tisdall () gmail ! com>
Date: 2014-05-28 14:51:40
Message-ID: CAGxYWpaURjmu_VK=nR2e4qJ2K3v+WGtAGjCaARBDpGHJ+G-uZw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
good point. :) I should have thought of that. Thanks.
On Wed, May 28, 2014 at 10:49 AM, =C5=81ukasz Mierzwa <l.mierzwa@gmail.com>=
wrote:
> Just stop this process using SIGTERM, you don't need any special signal
> handling for that. uWSGI will restart any daemon if it exits.
>
>
> 2014-05-28 16:41 GMT+02:00 Tim Tisdall <tisdall@gmail.com>:
>
>> I was using "attach-daemon" to run some support processes that I'd like
>> to keep running when I do a restart. I found in the docs
>> "smart-attach-daemon2" to keep the process running on restart, but what =
do
>> you do if you want to restart one of those attached daemon processes? D=
oes
>> the process need to handle signals itself and then I just send a signal
>> directly to that process?
>>
>> Or would I need to switch to "attach-daemon2" for this type of thing?
>>
>> - Tim
>>
>> _______________________________________________
>> uWSGI mailing list
>> uWSGI@lists.unbit.it
>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>
>>
>
>
> --
> =C5=81ukasz Mierzwa
>
> _______________________________________________
> uWSGI mailing list
> uWSGI@lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
>
[Attachment #5 (text/html)]
<div dir="ltr">good point. :) I should have thought of that. Thanks.</div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 10:49 \
AM, Łukasz Mierzwa <span dir="ltr"><<a href="mailto:l.mierzwa@gmail.com" \
target="_blank">l.mierzwa@gmail.com</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Just stop this process using SIGTERM, you \
don't need any special signal handling for that. uWSGI will restart any daemon if \
it exits.</div> <div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-28 \
16:41 GMT+02:00 Tim Tisdall <span dir="ltr"><<a href="mailto:tisdall@gmail.com" \
target="_blank">tisdall@gmail.com</a>></span>:<br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
class=""><div dir="ltr"><div>I was using "attach-daemon" to run some \
support processes that I'd like to keep running when I do a restart. I found in \
the docs "smart-attach-daemon2" to keep the process running on restart, but \
what do you do if you want to restart one of those attached daemon processes? Does \
the process need to handle signals itself and then I just send a signal directly to \
that process?</div>
<div><br></div><div>Or would I need to switch to "attach-daemon2" for this \
type of thing?</div><span><font color="#888888"><div><br></div><div>- Tim</div> \
</font></span></div> <br></div>_______________________________________________<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" \
target="_blank">http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi</a><br> \
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br \
clear="all"><div><br></div>-- <br>Łukasz Mierzwa </font></span></div>
<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" \
target="_blank">http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi</a><br> \
<br></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