#18642: Teach the OOM handler about the DNS cache ---------------------------------------+---------------------------------- Reporter: nickm | Owner: (none) Type: enhancement | Status: new Priority: Medium | Milestone: Tor: unspecified Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: tor-dos oom tor-relay dns | Actual Points: Parent ID: | Points: 1 Reviewer: | Sponsor: SponsorV-can ---------------------------------------+----------------------------------
Comment (by neel): My PR is available here: https://github.com/torproject/tor/pull/223 What I do for the OOM handler in this PR is that I clear the cache with `purge_expired_resolves()` with `now` as the current time, and increase the interval by an hour until either we cleared enough memory or there are no more entries. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18642#comment:17> 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