[tor-bugs] #24501 [Core Tor/Tor]: When we hit MaxMemInQueues, make the log message more quantitative

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 17 15:08:37 UTC 2017


#24501: When we hit MaxMemInQueues, make the log message more quantitative
--------------------------+------------------------------------
 Reporter:  arma          |          Owner:  (none)
     Type:  defect        |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by Hello71):

 I think the commit summary could be better. "Add numbers to OOM log msg"
 still leaves you with a bunch of characters for other stuff, like the
 ticket number.

 Tor doesn't use Signed-off-by.

 'z' format qualifier isn't used in other places in Tor. I think a
 discussion might be needed before it's introduced. also, %zd is invalid to
 print size_t. use %zu.

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


More information about the tor-bugs mailing list