Memory is running out and Discourse stops working

Get current status and then update, full=1 is intense but it only takes 2-3 seconds on meta, I guess droplets can be slow.

Wait, so stuff lasted for 24 hours? Was it working for 24 hours in a row prior? Very curious to see stats.

##/admin/memory_stats output

forum pid:1207 unicorn worker 1   E production  c config/unicorn conf rb

GC STATS:
count: 295
heap_used: 2937
heap_length: 2937
heap_increment: 0
heap_live_num: 595662
heap_free_num: 599113
heap_final_num: 0
total_allocated_object: 121166824
total_freed_object: 120571162

Objects:
TOTAL: 1194773
FREE: 599064
T_STRING: 304782
T_ARRAY: 77713
T_DATA: 68404
T_OBJECT: 52478
T_NODE: 41734
T_HASH: 27694
T_CLASS: 11619
T_REGEXP: 3746
T_ICLASS: 3629
T_MODULE: 1661
T_STRUCT: 1305
T_RATIONAL: 891
T_MATCH: 15
T_BIGNUM: 14
T_FILE: 12
T_FLOAT: 11
T_COMPLEX: 1

Process Info:
Name:	ruby
State:	S (sleeping)
Tgid:	1207
Ngid:	0
Pid:	1207
PPid:	66
TracerPid:	0
Uid:	1000	1000	1000	1000
Gid:	33	33	33	33
FDSize:	64
Groups:	33 
VmPeak:	 1252100 kB
VmSize:	 1252096 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	  357100 kB
VmRSS:	  332376 kB
VmData:	 1028312 kB
VmStk:	     136 kB
VmExe:	    2736 kB
VmLib:	   25976 kB
VmPTE:	    1416 kB
VmSwap:	  100388 kB
Threads:	7
SigQ:	0/15845
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000000000
SigIgn:	0000000008301801
SigCgt:	0000000182006646
CapInh:	00000000a80425fb
CapPrm:	0000000000000000
CapEff:	0000000000000000
CapBnd:	00000000a80425fb
Seccomp:	0
Cpus_allowed:	3
Cpus_allowed_list:	0-1
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	160773
nonvoluntary_ctxt_switches:	475835


Classes:
Class report omitted use ?full=1 to include it

##Running /admin/memory_stats?full=1
After waiting just displays

Differences in memory stats in visual (before update.)

Before update.

  System information as of Tue Feb 10 06:46:55 EST 2015

  System load:  0.05               Processes:              128
  Usage of /:   63.9% of 39.25GB   Users logged in:        1
  Memory usage: 69%                IP address for eth0:    
  Swap usage:   4%                 IP address for docker0:

You are looking at different pids there, each time you run it may hit a different unicorn worker.

Memory looks fine there btw.

Refreshing multiple times only got me workers 1 and 2 - here is two:
##Before Update
###Worker 2

forum pid:16116 unicorn worker 2   E production  c config/unicorn conf rb

GC STATS:
count: 52
heap_used: 2937
heap_length: 2937
heap_increment: 0
heap_live_num: 574092
heap_free_num: 620714
heap_final_num: 0
total_allocated_object: 5894241
total_freed_object: 5320149

Objects:
TOTAL: 1194778
FREE: 620639
T_STRING: 298113
T_ARRAY: 72261
T_DATA: 66426
T_OBJECT: 47993
T_NODE: 41503
T_HASH: 25365
T_CLASS: 11554
T_REGEXP: 3682
T_ICLASS: 3382
T_MODULE: 1659
T_STRUCT: 1257
T_RATIONAL: 891
T_MATCH: 15
T_BIGNUM: 14
T_FILE: 12
T_FLOAT: 11
T_COMPLEX: 1

Process Info:
Name:	ruby
State:	S (sleeping)
Tgid:	16116
Ngid:	0
Pid:	16116
PPid:	66
TracerPid:	0
Uid:	1000	1000	1000	1000
Gid:	33	33	33	33
FDSize:	64
Groups:	33 
VmPeak:	 1057516 kB
VmSize:	 1056492 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	  189504 kB
VmRSS:	  189504 kB
VmData:	  834776 kB
VmStk:	     136 kB
VmExe:	    2736 kB
VmLib:	   25964 kB
VmPTE:	    1028 kB
VmSwap:	   44644 kB
Threads:	7
SigQ:	0/15845
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000000000
SigIgn:	0000000008301801
SigCgt:	0000000182006646
CapInh:	00000000a80425fb
CapPrm:	0000000000000000
CapEff:	0000000000000000
CapBnd:	00000000a80425fb
Seccomp:	0
Cpus_allowed:	3
Cpus_allowed_list:	0-1
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	2427
nonvoluntary_ctxt_switches:	4392


