[tor-relays] MaxMemInQueues defends against 375000 circuits in 9 secs

Felix zwiebel at quantentunnel.de
Tue Sep 26 18:46:39 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi everybody

Another circuit storm, right ?

- ----

MaxMemInQueues 2 GB

- ----

2017-09-26_17-55-00:
 PID JID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU COMMAND
84847 2 256 6 20 0 484M 427M uwait 0 907:02 11.77% tor


2017-09-26_18-59-00:
 PID JID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU COMMAND
84847 2 256 6 20 0 2437M 2380M uwait 0 917:03 18.26% tor

- ----

On Tor 0.3.2.1-alpha 290274dbb5428bc5

Sep 26 18:24:37.000 [notice] Heartbeat: Tor's uptime is 4 days 18:59
hours, with 13714 circuits open. I've sent 2459.48 GB and received
2422.58 GB.
Sep 26 18:24:37.000 [notice] Circuit handshake stats since last time:
4635/4635 TAP, 113271/113271 NTor.
Sep 26 18:24:37.000 [notice] Since startup, we have initiated 0 v1
connections, 0 v2 connections, 3 v3 connections, and 214559 v4
connections; and received 886 v1 connections, 24624 v2 connections,
60722 v3 connections, and 354411 v4 connections.
Sep 26 18:59:28.000 [notice] We're low on memory. Killing circuits
with over-long queues. (This behavior is controlled by MaxMemInQueues.)
Sep 26 18:59:28.000 [notice] Removed 106528 bytes by killing 14408
circuits; 0 circuits remain alive. Also killed 0 non-linked directory
connections.
Sep 26 18:59:28.000 [notice] We're low on memory. Killing circuits
with over-long queues. (This behavior is controlled by MaxMemInQueues.)
Sep 26 18:59:28.000 [notice] Removed 528 bytes by killing 7 circuits;
0 circuits remain alive. Also killed 0 non-linked directory connections.

...

************************************************************************
****************
2500 x removed some bytes by killing between single and 300 circuits
(constantly increasing sawtoothy, average 150 circuits)
average 150 circuits x 2500 = 375000 circuits avoided in 9 seconds
************************************************************************
****************

...

Sep 26 18:59:37.000 [notice] We're low on memory. Killing circuits
with over-long queues. (This behavior is controlled by MaxMemInQueues.)
Sep 26 18:59:37.000 [notice] Removed 4624 bytes by killing 115
circuits; 0 circuits remain alive. Also killed 1 non-linked directory
connections.

[] https://
 lists.torproject.org/pipermail/tor-relays/2017-July/012624.html

- -- 
Cheers, Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZyqCOAAoJEF1W24InZUQd/eAQAIK7IDNbnR+E1uTpvVwimUCJ
jrSPr5sCXu8t4ly0Tci/tg7mCGTd9xKJvJgUHLei7pd6UmdDJvwajrX08tE/iBC/
uJPLEr69OBBqDICf7E+Y4oQGRz4ICY/4IGeb7lU/My6TzT00gHcs0/0tuww1actm
P06uobAeRx+56GCg9hGopLavSOIHsR0bFC3k5kqin79qx40XwNuN6xkFCDni/fHW
EO9GazD2iE4zJ3+1lIJsIzaA7fgu+Ack2GcLpaPKMNMwX3DagG/A619HsddOoBfH
EFV2ZOhnR9XWytgIfPX4e/gErTHvWPshm0qaO4PzxwAlAoSKygvz497O1HZ3AlM+
fcn+C/fkfCcU2PYVPXKV3vDzupiZ17OJGfRNtAy1EqFLCK6q7xQAp1e3JuRJZBDO
3E/18FJM7JXCUz5StxwB+oAu9LGib50vXbtAOtuLwfX4OC3Nl0Fc/gw0ueYwWIPu
QvsU0WNelwaUo3wWs47fJsMsJqjpt0Uywh8yvK809xvqogUFiQBF2ynIp5QzfaJ0
or/7axRHXglkxVaF+q84GFG8LAaspurGauQQFtzUdzl/ljWC963PyrGiOr0kCj/R
OIc3TDSDYopFTllXeeVu2bysW7PrzL3vu5rcOHbbVAnUoRukA4Hh6qJFQuTk+Ndb
tT8G8jk1QJjRqH/IaTLg
=r7/i
-----END PGP SIGNATURE-----


More information about the tor-relays mailing list