Comment 60 for bug 159356

Revision history for this message
FireWolf (firewolf-ttyd0) wrote : Re: System freeze on high memory usage

Ubuntu LTS 16.04.2
uname -a
Linux DESKTOP 4.4.0-63-generic #84-Ubuntu SMP Wed Feb 1 17:20:32 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Memory from top:
KiB Mem : 16107416 total, 10167280 free, 3403820 used, 2536316 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 11914184 avail Mem

grep -v "^#" /etc/sysctl.conf
net.core.rmem_max=16777216
net.core.wmem_max=16777216
net.ipv4.tcp_rmem="4096 87380 16777216"
net.ipv4.tcp_wmem="4096 65536 16777216"
net.ipv4.tcp_no_metrics_save=1
vm.swappiness = 5
vm.min_free_kbytes=65536

/etc$ cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

100% repeatable freezing on high memory usage.
Today test:
1. 3 vbox copies with 2Gb RAM.
2. tomcat, hornetq - with default settings.
3. firefox+thunderbird.
4. and final before freezing: started VLC with mkv movie 8.6Gb.
VLC works around 2-3 minutes and eat all free memory and after system slow down.
In 5-6 seconds system goes down more - mouse cursor not moving, switch to console extremely slow.
Video on system hangs: https://youtu.be/73b8SxllTLs
While system hangs it extremely much accessing to HDD.
Please ask any logs/settings I'm ready to help.