You are not logged in.
Dear all,
I'm running a somewhat memory-intensive operation in MATLAB (though the same happens when I use python), where it gradually uses up around 8GB of RAM. Once it is at 8 GB, there is a short bump in memory consumption, so that it uses up all the left-over RAM and starts using swap in a relatively short time. When it actually succeeds, it uses approximately 1 GB of the swap space (my swap partition has 16GB ). In that case, the entire system freezes for maybe 10 seconds or so (during that short bump), after which everything is normal. However, more often than not, the entire system freezes indefinitely (one time I let it be for ~30 minutes - nothing happened). Since the operation that I perform is always the same (and when it succeeds, it does so in a fairly short amount of time), I suspect that the issue is not due to MATLAB or python, but probably because of some malfunctioning or misconfiguration of my system, in particular the swapping; I've seen other threads on that issue, that could be resolved by simply increasing the swappiness value; I've increased mine to 90, and the issue is still there.
I'm running an always up-to-date 64bit arch system on a Lenovo t450s, with a ~512GB SSD and ~11.5GB RAM, with full disk encryption using lvm. As already mentioned, the allocated swap partition has 16GB. Unfortunately, I really don't know what other info I could give you that is specific to that problem. But maybe you can give me some suggestions as to where I should start looking to resolve the problem? Any hint would be greatly appreciated!
Kind regards and many thanks,
Mat
Offline
Anything interesting in the journal when this happens?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
hi,
thank you very much for the reply! The journal doesn't seem to be helpful. Here's the final few lines 'around' the freeze:
Jun 01 17:35:08 lapitapi polkitd[455]: Unregistered Authentication Agent for unix-process:1118:5045 (system bus name :1.97, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jun 01 17:35:11 lapitapi sudo[1322]: matija : TTY=pts/0 ; PWD=/home/matija ; USER=root ; COMMAND=/usr/bin/pacman -Syu
Jun 01 17:35:11 lapitapi sudo[1322]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 01 17:35:17 lapitapi sudo[1322]: pam_unix(sudo:session): session closed for user root
Jun 01 17:35:17 lapitapi org.gnome.Shell.desktop[756]: Gjs-Message: JS LOG: Received error from DBus search provider epiphany.desktop: Gio.IOErrorEnum: Timeout was reached
Jun 01 17:35:19 lapitapi dbus-daemon[727]: Activating service name='org.gnome.Contacts.SearchProvider'
Jun 01 17:35:19 lapitapi dbus-daemon[727]: Activating service name='org.gnome.Nautilus'
Jun 01 17:35:19 lapitapi dbus-daemon[727]: Activating service name='org.gnome.Calculator.SearchProvider'
Jun 01 17:35:19 lapitapi dbus-daemon[727]: Successfully activated service 'org.gnome.Calculator.SearchProvider'
Jun 01 17:35:19 lapitapi dbus-daemon[727]: Successfully activated service 'org.gnome.Nautilus'
Jun 01 17:35:19 lapitapi dbus-daemon[727]: Successfully activated service 'org.gnome.Contacts.SearchProvider'
Jun 01 17:35:19 lapitapi dbus[406]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Jun 01 17:35:19 lapitapi dbus[406]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
Jun 01 17:35:20 lapitapi dbus[406]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Jun 01 17:35:20 lapitapi dbus[406]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
Jun 01 17:35:20 lapitapi org.gnome.Shell.desktop[756]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1a00001 (Untitled -)
Jun 01 17:35:25 lapitapi systemd-timesyncd[378]: Synchronized to time server 81.94.123.16:123 (0.arch.pool.ntp.org).
Jun 01 17:35:33 lapitapi chromium.desktop[1363]: [79:79:0601/173533:ERROR:PlatformKeyboardEvent.cpp(117)] Not implemented reached in static blink::PlatformEvent::Modifiers blink::PlatformKeyboardEvent::getCurrentModifierState()
Jun 01 17:35:35 lapitapi chromium.desktop[1363]: [79:79:0601/173535:ERROR:PlatformKeyboardEvent.cpp(117)] Not implemented reached in static blink::PlatformEvent::Modifiers blink::PlatformKeyboardEvent::getCurrentModifierState()
Jun 01 17:35:44 lapitapi org.gnome.Shell.desktop[756]: Gjs-Message: JS LOG: Received error from DBus search provider epiphany.desktop: Gio.IOErrorEnum: Timeout was reached
Jun 01 17:37:01 lapitapi chromium.desktop[1363]: [130:130:0601/173701:ERROR:PlatformKeyboardEvent.cpp(117)] Not implemented reached in static blink::PlatformEvent::Modifiers blink::PlatformKeyboardEvent::getCurrentModifierState()
Jun 01 17:37:52 lapitapi dbus-daemon[727]: Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service'
Jun 01 17:37:52 lapitapi systemd[696]: Starting Virtual filesystem metadata service...
Jun 01 17:37:52 lapitapi dbus-daemon[727]: Successfully activated service 'org.gtk.vfs.Metadata'
Jun 01 17:37:52 lapitapi systemd[696]: Started Virtual filesystem metadata service.
-- Reboot --
Jun 01 18:18:07 lapitapi systemd-journald[282]: Runtime journal (/run/log/journal/) is 8.0M, max 594.9M, 586.9M free.
Jun 01 18:18:07 lapitapi systemd-journald[282]: System journal (/var/log/journal/) is 184.3M, max 4.0G, 3.8G free.
Jun 01 18:18:07 lapitapi systemd-journald[282]: Time spent on flushing to /var is 1.089ms for 2 entries.
Jun 01 18:18:07 lapitapi kernel: Linux version 4.5.4-1-ARCH (builduser@tobias) (gcc version 6.1.1 20160501 (GCC) ) #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016
Jun 01 18:18:07 lapitapi kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/vg0-root rw cryptdevice=/dev/sda2:luks:allow-discards quietNote: The time at which the system froze was 17:41; about half an hour later, I killed it by pressing the power button, and turned it on again..
Last edited by OKComputer (2016-06-01 16:42:51)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code
Offline