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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun May 28 18:47:10 UTC 2017


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

Comment (by DeS):

 Replying to [comment:30 cypherpunks]:
 > Do you have a system monitoring in place that shows you memory usage
 over time?
 > (i.e. munin) Can you attach the following graphs:
 > - memory usage
 > - swap usage
 > - swap in/out per second
 >
 > Also consider adding the following to your currently running regularly
 data collection scripts so we might find out what else is using your
 memory so that tor only gets a small chunk of your 4GB.
 > {{{
 > ps aux --sort=-%mem
 > }}}

 I have no munin running up to know. But let me through at you what I have.

 1) Logs wich show that a process died and was restartet from today
 {{{
 Son Mai 28 03:50:06 CEST 2017 Process tor1 is not running -> starting
 Son Mai 28 04:27:01 CEST 2017 Process tor2 is not running -> starting
 Son Mai 28 04:32:13 CEST 2017 Process tor2 is not running -> starting
 }}}
 This will give use the rough time of three events today

 2) Next syslog (shortened) will show what happend
 https://trac.torproject.org/projects/tor/attachment/ticket/22255/syslog20170528
 3) I use smem all 5 minutes to provide infos about the process memory
 (should be like ps aux) usage see attachment
 https://trac.torproject.org/projects/tor/attachment/ticket/22255/SMEM20170528.log

 I hope that gives you what you need. If not - let me know what tools would
 provide the best suitible output for you and I see to it.

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


More information about the tor-bugs mailing list