1. 27 Feb, 2019 1 commit
  2. 26 Feb, 2019 3 commits
    • juga's avatar
      scanner: stop threads when there're not destinations · 3fe64b06
      juga authored
      Exit the scanner with error stoping threads first when there is not
      any functional destination, since the destinations can not be recovered.
      After merging #28897, `stop_threads` can be used (instroduced in #28869).
      3fe64b06
    • juga's avatar
      destination: record consecutive failures · 84e5d82c
      juga authored
      Add methods to store consecutive destination failures and retrieve
      the destinations that are still functional.
      Since destinations can fail because of Tor circuits, it's not count
      individual failures but consecutives one.
      Also exit with error if there are no functional destinations left.
      The maximum number of consecuitve failures is set to 10, but it
      may need to be changed depending on the percentage of circuits and
      requests that fail.
      84e5d82c
    • juga's avatar
      destination: stop running twice usability tests · d33ac8f6
      juga authored
      in every measurement.
      This removes the need for an extra lock for every measurement
      It should also not be depending on a time interval, but on the
      number of failures detected.
      Not counting number of failures since it would need to modify the
      destination or list of at runtime. It should be done in a future
      refactor.
      
      Fixes bug #28897. Bugfix v0.3.0
      d33ac8f6
  3. 23 Feb, 2019 1 commit
  4. 18 Feb, 2019 1 commit
  5. 12 Feb, 2019 1 commit
  6. 04 Feb, 2019 10 commits
  7. 23 Jan, 2019 1 commit
  8. 11 Jan, 2019 1 commit
  9. 09 Jan, 2019 1 commit
  10. 02 Jan, 2019 1 commit
    • juga's avatar
      scanner: log backtrace when not progressing · a550d731
      juga authored
      When sbws stalls after the prioritization loop waiting for thread
      results, give it some minutes and otherwise log the backtrace.
      This way if there's any bug or deadlock, operators can help to
      debug it.
      a550d731
  11. 14 Dec, 2018 1 commit
  12. 12 Dec, 2018 4 commits
  13. 09 Dec, 2018 8 commits
  14. 03 Dec, 2018 1 commit
  15. 22 Nov, 2018 1 commit
  16. 29 Oct, 2018 1 commit
  17. 28 Oct, 2018 1 commit
    • juga's avatar
      Stop measuring the same relay by 2 threads · 8b79b6c4
      juga authored
      After the all the relays in a subset that has been prioritized
      have been measured, there might be still pending results, what would
      make that before a thread has ended measuring it, the results
      have not been dumped and prioritization is calculated again, and
      that relay will have a high priority.
      8b79b6c4
  18. 06 Sep, 2018 1 commit
  19. 05 Sep, 2018 1 commit
    • juga's avatar
      Revert "Exit on OSError when building circuit" · c1a6eb9d
      juga authored
      This reverts commit ede9feda3b6285c9e04a162dc393afa5e734d7e3.
      An exception trying to write to log file when there is not disk
      space can happen anywhere in the code
      c1a6eb9d