[tor-bugs] #9250 [Tor Browser]: strange TERM signal

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 1 05:26:43 UTC 2015


#9250: strange TERM signal
-----------------------------+--------------------------------
     Reporter:  Envite       |      Owner:  erinn
         Type:  defect       |     Status:  needs_information
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:  Tor: 0.2.3.25
   Resolution:               |   Keywords:  TERM, needs-triage
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by TORques):

 '''"jul 05 09:13:03.107 [Notice] Catching signal TERM, exiting
 cleanly."'''

 The [Notice] Catching signal TERM, exiting cleanly. appears if the TOR
 server got a Signal INT from a controller. Signal.INT = Close listeners
 and exit TOR gracefully (30 s). Tested.

 Here is an example coded in Python with STEM libs.

 {{{
 import sys
 from stem import Signal
 from stem.control import Controller
   if sys.argv[1] == "INT":
     controller.signal(Signal.INT)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9250#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list