[tor-bugs] #23751 [Core Tor/Tor]: [warn] tor_bug_occurred_: Bug: src/common/buffers.c, etc.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 5 05:13:37 UTC 2017


#23751: [warn] tor_bug_occurred_: Bug: src/common/buffers.c, etc.
------------------------------------------------+--------------------------
 Reporter:  Felixix                             |          Owner:  (none)
     Type:  defect                              |         Status:  new
 Priority:  High                                |      Milestone:  Tor:
                                                |  0.3.2.x-final
Component:  Core Tor/Tor                        |        Version:
 Severity:  Normal                              |     Resolution:
 Keywords:  tor-channel, tor-sched, tor-buffer  |  Actual Points:
Parent ID:                                      |         Points:
 Reviewer:                                      |        Sponsor:
------------------------------------------------+--------------------------

Comment (by Felixix):

 The number of circuits for this particular tor process was pretty high
 (200k) for hours compared to other relays (typ <20k).
 An increase in mbuf clusters usage could be observed after one day and
 having set the MaxMemInQueues higher.

 I changed from
 `MaxMemInQueues 2 GB`
 to
 `MaxMemInQueues 4 GB`
 service tor reload

 {{{
 Oct 01 08:20:52.000 [notice] Received reload signal (hup). Reloading
 config and resetting internal state.
 Oct 01 08:20:52.000 [notice] Read configuration file
 "/usr/local/etc/tor/torrc".
 }}}

 The last 4 minutes (on minutes log base)

 top -nCSjI
 {{{
                       PID     JID USERNAME    THR PRI NICE   SIZE    RES
 STATE   C   TIME     CPU COMMAND
 2017-10-02_02-57-00:66451       5    256        6  20    0  3050M  2984M
 uwait   0  71.9H  11.87% tor
 2017-10-02_02-58-00:66451       5    256        6  20    0  3054M  2986M
 uwait   3  71.9H  11.47% tor
 2017-10-02_02-59-00:66451       5    256        6  20    0  3054M  2986M
 uwait   2  71.9H 100.00% tor
 2017-10-02_03-00-00:66451       5    256        6  20    0  3054M  2986M
 uwait   2  71.9H 100.00% tor
 }}}

 netstat -m | grep "mbuf clusters in use"
 {{{
 2017-10-02_02-57-00: 2508/43038/45546/2035262 mbuf clusters in use
 (current/cache/total/max)
 2017-10-02_02-58-00: 2552/42994/45546/2035262 mbuf clusters in use
 (current/cache/total/max)
 2017-10-02_02-59-00: 19335/26211/45546/2035262 mbuf clusters in use
 (current/cache/total/max)
 2017-10-02_03-00-00: 33636/11910/45546/2035262 mbuf clusters in use
 (current/cache/total/max)
 }}}

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


More information about the tor-bugs mailing list