<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Are you using Linux? If so, did the Linux OOM killer maybe zap the Erlang node?<br>
</blockquote><div><br>That's what I thought, but can't find any trace of it. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You could try this:<br><br>$ sudo sysctl vm.overcommit_memory=2<br>vm.overcommit_memory = 2<br></blockquote><div><br>Interesting, this helped a bit. Got up to 2.7GB in persister, then killed the Erlang node once again. No kernel logs, no nothing. Grrr!<br>
<br>Another interesting observation (not surprising), while swapping to disk, the accept throughput drops to the floor. I'm sending messages with ack's disabled, so I'm assuming the vast majority simply never make it to the queue, here's a quick snapshot (9th column is the KBin .. top half shows swapping to disk, then once some memory is available it once again resumes at ~3.5mbs/):<br>
<br> 4 3 2191 995 0 0 9224 1036 1458 1098 36 562<br> 2 2 1257 212 0 0 6636 599 49 49 5 29<br> 0 0 305 90 0 0 2399 148 0 5 3 6<br>
7 7 1247 336 0 0 7323 523 87 79 5 42<br> 3 3 2729 1023 0 0 8192 1137 986 901 34 481<br> 6 6 1024 320 0 0 10760 620 248 220 10 119<br>
2 2 630 146 0 0 7544 596 824 667 28 354<br> 0 0 1617 683 0 0 3712 918 0 1 0 1<br> 2 2 889 125 0 0 9280 881 1 9 3 10<br>
#<--------CPU--------><----------Disks-----------><----------Network----------><br>#cpu sys inter ctxsw KBRead Reads KBWrit Writes KBIn PktIn KBOut PktOut<br> 9 8 902 355 94 10 11713 775 17 21 4 19<br>
37 24 1807 478 503 33 2974 145 172 153 9 82<br> 21 20 1221 944 448 14 0 0 1600 1187 40 589<br> 4 3 2443 1881 669 21 0 0 2750 2289 78 1169<br>
0 0 3624 2931 1865 58 0 0 4444 3772 126 1926<br> 0 0 2060 1660 1726 54 0 0 2704 2148 71 1059<br> 2 1 2872 2361 1791 57 0 0 3728 2963 99 1497<br>
2 1 3299 2679 1821 61 0 0 3927 3325 112 1688<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also take a look at overcommit_ratio and swappiness.<br>
</blockquote><div><br>Swappiness is at default (60), and overcommit_ratio at 50.<br><br></div></div><br>