FS#36574 - Freezes on memory overflow
Attached to Project:
Arch Linux
Opened by Jakub Okoński (farnoy) - Saturday, 17 August 2013, 14:08 GMT
Last edited by Dave Reisner (falconindy) - Friday, 23 August 2013, 01:44 GMT
Opened by Jakub Okoński (farnoy) - Saturday, 17 August 2013, 14:08 GMT
Last edited by Dave Reisner (falconindy) - Friday, 23 August 2013, 01:44 GMT
|
Details
Hi,
Description: Since about a week ago, I've been experiencing freezes (audio looping on short duration, display not refreshing, no activity at all). I think they happen when I'm over 90% of ram usage and the swap is below about 200M. I'm running a x86_64 system, with packages updating daily. Additional info: I'm using zram from systemd-arch-units 20120915-2, which now I'm realizing does not exist anymore (package URL pointing to https://github.com/falconindy/systemd-arch-units). I will disable it and see if it still crashes I would provide logs if I knew how to obtain ones just before a crash, `dmesg` only gives logs from current boot. Steps to reproduce: Run a memory hog (`google-chrome` in my case), then another one (compile Rust). It freezes on my 4GB machine. Now that I notices the outdated zram package, I will disable it, but is there something that serves a similar purpose? |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 23 August 2013, 01:44 GMT
Reason for closing: Not a bug
Additional comments about closing: This is what happens when you apply into heavy VM pressure and start using swap. Use a faster swap device or add more RAM if you want to avoid it.
Friday, 23 August 2013, 01:44 GMT
Reason for closing: Not a bug
Additional comments about closing: This is what happens when you apply into heavy VM pressure and start using swap. Use a faster swap device or add more RAM if you want to avoid it.
systemd journal should have some crash-related info.
Are these freezes fatal i.e. you have to yank the powercord to poweroff/reboot? Can you use kbd/mouse? Can you switch to tty? Does Magic SysRq work https://wiki.archlinux.org/index.php/Keyboard_Shortcuts#Kernel?
Yes, I need to reset the whole computer, mouse/kbd not responding.
I've disabled zram and had no crashes since, I think it was just an outdated package, I'll try zramswap from AUR.
I think you should open a forum thread to see what is this issue really about.
I've been using zramswap for a long time and recently I've been experiencing similar hangups. They occurred in various situations and the only thing in common they had that I can think of is pretty high memory usage.