[tor-bugs] #22255 [Core Tor]: Frequent OOM kills of tor precess

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 15 17:08:13 UTC 2017


#22255: Frequent OOM kills of tor precess
----------------------+------------------------------------
 Reporter:  DeS       |          Owner:
     Type:  defect    |         Status:  new
 Priority:  Medium    |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor  |        Version:
 Severity:  Normal    |     Resolution:
 Keywords:            |  Actual Points:
Parent ID:            |         Points:
 Reviewer:            |        Sponsor:
----------------------+------------------------------------

Comment (by DeS):

 I uploaded the output of a script I made. It shows memory usage as result
 of following commands and runs every 60 seconds.

 {{{
 ....
 #!/bin/bash -e

 export LC_ALL=C
 FILE=/home/user/mem.log
 echo "      date     time $(free -m | grep total | sed -E 's/^
 (.*)/\1/g')" >>$FILE
 while true; do
     echo "$(date '+%Y-%m-%d %H:%M:%S') $(/usr/bin/free -m | grep Mem: |
 sed 's/Mem://g')" >>$FILE
     echo "$(date '+%Y-%m-%d %H:%M:%S') $(/usr/bin/free -m | grep Swap: |
 sed 's/Swap://g')" >>$FILE
     sleep 60
 done


 }}}
 You can see it starts 3 days ago. Always the amount is quite stable around
 usage of 1563 Mbyte.
 If you fast forward to
 [https://trac.torproject.org/projects/tor/attachment/ticket/22255/mem.log#L4448
 Line 4448 of mem.log] which is about 1 hour before this documented OOM you
 will see a fast increase of the memory usage to 3706 Mbyte before the
 process is killed.

 Many thanks for your support and help

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


More information about the tor-bugs mailing list