Classes:
Class report omitted use ?full=1 to include it

##Update Complete

Now running Discourse 1.2.0.beta6 - https://github.com/discourse/discourse version 38279c79c9941426c579ea0ee133b27786cdf4c6

####Approx build timestamps

Start 2015-02-11T09:44:37.869556
End 2015-02-11T09:54:07.770672

Memory Stats

####Worker

forum pid:119 unicorn worker     E production  c config/unicorn conf rb

GC STATS:
count: 53
heap_used: 3015
heap_length: 3015
heap_increment: 0
heap_live_num: 488867
heap_free_num: 737639
heap_final_num: 0
total_allocated_object: 4404260
total_freed_object: 3915393

Objects:
TOTAL: 1226503
FREE: 737589
T_STRING: 270131
T_DATA: 60843
T_ARRAY: 52132
T_NODE: 37200
T_HASH: 25831
T_OBJECT: 24087
T_CLASS: 9436
T_REGEXP: 3379
T_ICLASS: 3011
T_MODULE: 1367
T_RATIONAL: 891
T_STRUCT: 559
T_MATCH: 15
T_BIGNUM: 12
T_FLOAT: 11
T_FILE: 8
T_COMPLEX: 1

Process Info:
Name:	ruby
State:	S (sleeping)
Tgid:	119
Ngid:	0
Pid:	119
PPid:	66
TracerPid:	0
Uid:	1000	1000	1000	1000
Gid:	33	33	33	33
FDSize:	64
Groups:	33 
VmPeak:	  455800 kB
VmSize:	  451708 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	  198712 kB
VmRSS:	  198452 kB
VmData:	  234216 kB
VmStk:	     136 kB
VmExe:	    2736 kB
VmLib:	   25864 kB
VmPTE:	     868 kB
VmSwap:	       0 kB
Threads:	6
SigQ:	0/15845
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000000000
SigIgn:	0000000008301801
SigCgt:	0000000182006646
CapInh:	00000000a80425fb
CapPrm:	0000000000000000
CapEff:	0000000000000000
CapBnd:	00000000a80425fb
Seccomp:	0
Cpus_allowed:	3
Cpus_allowed_list:	0-1
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	397
nonvoluntary_ctxt_switches:	1134


Classes:
Class report omitted use ?full=1 to include it

####Worker 2

forum pid:142 unicorn worker 2   E production  c config/unicorn conf rb

GC STATS:
count: 52
heap_used: 3015
heap_length: 3015
heap_increment: 0
heap_live_num: 486912
heap_free_num: 739594
heap_final_num: 0
total_allocated_object: 4338328
total_freed_object: 3851416

Objects:
TOTAL: 1226503
FREE: 739544
T_STRING: 268693
T_DATA: 60754
T_ARRAY: 52186
T_NODE: 37175
T_HASH: 25727
T_OBJECT: 23797
T_CLASS: 9428
T_REGEXP: 3379
T_ICLASS: 2973
T_MODULE: 1366
T_RATIONAL: 891
T_STRUCT: 542
T_MATCH: 15
T_BIGNUM: 12
T_FLOAT: 11
T_FILE: 9
T_COMPLEX: 1

Process Info:
Name:	ruby
State:	S (sleeping)
Tgid:	142
Ngid:	0
Pid:	142
PPid:	66
TracerPid:	0
Uid:	1000	1000	1000	1000
Gid:	33	33	33	33
FDSize:	64
Groups:	33 
VmPeak:	  451712 kB
VmSize:	  451708 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	  198580 kB
VmRSS:	  198580 kB
VmData:	  234216 kB
VmStk:	     136 kB
VmExe:	    2736 kB
VmLib:	   25864 kB
VmPTE:	     868 kB
VmSwap:	       0 kB
Threads:	6
SigQ:	0/15845
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000000000
SigIgn:	0000000008301801
SigCgt:	0000000182006646
CapInh:	00000000a80425fb
CapPrm:	0000000000000000
CapEff:	0000000000000000
CapBnd:	00000000a80425fb
Seccomp:	0
Cpus_allowed:	3
Cpus_allowed_list:	0-1
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	362
nonvoluntary_ctxt_switches:	1011


