[tor-bugs] #33367 [Circumvention/Snowflake]: Snowflake server using 1.5 GB memory, preventing other allocations

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 18 19:22:54 UTC 2020


#33367: Snowflake server using 1.5 GB memory, preventing other allocations
-------------------------------------+------------------------
 Reporter:  dcf                      |          Owner:  (none)
     Type:  defect                   |         Status:  new
 Priority:  Medium                   |      Milestone:
Component:  Circumvention/Snowflake  |        Version:
 Severity:  Normal                   |     Resolution:
 Keywords:                           |  Actual Points:
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:
-------------------------------------+------------------------

Comment (by dcf):

 I did `service tor restart` at 2020-02-18 19:15:30, which immediately
 relieved the memory pressure.

 I'm running a simple loop to make a log of memory usage:
 {{{
 while true; do \
   stdbuf -o 0 printf '%s,%s\n' \
     "$(free | tail -n +2 | head -n 1 | gawk 'BEGIN {OFS=","}
 {$1=strftime("%Y-%m-%d %H:%M:%S", systime(), 1); print}')" \
     "$(pidof snowflake-server)" \
   sleep 30 \
 done >> mem.log
 }}}

 ||=date=||=total=||=used=||=free=||=shared=||=buff/cache=||=available=||=pid=||
 ||2020-02-18 19:14:17|| 2050352|| 1872184|| 63904|| 97116|| 114264||
 16074|| 26910||
 ||2020-02-18 19:14:47|| 2050352|| 1857036|| 80360|| 97116|| 112956||
 12912|| 26910||
 ||2020-02-18 19:15:17|| 2050352|| 1856508|| 79384|| 97116|| 114460||
 12736|| 26910||
 ||2020-02-18 19:15:47|| 2050352|| 262348|| 1655960|| 97116|| 132044||
 1598992|| ||
 ||2020-02-18 19:16:18|| 2050352|| 235200|| 1604900|| 97116|| 210252||
 1587252|| 6710||
 ||2020-02-18 19:16:48|| 2050352|| 265172|| 1558428|| 97116|| 226752||
 1554828|| 6710||
 ||2020-02-18 19:17:18|| 2050352|| 264920|| 1558276|| 97116|| 227156||
 1555088|| 6710||
 ||2020-02-18 19:17:48|| 2050352|| 263456|| 1559728|| 97116|| 227168||
 1557708|| 6710||

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


More information about the tor-bugs mailing list