[metrics-bugs] #24534 [Metrics/ExoneraTor]: Exonerator is down
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Dec 7 20:46:59 UTC 2017
#24534: Exonerator is down
--------------------------------+------------------------------
Reporter: atagar | Owner: metrics-team
Type: defect | Status: new
Priority: High | Milestone:
Component: Metrics/ExoneraTor | Version:
Severity: Major | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------+------------------------------
Comment (by iwakeh):
Further investigation lead to a thread dump with 200 waiting backend
queries, but no such query thread.
Logs didn't reveal anything suspicious except very few errors due to weird
data input (reproducible by entering an ipv6 address with additional
percent sign number combination).
In addition, ExoneraTor often is queried more than 3 times per second,
which is surprising, but not at all a performance problem.
Thus, a temporary measure can be to simply catch all possible errors and
then proceed when we catch something.
Please find a minimal catch-all patch
[https://gitweb.torproject.org/user/iwakeh/exonerator.git/commit/?h=task-24534
-debug-
patch&id=a8bb4babdb0a55e5f78b9d226c59145c16f06bff&context=3&ignorews=1&dt=0
here] (all changes other than adding try-catch were made to avoid
checkstyle complaints).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24534#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list