Classes:
Class report omitted use ?full=1 to include it

####Post build / update system info

  System information as of Wed Feb 11 04:38:26 EST 2015

  System load:  0.39               Processes:              122
  Usage of /:   47.8% of 39.25GB   Users logged in:        0
  Memory usage: 59%                IP address for eth0:    
  Swap usage:   53%                IP address for docker0:

@sam the ?full=1 option now works since the update.

It’s too long to post here - would you like me to post it elsewhere (gist) and link?

On thing in the full output that is noticeable is that…

Quite a very translations strings are included, I wouldn’t expect those to be loaded.

String: size 21576 הכללים והתנאים הבאים חלים על כל שימוש באתר %{company_domain} וכל התוכן, השירותים והמוצרים הזמנים בו או דרכו, כולל, ולא רק, תוכנת הפורום %{company_domain, פורום התמיכה של %{company_domain ושירותי האירוח של %{company_domain ("אירוח") (להלן, "האתר"). האתר הוא בבעלות ומופעל על ידי %{company_full_name} ("%{company_name}").. האתר נתון להסכמתך ללא שינוי של כל הכללים והתנאים הכלולים כאן וכל כלל ומדיניות (כולל, וללא מגבלה,  [מדיניות הפרטיות] (/privacy)של %{company_domain} ו[כללי ההתנהגות הקהילתיים] (/faq)

RubyVM::InstructionSequence: size 21536

RubyVM::InstructionSequence: size 21464

String: size 21441 Les termes et conditions suivants régissent toute utilisation du site %{company_domain} et de son contenu, les produits et services disponibles sur ou via le site, y compris, mais sans s'y limiter, le logiciel du forum %{company_domain}, les forums du support %{company_domain} et le service d'hébergement %{company_domain} («Hébergement»), (qui constitue le site). Le site est détenu et exploité par %{company_full_name} ("%{company_name}"). Le site est offert sous réserve de votre acceptation sans 


String: size 18643 I seguenti termini e condizioni regolano l’uso del sito web %{company_domain} e di tutti i contenuti, i servizi e i prodotti disponibili direttamente sul sito web e mediante di esso, compresi, ma non limitatamente a, il Software Forum di %{company_domain}, il Forum di Supporto di %{company_domain} e il Servizio Hosting ("Hosting") di %{company_domain} (collettivamente chiamati nel seguito il Sito). Il Sito è di proprietà ed è gestito da %{company_full_name} ("%{company_name}"). L’uso del Sito è s

String: size 18457 Os seguintes termos e condições regem todo o uso do site %{company_domain} e todo o conteúdo, serviços e produtos disponíveis no ou através do site, incluindo, mas não limitado a, o Software do Fórum do %{company_domain}, o Fóruns de Suporte do %{company_domain} e o serviço de hospedagem ("hosting") do %{company_domain}, (em conjunto, o site). O site é propriedade e operada por %{company_full_name} ("%{company_name}"). O Site é oferecido sujeito à sua aceitação, sem modificação de todos os termos

String: size 16273 下面的条款及条件适用于 %{company_domain} 网站的所有内容、服务和产品,其方式通过网站,其中包括,但不限于 %{company_domain} 论坛软件、%{company_domain} 支持论坛和在 %{company_domain} 托管服务(“托管”)(一起称为,网站)。该网站属于 %{company_full_name}(“%{COMPANY_NAME}”)并由其运营。该网站要求你必须接受所有本文中所包含的条款和条件以及其他所有的规则、政策(包括修改,但不限于 %{company_domain} 的[隐私政策](/privacy)、[社群准则](/FAQ)和程序(统称“协议”),并可能不时由 %{COMPANY_NAME} 发布。访问或使用本网站之前,请仔细阅读本协议。访问或使用网站的任何部分,即代表你同意成为受本协议的条款和条件。如果你不同意所有的条款和本协议的条件,那么你可能无法访问网站或使用任何服务。若这些条款和条件被认为是与 %{COMPANY_NAME} 的合同,则你必须接受这些条款。本网站只提供给 13 岁以上个人。<a name="1"><

Yeah I noticed this, I will get that fixed tomorrow. If you want you can send a gist, but from looking at your stats they seem very similar to others I have looked at today.

2 Likes

Gist for you:
https://gist.github.com/DeanMarkTaylor/7d6ef6e723ba249d33bd

Just to confirm - yes I hadn’t restarted the instance, this post represents a accurate log of updates and restarts.

CitizensCode2GB-app pid:2406 unicorn worker 2   E production  c config/unicorn conf rb

GC STATS:
count: 112
heap_used: 4095
heap_length: 4095
heap_increment: 0
heap_live_num: 597815
heap_free_num: 1068024
heap_final_num: 0
total_allocated_object: 50936621
total_freed_object: 50338806

Objects:
TOTAL: 1665837
FREE: 1067975
T_STRING: 310070
T_ARRAY: 74746
T_DATA: 69509
T_OBJECT: 49222
T_NODE: 44485
T_HASH: 26469
T_CLASS: 12067
T_REGEXP: 3803
T_ICLASS: 3542
T_MODULE: 1751
T_STRUCT: 1249
T_RATIONAL: 894
T_MATCH: 15
T_FILE: 14
T_BIGNUM: 14
T_FLOAT: 11
T_COMPLEX: 1

Process Info:
Name:	ruby
State:	S (sleeping)
Tgid:	2406
Ngid:	0
Pid:	2406
PPid:	2299
TracerPid:	0
Uid:	1000	1000	1000	1000
Gid:	33	33	33	33
FDSize:	64
Groups:	33 
VmPeak:	  829732 kB
VmSize:	  829728 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	  585976 kB
VmRSS:	  582836 kB
VmData:	  605940 kB
VmStk:	     136 kB
VmExe:	    2736 kB
VmLib:	   25984 kB
VmPTE:	    1636 kB
VmSwap:	       0 kB
Threads:	7
SigQ:	0/31457
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000000000
SigIgn:	0000000008301801
SigCgt:	0000000182006646
CapInh:	00000000a80425fb
CapPrm:	0000000000000000
CapEff:	0000000000000000
CapBnd:	00000000a80425fb
Seccomp:	0
Cpus_allowed:	3
Cpus_allowed_list:	0-1
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	33184
nonvoluntary_ctxt_switches:	61938


Classes:
Class report omitted use ?full=1 to include it
1 Like

Thing about this is that all the numbers except RSS here are inline with what we would expect. Ruby heaps look good, VmPeak looks good.

Can you gather multiple snapshots in say 3 hour intervals from the same PID and paste here?

@DeanMarkTaylor I fixed the localization stuff, we no longer load all locales we just load on-demand as we need them.

1 Like

Each time I refresh /admin/memory_stats I get a new pid. Want me to do a screenshot of the htop screen, or is there a better way? If it helps:

There are only actually 3 process involved there so reload it a few times and you will get the same pid.

memory looks ok in the screenshot you just sent, you have one unicorn consuming 315M which is ok it already clocked an hour of cpu time so I assume it has been running for quite a few hours.

I’ll update in that case @sam.

##Before Update
###System Info

  System information as of Wed Feb 11 05:05:39 EST 2015

  System load:  0.08               Processes:              120
  Usage of /:   49.5% of 39.25GB   Users logged in:        0
  Memory usage: 65%                IP address for eth0:    
  Swap usage:   2%                 IP address for docker0: 

###Memory Stats
https://gist.github.com/DeanMarkTaylor/00e65b9dda0f4513086c
###Host Top

Tasks: 119 total,   1 running, 118 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.9 us,  1.8 sy,  0.0 ni, 91.3 id,  0.9 wa,  0.1 hi,  0.0 si,  0.0 st
KiB Mem:   2049988 total,  1981412 used,    68576 free,     1376 buffers
KiB Swap:  2097148 total,   502476 used,  1594672 free.   306772 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    1 root      20   0   33492    968    100 S   0.0  0.0   2:09.63 init
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.78 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   1:47.82 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
    7 root      20   0       0      0      0 S   0.0  0.0  25:47.11 rcu_sched
    8 root      20   0       0      0      0 S   0.0  0.0  12:24.95 rcuos/0
    9 root      20   0       0      0      0 S   0.0  0.0  11:33.04 rcuos/1
   10 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh
   11 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/0
   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/1
   13 root      rt   0       0      0      0 S   0.0  0.0   0:35.58 migration/0
   14 root      rt   0       0      0      0 S   0.0  0.0   0:21.10 watchdog/0
   15 root      rt   0       0      0      0 S   0.0  0.0   0:16.24 watchdog/1

###Instance Top

top - 07:14:20 up 24 days,  3:04,  0 users,  load average: 0.64, 0.26, 0.20
Tasks:  37 total,   1 running,  36 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.9 us,  1.8 sy,  0.0 ni, 91.3 id,  0.9 wa,  0.1 hi,  0.0 si,  0.0 st
KiB Mem:   2049988 total,  1980556 used,    69432 free,     3700 buffers
KiB Swap:  2097148 total,   502676 used,  1594472 free.   307648 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    1 root      20   0   21092     96     64 S   0.0  0.0   0:00.04 boot
   28 root      20   0     188     12      0 S   0.0  0.0   0:02.35 runsvdir
   29 root      20   0     168     12      0 S   0.0  0.0   0:00.02 runsv
   30 root      20   0     168     12      0 S   0.0  0.0   0:00.00 runsv
   31 root      20   0     168     12      0 S   0.0  0.0   0:00.01 runsv
   32 root      20   0     168     12      0 S   0.0  0.0   0:00.01 runsv
   33 root      20   0     168     16      0 S   0.0  0.0   0:00.01 runsv
   34 root      20   0     168     12      0 S   0.0  0.0   0:00.00 runsv
   35 root      20   0     168     12      0 S   0.0  0.0   0:00.01 runsv
   36 discour+  20   0   30752   1700    472 S   0.0  0.1   1:20.89 unicorn_launche
   37 postgres  20   0  386204  12492  11984 S   0.0  0.6   0:09.94 postmaster
   38 root      20   0  121152    356    128 S   0.0  0.0   0:00.04 nginx
   39 syslog    20   0  180148    688    260 S   0.0  0.0   0:01.00 rsyslogd
   41 redis     20   0  431496 126476    664 S   0.0  6.2   5:57.01 redis-server
   42 root      20   0   26776    272    152 S   0.0  0.0   0:00.73 cron
   43 root      20   0   61364    116     12 S   0.0  0.0   0:00.05 sshd
   54 www-data  20   0  122116   1528    488 S   0.0  0.1   0:23.39 nginx
   55 www-data  20   0  122184   1620    560 S   0.0  0.1   0:22.30 nginx
   56 www-data  20   0  122088   1500    640 S   0.0  0.1   0:22.11 nginx
   57 www-data  20   0  122100   1760    724 S   0.0  0.1   0:25.52 nginx
   58 www-data  20   0  121332    336     36 S   0.0  0.0   0:01.92 nginx
   61 postgres  20   0  386440 166292 165548 S   0.0  8.1   0:10.14 postmaster
   62 postgres  20   0  386336  74600  73940 S   0.0  3.6   0:12.68 postmaster
   63 postgres  20   0  386336   7800   7344 S   0.0  0.4   0:19.65 postmaster
   64 postgres  20   0  387156   3180   2432 S   0.0  0.2   0:04.60 postmaster
   65 postgres  20   0  103908    940    248 S   0.0  0.0   0:13.42 postmaster
   66 discour+  20   0  449576 142456    892 S   0.0  6.9   3:36.46 ruby
  119 discour+  20   0 1221376 344980   2692 S   0.0 16.8  13:05.36 ruby
  129 discour+  20   0 1224464 360064   3292 S   0.0 17.6  12:53.68 ruby
  142 discour+  20   0 1231636 367464   3184 S   0.0 17.9  13:11.65 ruby
29749 postgres  20   0  394588  11108   8716 S   0.0  0.5   0:00.06 postmaster
29750 postgres  20   0  395040  72564  69584 S   0.0  3.5   0:00.37 postmaster
29800 postgres  20   0  394588  10996   8620 S   0.0  0.5   0:00.04 postmaster
29847 root      20   0   21272   1988   1576 S   0.0  0.1   0:00.01 bash
29859 discour+  20   0   20036    836    624 S   0.0  0.0   0:00.00 sleep
29860 root      20   0   22976   1404   1020 R   0.0  0.1   0:00.00 top
31161 discour+  20   0 1218332 201044   2488 S   0.0  9.8   7:11.33 ruby

##After Update
###Build

root@forum:/var/discourse# ./launcher rebuild app

Begin: ~2015-02-12T07:15:56.103858
End: ~2015-02-12T07:26:59.543223

###Discourse Version
Discourse 1.2.0.beta6 - https://github.com/discourse/discourse version 5f8e604abc4a99df267b2d4e6544678040ab1ea6

###System Info

  System information as of Thu Feb 12 02:02:44 EST 2015

  System load:  0.11               Processes:              120
  Usage of /:   49.7% of 39.25GB   Users logged in:        0
  Memory usage: 82%                IP address for eth0:    
  Swap usage:   23%                IP address for docker0: 

###Memory Stats
https://gist.github.com/DeanMarkTaylor/07a461fd710135f3ea20

###Host Top

top - 02:39:16 up 24 days,  3:29,  1 user,  load average: 0.30, 0.30, 0.43
Tasks: 117 total,   1 running, 116 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.9 us,  1.8 sy,  0.0 ni, 91.3 id,  0.9 wa,  0.1 hi,  0.0 si,  0.0 st
KiB Mem:   2049988 total,  1965492 used,    84496 free,    13096 buffers
KiB Swap:  2097148 total,    42196 used,  2054952 free.   758272 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    1 root      20   0   33492   1736    664 S   0.0  0.1   2:10.69 init
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.78 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   1:47.91 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
    7 root      20   0       0      0      0 S   0.0  0.0  25:50.30 rcu_sched
    8 root      20   0       0      0      0 S   0.0  0.0  12:26.52 rcuos/0
    9 root      20   0       0      0      0 S   0.0  0.0  11:34.35 rcuos/1
   10 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh
   11 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/0
   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/1
   13 root      rt   0       0      0      0 S   0.0  0.0   0:35.93 migration/0
   14 root      rt   0       0      0      0 S   0.0  0.0   0:21.11 watchdog/0
   15 root      rt   0       0      0      0 S   0.0  0.0   0:16.26 watchdog/1
   16 root      rt   0       0      0      0 S   0.0  0.0   0:38.39 migration/1
   17 root      20   0       0      0      0 S   0.0  0.0   0:35.07 ksoftirqd/1
   19 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/1:0H
   20 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 khelper
   21 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kdevtmpfs
   22 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 netns
   23 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 writeback
   24 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kintegrityd
   25 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 bioset
   27 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kblockd
   28 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 ata_sff
   29 root      20   0       0      0      0 S   0.0  0.0   0:00.00 khubd
   30 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 md
   31 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 devfreq_wq
   35 root      20   0       0      0      0 S   0.0  0.0   0:11.46 khungtaskd
   36 root      20   0       0      0      0 S   0.0  0.0  88:40.83 kswapd0
   37 root      25   5       0      0      0 S   0.0  0.0   0:00.00 ksmd
   38 root      39  19       0      0      0 S   0.0  0.0   1:05.92 khugepaged
   39 root      20   0       0      0      0 S   0.0  0.0   0:00.00 fsnotify_mark
   40 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ecryptfs-kthrea
   41 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 crypto
   53 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kthrotld
   55 root      20   0       0      0      0 S   0.0  0.0   0:00.00 vballoon
   56 root      20   0       0      0      0 S   0.0  0.0   0:00.00 scsi_eh_0
   57 root      20   0       0      0      0 S   0.0  0.0   0:00.00 scsi_eh_1
   78 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 deferwq
   79 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 charger_manager
  121 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kpsmoused
  134 root      20   0       0      0      0 S   0.0  0.0   2:05.92 jbd2/vda1-8
  135 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 ext4-rsv-conver

###Instance Top

top - 07:40:25 up 24 days,  3:30,  0 users,  load average: 0.25, 0.28, 0.42
Tasks:  39 total,   1 running,  38 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.9 us,  1.8 sy,  0.0 ni, 91.3 id,  0.9 wa,  0.1 hi,  0.0 si,  0.0 st
KiB Mem:   2049988 total,  1977248 used,    72740 free,    19988 buffers
KiB Swap:  2097148 total,    42176 used,  2054972 free.   759972 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    1 root      20   0   21092   1496   1240 S   0.0  0.1   0:00.04 boot
   27 root      20   0     188     36     20 S   0.0  0.0   0:00.02 runsvdir
   28 root      20   0     168      4      0 S   0.0  0.0   0:00.00 runsv
   29 root      20   0     168      4      0 S   0.0  0.0   0:00.00 runsv
   30 root      20   0     168      4      0 S   0.0  0.0   0:00.01 runsv
   31 root      20   0     168      4      0 S   0.0  0.0   0:00.00 runsv
   32 root      20   0     168      4      0 S   0.0  0.0   0:00.00 runsv
   33 root      20   0     168      4      0 S   0.0  0.0   0:00.00 runsv
   34 root      20   0     168      4      0 S   0.0  0.0   0:00.00 runsv
   35 root      20   0  121152   3712   2444 S   0.0  0.2   0:00.05 nginx
   36 root      20   0   26776   1264   1012 S   0.0  0.1   0:00.01 cron
   37 syslog    20   0  180148   1304    888 S   0.0  0.1   0:00.03 rsyslogd
   38 postgres  20   0  386204  19724  18348 S   0.0  1.0   0:00.21 postmaster
   39 redis     20   0  427400 396436   1376 S   0.0 19.3   0:09.02 redis-server
   40 root      20   0   61364   2644   1968 S   0.0  0.1   0:00.03 sshd
   42 discour+  20   0   29768   3860   1472 S   0.0  0.2   0:01.14 unicorn_launche
   53 www-data  20   0  122080   3084   1032 S   0.0  0.2   0:00.27 nginx
   54 www-data  20   0  121776   2916   1052 S   0.0  0.1   0:00.11 nginx
   55 www-data  20   0  122080   3140   1060 S   0.0  0.2   0:00.28 nginx
   56 www-data  20   0  121752   2912   1176 S   0.0  0.1   0:00.18 nginx
   57 www-data  20   0  121332   1924    472 S   0.0  0.1   0:00.00 nginx
   60 postgres  20   0  386336   5212   3720 S   0.0  0.3   0:00.03 postmaster
   61 postgres  20   0  386336   3960   2552 S   0.0  0.2   0:00.18 postmaster
   62 postgres  20   0  386336   2676   1296 S   0.0  0.1   0:00.26 postmaster
   63 postgres  20   0  387156   3004   1036 S   0.0  0.1   0:00.04 postmaster
   64 postgres  20   0  103908   1928    356 S   0.0  0.1   0:00.12 postmaster
   65 discour+  20   0  392232 156404   9744 S   0.0  7.6   0:15.67 ruby
   95 discour+  20   0  488716 165048   5840 S   0.0  8.1   0:06.15 ruby
  123 discour+  20   0  423188 168916   5496 S   0.0  8.2   0:13.89 ruby
  130 discour+  20   0  414996 164064   5632 S   0.0  8.0   0:10.00 ruby
  138 discour+  20   0  995072 177876   8060 S   0.0  8.7   0:12.52 ruby
  859 postgres  20   0  406156 135496 123140 S   0.0  6.6   0:03.89 postmaster
  860 postgres  20   0  406160  90216  78296 S   0.0  4.4   0:02.78 postmaster
  999 postgres  20   0  406428 134840 122644 S   0.0  6.6   0:02.74 postmaster
 1023 postgres  20   0  397976 122332 115852 S   0.0  6.0   0:02.13 postmaster
 1167 postgres  20   0  397332  79632  74216 S   0.0  3.9   0:03.69 postmaster
 1209 root      20   0   21272   1984   1576 S   0.0  0.1   0:00.01 bash
 1221 root      20   0   22976   1400   1020 R   0.0  0.1   0:00.00 top
 1222 discour+  20   0   20036    832    620 S   0.0  0.0   0:00.00 sleep

###Notes
Translations do seem to be gone from initial memory load - nice one.