[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
This also explains the reason a person with a USB drive was seeing thrashing (constant blinking) when using the fedora live environment with many tabs open. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
It is also possible, since we now know how the bug is triggered, should Marcus open a new report? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
Do you think this could eventually be merged into a kernel? Has anyone filed a kernel bugzilla with the patch so we can improve it, and get it merged to the kernel? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
The attached kernel patch (applied on top of 4.18.5) that I've tried, almost completely eliminates the disk thrashing(the constant reading of executable(and .so) files on every context switch) associated with freezing the OS and so, with this patch, the OOM-killer is triggered within a maxium of 1 second when it is needed, rather than, without this patch, freeze the OS for minutes(or just a long time, it may even auto reboot depending on your kernel .config options set to panic(reboot) on hang after xx seconds) with constant disk reading well before OOM-killer gets triggered. More info as to why OS freezes with constant disk reading when running out of RAM, here: https://unix.stackexchange.com/a/463469/306023 The patch is from inside this question: https://stackoverflow.com/q/52067753/10239615 Note: I don't recommend using this patch in production, without actual programmers saying that it's ok first. I'm not a programmer. Maybe some programmer could improve it? I am using the patch currently inside a Qubes OS R4.0 Fedora 28 AppVM where I can easily reproduce freezing the VM's OS (+ the constant disk thrashing, seen from `sudo iotop` in dom0) without the patch, while attempting to compile firefox with 4000MB max RAM setting for the VM, and with the patch basically no freezing and little to no disk thrashing during the 1 second it takes for OOM-killer to kill the offending process(es). ** Patch added: "le9b.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+attachment/5183022/+files/le9b.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
jecks (slayerproof32), it is most unhelpful to post comments or attachments here, or give pastebin links. If you want to motivate developers to want to look into your issue, file a new report. If you want developers to ignore your problem, continue posting here. marco (nazgul17), one may always file a report manually via https://bugs.launchpad.net/ubuntu/+source/linux/+filebug . For more on this, please see https://help.ubuntu.com/community/ReportingBugs . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
I’d say you probably want to start with these 4 commands and posting the results Lspci -v Inxi -Fzxc0 dmesg > dmesg.log (will save to ~/dmesg.log) top -b > top.log (run this command, then trigger the memory issue. It will save to ~/top.log. If you have to hard reboot, the file will still be saved) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
Consider also posting the output of Sudo parted -l Here are my results if these commands. Iam running top right now and will be posted soon. https://pastebin.com/8q75EXyz 1 – Inxi-Fzxc0 https://pastebin.com/mnj4Bamu – Lspci -V https://pastebin.com/KqpKuCa3 1 --Dmesg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
Hi Christopher, How does one go about providing debugging information? Please consider the limitations of an environment that does not respond to commands. Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
jecks (slayerproof32), this report is poorly defined, and not root caused as no debugging logs have been provided by the original reporter. However, what little is known is that the issue for the original reporter was correlated to when DMA was disabled in the BIOS, using a now old, and unsupported version of Ubuntu. Hence, if you would like your issue root caused and resolved, you will want to file a new report via a terminal: ubuntu-bug linux Please feel free to subscribe me to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
** Package changed: linux (Arch Linux) => linux (Ubuntu) ** Changed in: linux (Ubuntu) Status: New => Incomplete ** No longer affects: linux (Ubuntu) ** Package changed: fedora => ubuntu ** Changed in: ubuntu Importance: Medium => Undecided ** Changed in: ubuntu Status: Won't Fix => New ** Changed in: ubuntu Remote watch: Red Hat Bugzilla #1472336 => None ** Changed in: ubuntu Importance: Undecided => Low ** Changed in: ubuntu Status: New => Incomplete ** Package changed: ubuntu => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
** Summary changed: - System freeze on high memory usage + System freeze on high memory usage when DMA is disabled ** No longer affects: linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage when DMA is disabled
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage when DMA is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Sitting here with a whole bunch of tabs open in YouTube. Memory used is 3.5 out of 3.7. Swap is now 760 megabytes. This is after my system has been left untouched for about 10 mins now. CPU usage is anywhere from 30 to 60%. It unfroze about a minute ago, but is still super slow, and it refroze when I tried to click “processes” in the system monitor app. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
"Won't fix"? This bug does not permit me to zip big files. "Sorry mom, you can't zip those files, GNU/Linux thinks your pc hasn't enough power to do it, best coming back to windows, where ram filling up doesn't kill your system." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
** Changed in: fedora Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
still happens with Fedora 28 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
System crashes on high mem usage Steps to reproduce Open you fav browser Open a Youtube video and 4 tabs of google docs Check system monitor for ram usage Wow. 98.8% and only 10% swap used??? Open one more tab System crash, have to reboot by holding power button Expected result The memory is freed by swapping more files onto my swap partition Tested bug on -Opensuse Leap 15.0 -Fedora 28 -Ubuntu 18.04 -Manjaro Linux (latest version) Specs -CPU core 2 duo e6400 (usage is not high when the system crashes) -2.9 (3gb) Elpida ddr2 ram 533 MHz -Gnome 3.26 and 3.28 -Ati x1300 Gpu -3.0 gb swap partition Open a few more google docs tabs and crush my other computer with -CPU i5-520M -3.9 (4gb) Ram -Gnome 3.28 -Intel Igpu -4gb swap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
..Forgot to add, the Fedora 27 live version is running on one laptop in which I've upgraded the RAM to 8Gb. It has an (older version) Core-i5 in it for those curious and runs developer version of FF (60). It has happens here with gedit with 8 files opened, 2 file manager windows and 8 tabs, 3 or 4 xterms, Signal app, vlc occasionally playing audio.. that's the base. # uname -a Linux localhost-live 4.13.9-300.fc27.x86_64 #1 SMP Mon Oct 23 13:41:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Excuse me while I restart the browser, I'm at 97%. (maybe logout and HUP gnome-shell too from the console because I'm starting off low on memory already) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Fedora 27, fully affected. New to linux a couple of years ago, I decided to try 'live' versions on two Win 7 laptops (4GB Ram each). Debian 8.6 first, then 8.7, 9.2 and 9.3. Ubuntu 14,15,16 Fedora 26, currently 27 DE's: Xfce, GNOME, Unity, Mate, Cinnamon, always the same problem. (XFce hold up the longest; less memory intensive) Manifested when multiple tabs are opened on the web browser (10,15,20,25, depending on the browser and version and how memory intensive it is): FF52 up to 61 developers (the newer ones eat up memory faster) Chrome, Chromium. I banged my head against the wall for 1.5 years before I stumbled upon this thread, thinking it was bad memory (many days of running memtest), or other hardware (but in both laptops? Couldn't be). The system will suddenly SEIZE up if you're close to memory capacity. If I am close, and I take my eyes off the USB drive for an instant and it begins to flash non-stop, once it goes beyond 10 seconds I likely cannot drop to the console I keep opened to kill the Firefox ps. Maybe it will respond after an hour, 2 or 4 hours, usually not. Time to power off. Now I keep gnome-system-monitor opened and watch the memory approach 96% and restart the browser, and in the case of Debian/Ubuntu on X11, restart gnome-shell (which has a major leak problem also). On one laptop I did make a separate partition for Deb 8.7 with a swap space. Same thing happens. I will observe the HD light come on and stay solid. That's the end. I was shocked to find this bug and that it has existed for more than 10 years. It makes this almost an nonviable platform and I'm loving Linux otherwise. Sorry for the rant, there was 1.5 years of frustration built into it. Thanks for all the work the dev's do, I know it aint easy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Launchpad has imported 4 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=1472336. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2017-07-18T13:24:02+00:00 Steven wrote: After a fix to glibc that fixed Unity 3D based games (Fedora ref: https:// bugzilla.redhat.com/show_bug.cgi?id=1440287), I have noticed that when I play Cities: Skylines that the system becomes unresponsive when digging into swap. I have 10Gb of RAM in this system and run Fedora 26. If I launch Cities: Skylines with no swap space, things run well performance wise until I get an OOM - and it all dies - which is expected. When I turn on swap to /dev/sda2 which resides on an SSD, I get complete system freezes while swap is being accessed. The first swap was after loading a saved game, then launching kmail in the background. This caused ~500Mb to be swapped to /dev/sda2 on an SSD. The system froze for about 8 minutes - barely being able to move the mouse. The HDD LED was on constantly during the entire time. To hopefully rule out the above glibc issue, I started the game via jemalloc - but experienced even more severe freezes while swapping. I gave up waiting after 13 minutes of non-responsiveness - not even being able to move the mouse properly. During these hangs, I could typed into a Konsole window, and some of the typing took 3+ minutes to display on the screen (yay for buffers?). I have tested this with both the default vm.swappiness values, as well as the following: vm.swappiness = 1 vm.min_free_kbytes = 32768 vm.vfs_cache_pressure = 60 I noticed that when I do eventually get screen updates, all 8 cpus (4 cores / 2 threads) show 100% CPU usage - and kswapd is right up there in the process list for CPU usage. Sadly I haven't been able to capture this information fully yet due to said unresponsiveness. This seems to be a relatively new problem that I did not encounter during the Fedora 26 beta - but do now. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/61 On 2017-07-18T13:25:32+00:00 Steven wrote: Forgot to add kernel version! Currently testing with: kernel-4.11.10-300.fc26.x86_64 Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/62 On 2017-10-20T17:07:52+00:00 Jan wrote: Related bug reports: https://bugzilla.redhat.com/show_bug.cgi?id=1357032 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356 Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/65 On 2018-02-28T03:52:10+00:00 Laura wrote: We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. The kernel moves very fast so bugs may get fixed as part of a kernel update. Due to this, we are doing a mass bug update across all of the Fedora 26 kernel bugs. Fedora 26 has now been rebased to 4.15.4-200.fc26. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 27, and are still experiencing this issue, please change the version to Fedora 27. If you experience different issues, please open a new bug report for those. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/71 ** Changed in: fedora Status: Unknown => Confirmed ** Changed in: fedora Importance: Unknown => Medium ** Bug watch added: Red Hat Bugzilla #1357032 https://bugzilla.redhat.com/show_bug.cgi?id=1357032 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
** Bug watch added: Red Hat Bugzilla #1472336 https://bugzilla.redhat.com/show_bug.cgi?id=1472336 ** Also affects: fedora via https://bugzilla.redhat.com/show_bug.cgi?id=1472336 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I noticed this same issue on Ubuntu 17.10. I didn't find swapping to be this annoying until recently. May be I've switched to swap file instead of partition? But I think it existed even before I did the switched. However, I had never (or at least this frequently) noticed freeze conditions due to swapping with the previous versions. My swappiness is the default, 60, and it should never cause such a condition in a perfect world, I think. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Here is the solution my similar problem: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1526537/comments/27 . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have the same issue on Linux Mint 18.3 64 bit and it is reproducibile by the attached script. ** Attachment added: "mem-eater" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+attachment/5094516/+files/mem-eater -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Very annoying. Successfully preventing from using Linux as reliable system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This is still happening in Ubuntu 17.10. Last time I tried to use ubuntu it was with 16.04 and I had to stop using it because of this issue. This is a critical bug, and I cannot understand that it is marked as low priority and not assigned to anyone. I cannot use Linux like this, I don't use the computer to browse web pages and write a couple of documents, for that I would buy a tablet, I use the computer to perform large computations, and they will overtake the existing RAM of the computer. I had a process that was generating a delanuay triangulation with a large set of nodes, and it was impossible to perform this calculation in Ubuntu, I switched to a MacBook pro with similar specs and the computation finished in 2 min. I have already tweaked the system using zram, zswap, changing the values of the vm., like swappinness, etc. to no avail. This is preventing me to change to Linux, and it should be fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
** Also affects: linux (Arch Linux) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I hope this bug will be fixed soon, this bug preventing me from switching to Linux it also affects Fedora 27 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
My ubuntu box is frozen and there is nothing I can do (i.e. the keyboard is not working). Why the kernel is not killing or pausing the processe(s) that are draining the resources? On my Mac it always stops them and ask to kill it or keep running. This is the last time I'm using linux(as my main/personal computer). It's just not for personal use. It's just mean to run it for internet services running in high availability configurations that can be restarted/trashed. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Ubuntu 16.04.3 LTS Memory - 6 Gb I have simple steps for reproducing: 1. Open firefox 2. Open https://github.com/J0rgeSerran0/vscode-csharp-snippets/blob/master/TUTORIALS.md It's documentation with few .gif images. That's it. How can to limit memory consuming for process in Ubuntu ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 159356] Re: System freeze on high memory usage
Hi SwaJime, you need to run 'sudo su' first and then the free sequence. Echoing the value to drop_caches requiere super user permissions. HTH 2017-11-15 19:38 GMT+01:00 SwaJime <159...@bugs.launchpad.net>: > yas, when I try that, I get "bash: /proc/sys/vm/drop_caches: Permission > denied" on Ubuntu 16.04 > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/159356 > > Title: > System freeze on high memory usage > > Status in linux package in Ubuntu: > Incomplete > > Bug description: > I run a batch matlab job server here at my lab, running Dapper 6.06 (for > the LTS). One of the users has submitted a very memory-consuming job, which > successfully crashes the server. Upon closer inspection, the crash happens > like this: > 1. I run matlab with the given file (as an ordinary, unpriveleged user) > 2. RAM usage quickly fills up > 3. Once the RAM meter hits 100%, the system freezes: All SSH connections > freeze up, and while switching VTs directly on the machine works, no new > processes run - so one can't log in, or do anything if he is logged in. > (Sometimes typing doesn't work at all) > > Note that the swap - while 7 gigs of it are available - is never used. > (The machine has 7 gigs of RAM as well) > > I've tried the same on my Gutsy 32-bit box, and there was no system > freezeup - matlab simply notified that the system was out of memory. > However, it did this once memory was 100% in use - and still, swap > didn't get used at all! (Though it is mounted correctly and shows up > in "top" and "free"). > > So first thing's first - I'd like to eliminate the crash issue. I > suppose I could switch the server to 32-bit, but I think that would be > a performance loss, considering that it does a lot of heavy > computation. There is no reason, however, that this should happen on a > 64-bit machine anyway. Why does it? > > WORKAROUND: Enabling DMA in the BIOS > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
yas, when I try that, I get "bash: /proc/sys/vm/drop_caches: Permission denied" on Ubuntu 16.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Hi to the new updaters, :-) I found this to happen with several instances of chrome, or with file operations over big files in combination. I've filed a bug report that was confirmed a couple of years ago: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914 One thing that helped me to avoid some hang if I manage to do it promptly was to go su and use the drop_caches $ sudo su $ free -h && sync && echo 3 > /proc/sys/vm/drop_caches && free -h But this works temporarily and as long as I don't keep with many instances or big files accesses. HTH PS: Ubuntu 16.04.03, encrypted home, 16GB RAM, 16Gb swap file. Default swapiness, cache_pressure and min_free_kbytes uname -a Linux big 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Ubuntu 16.04.3, encrypted disk, 8GB RAM, 11GB swap file. Default swapiness and cache_presure. System almost hang (feels like 1 frame per 5 seconds) with full RAM and 7.7/11GB swap used. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
My Setup: Ubuntu 14.04.05 LTS, encrypted home & swap (but swap disabled, cause mounting wasnt possible... another known bug). Over the normal ubuntu usage over the day my RAM stays in a "common range". When I transfer data to an ntfs (ntfs3g mounted) partition / harddrive or read from such a device, my RAM fills up really fast and stays full for the rest of the time, till my PC freezes or a force-logout happens. It really just happens significantly when an ntfs partition is used. My btrfs home partition an system doesnt fill the RAM. To clear cache and buffer I just need to "remove the drive savely" (or use the kernel parameter drop_cache). Can anyone reproduce this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This seems to be a vanilla Linux kernel problem as I am experiencing this on Fedora 24 as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This has been bothering me for a long time on Ubuntu 14.04. I installed with encrypted home and swap, but after numerous freezes tried unencrypted swap and now just run with disabled swap however it still seems to kick in automatically and start freezing when I run out of RAM. Most of the time when it starts to freeze up I notice and quickly hit Ctrl-W or Alt-F4 to save the system, free up some memory and keep using it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have the same probem on my laptom with 8Gb without swap. I've just ran Chrome, Idea and VMs. This problem also affected work Desktop with 16 Gb of memory. I've tried new kernels - 4.7, 4.8, but they did not help me. The laptop often freeze and I have to reboot it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I am now on 4.7.2-201.fc24.x86_64 and that problem seems still to be present. I did not have that on Ubuntu though. I have it since I have Fedora installed. So could even be a configuration problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Maybe Linux 4.7 adresses the out-of-memory issues with the following changes: http://lwn.net/Articles/684945/ https://git.kernel.org/torvalds/c/0a0337e0d1d134465778a16f5cbea95086e8e9e0 https://git.kernel.org/torvalds/c/e28e909c36bb5d6319953822d84df00fce7cbd18 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Why this bug is not taking in account? I deal with this issue for at least 2 years. Ubuntu 64bits + Chrome = Freezes all the time. With 8Gb of RAM the system frezees all the time, I work with ubuntu as web developer and I need to force kill chrome several times at day. Is frustrating. There is a lot of people with this problem and however the bug has "incomplete" status. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have the same problem. Currently I'm using Ubuntu 14.04 64bits. I have 4GB of RAM and no swap. If I open too many apps and memory usage goes to 100%, the system completely freezes. Before 14.04, I was using 8.04 32bits and this problem never happend. If all the memory was used, new apps would just crash when trying to malloc but the system will still remain solid stable. My system is: Intel Core 2 Duo, 4GB RAM, nVidia GPU and Ubuntu 14.04.4 LTS Tried already to increase /proc/sys/vm/min_free_kbytes to 270336, but the problem persists. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Still experiencing this on Ubuntu 16.04 64-bit. The culprit is Chrome - I need to run two different versions at the same time for testing, and with ~20 tabs open in each, after 1-2 days of usage, Ubuntu freezes (unresponsive mouse cursor, the only thing that works is the power button). I would say it's a little embarrassing that this bug has remained unfixed since 2007, but I'm also an open source contributor (though unfortunately not on kernels), so I won't complain. However, would it be possible to do something like what Windows does, and warn the user to close one or more applications when the amount of free memory is dangerously low? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This has annoyed me through the years on different machines and on different distributions ((K)Ubuntu and Debian). I am here because I experienced it, once more, a few minutes ago. Hard-drive (SSDs are silent, but I could tell from the led) usage skyrocketed even though I do not have any swap partition. Mouse cursor lagged, and even Ctrl+Alt+F1 (take me to a console) or Ctrl+Alt+Backspace (terminate X) did not work. I had to hit the power button. If I can be of any help, I will do my best. This bug is the single worst thing in the Linux experience that I have ever had. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Here it is: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1555351 How do I "subscribe you" to it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Cossio, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal: ubuntu-bug linux Please feel free to subscribe me to it. For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Any intensive task will completely freeze the system, making it impossible to kill the offending process until it terminates. Only "solution" is to reboot system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This is still happening in 15.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
h, 14.10 is End of Life so it will never receive any further updates as outlined in https://wiki.ubuntu.com/Releases . However, if this is reproducible in a supported release, it will help immensely if you filed a new report via a terminal: ubuntu-bug linux Please feel free to subscribe me to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
same problem with Ubuntu 14.10 64x when use matlab to load lots of data for training. It doesn't kill it after a couple of minutes, it takes hours and never comes alive again. I have to restart manually and then my ubuntu can not boot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
hi Christopher, filed https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914 and subscribed you as suggested to follow it up. HTH -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
yas, it would help immensely if you filed a new report via a terminal: ubuntu-bug linux Please feel free to subscribe me to it. ** Changed in: linux (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I've found this advise to be helpful: http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem even without swap file/partition reserving some memory through the vm.min_free_kbytes parameter help avoid the freeze. I've reproduce it opening a lot of chrome browser windows (CTRL+t) Ubuntu 14.04 (64-bits) Samsung Ultra np900x3a-a01es i5 4Gb RAM SSD I've added to /etc/sysctl.conf vm.min_free_kbytes=131072 vm.swappiness=5 HTH -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
asgard2, it would help immensely if you filed a new report via a terminal: ubuntu-bug linux Please feel free to subscribe me to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
same problem with Ubuntu 14.10 and 3.16.0-34-generic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I also encounter the same problem on 14.04 LTS. With 10+ windows open, the system becomes frozen unexpectedly. Once it's frozen, it either becomes totally unresponsive such that nothing works except for the long-press power button or minimally responsive so that I can shift to terminal using CTRL+ALT+F1. But then, the terminal is so slow as well and I eventually turn the system off with power button. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have experienced the same issue since I started using Ubuntu 8.04. Often one of the users will run a program which would take a lot of memory, and this would completely freeze graphics and make all text terminals very slow. Sometimes I run a code which accidentally allocates more than my 32GB RAM, and if I don't hit Ctrl+C within 1-2 seconds, it will never even go through in gnome-terminal. The only solution would be to SSH in to the machine and kill the process manually. In some cases even ssh or console login do not help, and I have to wait for hours or reboot the machine. I am surprised that there is no way to save 50-100 megabytes of RAM free for a root to log in and kill the process; it would be very helpful, especially when rebooting the computer is not possible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have experienced the same bug. I have re-reported the bug, as needed. The new bug report is at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1162073 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
After having been affected by this for many years now and also observing that it seemed to get even worse with every new version (entire system freezing with heavy disk-IO as soon as it touches the end of the RAM, even ctrl+alt+f1 taking 5 minutes until console is switched, having to reboot multiple times per day as soon a firefox came aross a resource hungry website) today I tried again to find out whether this could be improved by tuning some of the various vm parameters and I might have finally found something: I have put the following line into my /etc/rc.local sysctl vm.vfs_cache_pressure=10 and since I did this and after a clean reboot today I have not had these immense problems anymore. This is the only vm parameter I have changed. I have only 500MB of RAM on this laptop (running xubuntu 12.04) and here the problem could be easily reproduced: When browsing the web with firefox while already close to the limit of available RAM the memory usage sometimes can quickly spike by another 100 MB within milliseconds and then immediately the *entire* machine would have frozen. A few years ago a ctrl+alt+f1 would still have reacted within maybe 10 seconds (on the same laptop) but nowadays it seemed to take 5 minutes or didn't notice the key press at all sometimes. After I set vfs_cache_pressure to 1 (default is 100) I am not able to reproduce this extreme behavior anymore. Now it just starts using swap, applications becomimg slower but the complete freezing is almost gone, mouse pointer keeps being movable and my keyboard shortcuts to emergency kill some of my usual suspects still work in reasonable time (It almost seems I don't even need them anymore at all now). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
After trying changing all elevator options, and many suggestions out there, I've checked irqbalance. In /etc/default/irqbalance, I've changed in my Ubuntu 12.04 LTS 64-bit notebook, ENABLED from 0 to 1, as follows: root@XXX4:/etc/default# cat irqbalance #Configuration for the irqbalance daemon #Should irqbalance be enabled? ENABLED="1" #Balance the IRQs only once? ONESHOT="0" All freezes stopped (of course when swapping occurs is definitely slower than RAM). Only occasional sloppiness in the mouse/keyboards remained at sustained swap operation moments. My notebook is an Lenovo IdeaPad G530, with a CPU Intel Dual Core T3400 2.16GHz with 4 GB RAM. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
NickNackGus, could you please file a new report by executing the following in a terminal: ubuntu-bug linux For more on this, please see https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette . If you do file a new report, please feel free to subscribe me to it. Thank you for your understanding. Helpful Bug Reporting Links: https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Attachment removed: "typical RAM and swap usage" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+attachment/3243704/+files/Screenshot.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Almost forgot, here's a screenshot of my RAM and swap usage. Cached should be the first thing to go to swap, followed by buffered if more room is needed. What do you know? Over 50% of my RAM is used by what SHOULD be in swap. And with the sort of stuff I do on my computer, I'd say maybe even 75% of it should be in swap. I've got multiple instances of Firefox, Banshee, Audacity, GIMP, and LibreOffice open under typical work loads. This is just background tasks and my backup utility running. ** Attachment added: "typical RAM and swap usage" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+attachment/3243704/+files/Screenshot.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same issue, Ubuntu 10.04.4 LTS 64-bit. 6GB RAM, 40GB Swap. DDR2 RAM to be specific. That doesn't affect the bug, it just means buying new RAM costs as much or more than a new motherboard! Seriously, though? A bug that's been around since at least 1999, and still hasn't been fixed? 64-bit has been around a while, I wouldn't be surprised if 128-bit comes out in the next 5-10 years, so why don't we have an old 64-bit bug fixed? ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Jakub Fiľo / Helio Tadao Goto, could you please file a new report by executing the following in a terminal: ubuntu-bug linux For more on this, please see https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette . If you do file a new report, please feel free to subscribe me to it. Thank you for your understanding. Helpful Bug Reporting Links: https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
For me it occurs with a 8 GB plain swap file in my 4GB notebok from the beginning since Ubuntu 10.04 until 12.04 LTS 64-bit with 3.2.0-27-generic kernel. It's incredible! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same problem. This was terrible. I was waiting 4 hours while my PC went back into normal. I was in risk of loosing important data, so I could not reboot and running Windows 7 virtual machine caused the freeze (I didnt realise I dont have enough RAM, but SWAP was empty). When PC went back into normal state, Windows 7 BSODed but Ubuntu was still alive. It was still extremely laggy. I opened up system monitor to see whats going on: SWAP was 50% full and RAM also 50% full. There was a huge disk activity because swap was unloading (I think it was transfering data to RAM). I hope this will get fixed soon. Whats weird I did not expect these problems on 32 bit version of Ubuntu. I also had RAM and swap full but everything went just OK. Sorry for my English if anything is wrong. I also have a question if there is any reason why swap should be encrypted? Isnt it like encrypting RAM? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Marian Tietz, please execute the following via the Terminal and feel free to subscribe me to it: ubuntu-bug linux Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Ohad Lutzky, thank you for reporting this and helping make Ubuntu better. Dapper server reached EOL on June 1, 2011. Please see this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We were wondering if this is still an issue in a supported release? If so, could you please capture the oops following https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Capturing_OOPs ? As well, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report. apport-collect -p linux Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. Please let us know your results. Thanks in advance. ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: dapper needs-upstream-testing ** Description changed: I run a batch matlab job server here at my lab, running Dapper 6.06 (for the LTS). One of the users has submitted a very memory-consuming job, which successfully crashes the server. Upon closer inspection, the crash happens like this: 1. I run matlab with the given file (as an ordinary, unpriveleged user) 2. RAM usage quickly fills up 3. Once the RAM meter hits 100%, the system freezes: All SSH connections freeze up, and while switching VTs directly on the machine works, no new processes run - so one can't log in, or do anything if he is logged in. (Sometimes typing doesn't work at all) Note that the swap - while 7 gigs of it are available - is never used. (The machine has 7 gigs of RAM as well) I've tried the same on my Gutsy 32-bit box, and there was no system freezeup - matlab simply notified that the system was out of memory. However, it did this once memory was 100% in use - and still, swap didn't get used at all! (Though it is mounted correctly and shows up in "top" and "free"). - So first thing's first - I'd like to eliminate the crash issue. I suppose I could switch the server to 32-bit, but I think that would be a performance loss, considering that it does a lot of heavy computation. There is no reason, however, that this should happen on a 64-bit machine anyway. Why does it? - The second concerning thing is swap - how come it doesn't get used? + So first thing's first - I'd like to eliminate the crash issue. I + suppose I could switch the server to 32-bit, but I think that would be a + performance loss, considering that it does a lot of heavy computation. + There is no reason, however, that this should happen on a 64-bit machine + anyway. Why does it? + + WORKAROUND: Enabling DMA in the BIOS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Just reporting that I'm experiencing this behavior too. As soon as a program tries to allocate much memory on the heap and the system starts swapping, everything freezes and I can't do anything but power-down. Specs: 8GB of RAM, Ubuntu 12.04 amd64, linux 3.2.0-20-generic, encrypted swap and root fs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I'm running 11.10 now with the stock kernel (at the moment 3.0.0-16) and never had any more (weird) problems, so you might want to give it a try by upgrading your system or try with a newer kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
wow, when I started searching the net I didn't expect to find an open bug from 2007. Same here, I have 16 GB of ram and 32GB in a swap file (not a partition). I have 6 1TB SCSI drives in raid 5 and I get about 250MB/s write through put and double that in read. So I expect my swap file to be fast enough to use a least a few gigs of it. However, 1.5GB into the swap, X stops working. After using 2GB of swap, ssh stops working... and the system never recovers. Anyway, its seems like no matter how fast is your swap, the system will crash or freeze and just for the record, Windows will happily use all of my swap (pagefile) without freezing or killing any processes. So it's not a hardware issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same bug with Ubuntu 10.04 LTS Lucid Lynx 64. This is very very boring ! (Workstation with 8 processor and 32Go of RAM) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same bug on Ubuntu 11.10 64 with Intel i7 and 8Go of Ram. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
My computer is freezing like this several times a day (usually for 1 to 5 minutes), and I'd love to know what's going on with this bug... Any news, anyone ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same problem in 11.04 with AMDx64. I have encrypted swap turned on. On high mem use, the system freezes (completely: local keyboard/mouse/screen & remote ssh) and the only solution is a hard reboot. Ugly. I have 6Gb RAM and similar size swap partition. If I turn encrypted swap off and use a regular swap partition instead, the test program below works fine (it seg faults when all memory is used as expected). But, with encrypted swap on, the whole system freezes up before the program ends. I hope that helps locate the problem. #include #include #include #include int main(int c,char** argv) { long l=1073741824; // 1 Gig. for (int i=0;i<10;i++) { printf("round %d\n",i); char* p1=(char*)malloc(l); if (p1==NULL) printf("Malloc failed\n"); printf("try memset...\n"); memset(p1,0,l); printf("memset ok\n"); } } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Yes, this is a really obnoxious bug. It's been around longer than Ubuntu has (I've been using Linux since 1999). It seems to me to be a completely unacceptable behavior to have the entire operating system grind to a halt and freeze due to too much RAM being in use. I have 8GB of RAM and swap TURNED OFF, yet this still happens where I'll have a lot of work tasks and windows open, then all of a sudden the system freezes with the HDD stuck in a fury of swapping, with no other recourse than ALT-SysRQ-SUB emergency shutdown (or hitting the power button). An issue of this severity being left unsolved for years is one of the things that irks me as a fanatical Linux evangelist. My mother runs Linux and the fear of her having issues like this keeps me up at night... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same problem. Disk I/O will take off and stop all other processing. Can sometimes run for 2 or 3 minutes then clear itself but sometimes never comes back and requires hard restart. Seems particularly bad on 10.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/159356 Title: System freeze on high memory usage -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Same bug. System freeze swapping/reading/writing something to disk when high memory. Even cursos is not moving. I've tried different partitions for swap, increasing swap partitions, etc. Maybe it is caused only after sleep/wakeup computer. I'm using Ubuntu 10.10 AMD64. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have this same problem with lucid when using an encrypted swap partition on a 64 bit system. If a process allocates most of the RAM, the system becomes unresponsive and if within X I have no other option but to force a power cycle. ctrl+alt+sysrq+f (to invoke the oom killer) doesn't seem to do its job, although the system is not completely frozen, since sysrq still display the help messages (ctrl+alt+sysrq+h) and I see some disk activity. Trying with a regular swap partition (not encrypted) works fine, so I assume there's some problem with the kcryptd from the linux kernel. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
It seemed to be better with the MEM=nopentium option, however it still crashes :( I can't even get the compilation job to finish. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I had this bug using Ubuntu Maverick (64 bit) on a AMD64 x2. I had it installed using the wubi installer so probably the performance of the swap-file on a NTFS partition is too slow. It crashed all the time on me compiling any larger project (compiling android 2.2 was the last thing i was doing). However, it seems that the problem is solved using the MEM=nopentium addition to the bootcommand. Maybe this helps. Regards, Patrick -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 159356] Re: System freeze on high memory usage
After these years, I would suggest a bug report on the Linux kernel mailing list or bugzilla. I don't think we can expect any help from the Ubuntu kernel team. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I have had this problem for many years now. I am glad to see that other people are complaining about it. Let me add that at first I have tried to buy more RAM and disable swap, as it seemed that hard drive usage was what killed the machine. Nevertheless, as soon as I do something wrong in matlab, the system freezed really bad. Given a few seconds/minutes/hours, matlab eventually get killed automatically but the loss in productivity is tremendous. I have never understood what is going on, as I have no swap. Also, if large chunks of memory get requested, matlab issues an out of memory statement, but what seems to freeze the machine are little subsequent request of small amounts of memory. Something in the kernel is plain wrong to allow a process to eat up all of the resources. In my personal opinion, you will always regret eventually to have chosen to save money on RAM relying on swap, because of misuses like this. But I hate that something is still crossing my choice of not having swap somehow. I would pay to know exactly what is going on. I use ubuntu lucid with the 2.6.32 kernel. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I found during testing yesterday that I *don't* get this freezing problem when swap is hit with the i386 kernel, only the 64 bit kernel, which is a real pity since 64 bit is supposed to give better performance. The 2.6.30.4 kernel I'm using is a big improvement over the Jaunty 2.6.28 kernel, which froze completely, but under the right conditions, 2.6.30 can still freeze X so badly that it takes a good 5 minutes just to login using ssh (and then killing the offending process takes another 5 minutes). I tried turning swap off, but the system really doesn't like it when it runs out of memory. Also see http://bugzilla.kernel.org/show_bug.cgi?id=13205. So is this bug about swap or not? The reporter indicated swap wasn't being used, but some subsequent comments have been related to swap. ** Bug watch added: Linux Kernel Bug Tracker #13205 http://bugzilla.kernel.org/show_bug.cgi?id=13205 -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Timothy, do you use a stock Ubuntu kernel or a self-compiled kernel? If your kernel doesn't use any Ubuntu specific patches, perhaps you could help speed things up a little by posting your software setup and the problem on the Linux kernel mailinglist. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This has also happened to me on many occasions. I have a Kubuntu 9.04 server at the office that has 24GB of main memory, so there is no swap space defined. When an application goes haywire and takes all the main memory (e.g. VMWare), the offending process is never terminated, the mouse pointer locks up, and all attempts at a remote SSH session fail-- the server has to be forcibly restarted. This is a critical bug! -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
This is not a bug in the linux-meta package, moving to the linux package. ** Package changed: linux-meta (Ubuntu) => linux (Ubuntu) -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I'm pretty sure this is the same but as reported in BUG #283420. There is a very small, very simple C++ utility posted on that thread that can be used to reproduce the system. The steps to reproduce are: 1. compile the binary: "g++ memory_overcommit.cc -o memory_overcommit.bin" 2. Start "top" (or any other utility that displays memory/swap/cache usage) and switch to memory centered view (key "M", i.e. uppercase M). 2. run the compiled binary: ./memory_overcommit.bin 3. Eat up the memory using the tool. You can start with chunks of (a few) hundred MiB, but - this is important - when approaching the value of free memory (i.e. when the free memory is reduced to smaller amounts) reduce the chunk size and /slowly/ approach the limit and wait a few seconds between each chunk of a few tens fo MiB. If the memory is allocated in too big chunks, the process gets killed correctly by the kernel OOM-killer (usually after a system stall of several seconds)! This bug can be observed especially when slowly approaching the hard limit of system memory, and with slow SWAP media (notably encrypted swap). IMO, this is even a security-issue, because it allows a total DOS in a multiuser environment. Has anyone observed the Linux kernel mailinglist (LKML) above this matter? Link to C++ utility (see other bug report): http://launchpadlibrarian.net/23372552/memory_overcommit.cc -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I guess my problem is related to this one. I also run a very memory-consuming batch matlab job (through a perl script). The job seems to run without problems when I am still working on my computer. But as soon as a scrrensaver is starting the whole system freezes. I have a frozen screensaver on my desktop and I there is no reaction to the mouse or the keyboard. Even the power button on the front side of the computer is not reacting and the only way to restart the system is to switch off the power on the back of the computer. I can awoid that the ystem is going into the screensaver mode, but the problem is still annoying. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Could this be related to this issue? http://bbs.archlinux.org/viewtopic.php?pid=390313#p390313 -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
Sorry, I know this is an older bug report. Because I frequently have the problem (even with 8.10 Intrepid): Ohad, which DMA setting do you mean? For the harddisk? -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I was able to resolve my problem by enabling DMA in the BIOS - the machine runs very well under high load now. -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 159356] Re: System freeze on high memory usage
I can confirm this in general for every linux distribution I've ever used. Any time I have a process that is both using 100% CPU and eats up memory, the system becomes unusable as soon as it starts using swap. At this point the hard drive starts thrashing and X slows to a crawl (the pointer updates maybe every 30 seconds). My only options at this point are to 1) hope the program finishes and gives some memory back, 2) wait for swap to fill completely so the kernel will kill the program, or 3) reboot the computer. The latter option is usually 5-10 minutes faster. I think this is a very meaningful bug report, and one that I'd love to see some attention given to, although I have no real idea what the solution might be. The only workaround I've found is just to disable swap completely (I'll bet your swap just wasn't enabled on your 32-bit box?). Of course it's expected that things will perform badly when the system is out of memory, but it's pretty rediculous that as soon as RAM is full there aren't even enough resources for me to get to a console, log in, and kill the program myself. It seems to me that if one program is spending all of its time writing swap pages, there should at least be plenty of CPU left over for me to operate the mouse, so it seems like there's something else going on that causes the system to crawl.. So the question is: can we come up with a reasonable fix for this problem, or do we just accept that any runaway process can crash the machine? For the time being, I'm happy running swapless. ** Changed in: linux-meta (Ubuntu) Status: New => Confirmed -- System freeze on high memory usage https://bugs.launchpad.net/bugs/159356 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs