#19895: make CollecTor stop after RunOnce
-------------------------------+---------------------------------
 Reporter:  iwakeh             |          Owner:  iwakeh
     Type:  enhancement        |         Status:  needs_revision
 Priority:  Medium             |      Milestone:  CollecTor 1.1.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------------
Changes (by karsten):

 * status:  needs_review => needs_revision


Comment:

 Hmm, it seems that I'm running out of non-daemon threads now.  Execution
 stops immediately after writing this log file:

 {{{
 $ cat collector-all.log
 2016-08-24 12:34:05,688 INFO o.t.c.cron.Scheduler:80 Single run for
 org.torproject.collector.relaydescs.ArchiveWriter.
 2016-08-24 12:34:05,724 INFO o.t.c.cron.Scheduler:130 New Thread created:
 CollecTor-Scheduled-Thread-1
 }}}

 Here's my config file, as compared to defaults:

 {{{
 $ diff src/main/resources/collector.properties collector.properties
 10c10
 < RunOnce = false
 ---
 > RunOnce = true
 24c24
 < RelaydescsActivated = false
 ---
 > RelaydescsActivated = true
 83c83
 < DownloadRelayDescriptors = false
 ---
 > DownloadRelayDescriptors = true
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19895#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to