On 23 May 2017, at 04:29, tor-relay.dirk@o.banes.ch wrote:
we are operating two exit nodes with each two tor processes out of Switzerland. The nodes worked quite stable until about 2-3 weeks ago.
Since then we experience frequent disruptions (Up to several times a day). This is caused by a significant rise in memory consumption by the tor processes and ends with a tor process being killed by the Linux Kernel:
May 22 00:30:43 tor2 kernel: [2257156.134100] Killed process 40964 (tor) total-vm:448088kB, anon-rss:0kB, file-rss:0kB
Your process is being killed when using 0.45 GB of RAM.
On my Exit, which handles about 150 Mbps, it is normal for tor to use 900 MB of RAM or more.
To reduce this, you could try setting: DirPort 0 DirCache 0
The systems are physical machines with Ubuntu 14.04.5 LTS with 4 GB of memory. This was sufficient the last 2 years.
If two tor process are using 0.5 GB, what is using the other 3 GB?
T
-- Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B ricochet:ekmygaiu4rzgsk6n xmpp: teor at torproject dot org ------------------------------------------------------------------------