Re: [Kernel-packages] [Bug 159356] Re: System freeze on high memory usage

2017-11-15 Thread yas
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 Kernel
Packages, which is subscribed to linux in Ubuntu.
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 159356] Re: System freeze on high memory usage

2017-09-27 Thread yas
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 Kernel
Packages, which is subscribed to linux in Ubuntu.
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1504914] Re: System freeze/restart on high memory usage

2015-10-12 Thread yas
Hi Christopher: I've tested it with the latest upstream kernel available
4.3.0-040300rc5 and the problem persist with the same symptoms described
previously. This time tough I've got a crash file  _usr_bin_Xorg.0.crash
but when I've tried to send it as bug report it gives an error and
prevent me to send it. The title of the crash report would be "Xorg
crashed with SIGABRT in __libc_message()". HTH


** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  What is expected to happen is when all RAM and swap is either nearly
  or fully consumed by a process or application, the OS remains
  responsive, it doesn't crash to the login screen, and eventually the
  process or application asking for the majority of resources is force
  closed.

  What happens instead is the mouse stops responding promptly or not at
  all, and eventually the system resets to the logon screen.

  Specific scenarios to reproduce:
  - First, when having several chrome tabs open, press CTRL+T several times and 
arrive to a memory limit.
  - Second, I experience this when using virtualbox, given that the VM was 
asking for half of the memory available, as soon as I open a couple of tabs in 
chrome in the host the system started to be unusable.
  - Third, to reproduce it easily I've installed memtester application and run 
a couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

  I've checked:
  - All 4GB of memory passed memtest86+.
  - Tested with and without 4GB swap file same crash.

  Untested: Adding in /etc/rc.local :
  sysctl vm.vfs_cache_pressure=10

  WORKAROUND: By adding into /etc/sysctl.conf the following, I'm not losing 
control of the system even if it slows down when ramping up the swap use:
  vm.min_free_kbytes=131072
  vm.swappiness=5

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-65-generic 3.13.0-65.106
  ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
  Uname: Linux 3.13.0-65-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  yas3625 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Oct 11 10:41:41 2015
  InstallationDate: Installed on 2015-01-17 (266 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-65-generic N/A
   linux-backports-modules-3.13.0-65-generic  N/A
   linux-firmware 1.127.15
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2015
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P11ABK
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: NP900X3E-A01ES
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP11ABK:bd07/15/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X3E/900X4C/900X4D:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP900X3E-A01ES:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 900X3C/900X3D/900X3E/900X4C/900X4D
  dmi.product.version: 0.1
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1504914] Re: System freeze/restart on high memory usage

2015-10-12 Thread yas
Hi Christopher, 
I've done further tests.
Regarding your question, effectively after reproducing the problem with the 
previous kernel I've got a crash file from google-chrome. Even with the default 
values mentioned in #3 
What I've observed is: 
- when having swap off the problem arrives faster when reaching the memory 
limit, the system just restart at logon screen (but it doesn't seem a complete 
reset because I didn't get the GRUB screen (more like the lightdm process 
restart?)
- when having swap on the problem arrives when consuming almost all the swap 
memory, but same issue: mouse and keyboard start not to respond and then 
finally restart.
- with the new kernel 3.14 the restart does not arrive but the system become 
equally freeze near the limit of memory and eventually require a hard reset or 
have to wait to be able to kill some of the process (that could take too long). 
But in this case google-chrome started to give unresponsive windows messages 
and kill their own processes himself, giving proper errors.

The steps I use to reproduce the problem are:
- execute $ sudo memtester 2G
- open almost 30 bookmarks of web pages as tabs of google-chrome
- eventually execute $ sudo memtester 1G (when using swap to reach the limit 
again)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  When a process demands increasingly to the limit of memory available the 
system becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
  The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

  What I have done?
  - Discard hardware problems, testing memory with memtest86+. No issue 
detected there.
  - Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
  - Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
  With this adjustment the issue have been reduced drastically, I'm not losing 
control of the system even if it slows down when ramping up the swap use.
  - I've not yet tried the suggestion here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/35 because 
with the previous tip the system is behaving much as expected, but I have it in 
the list to test it if I experiment further crashes.

  How did I reproduce it?
  - First, I experience this when having several chrome tabs open (chrome is 
eating a lot of memory lately being in tabs or in extensions). It's easy to 
press CTRL+T several times and arrive to a memory limit.
  - Second, I experience this when using virtualbox, given that the vm was 
asking half of the memory available, as soon as I open a couple of tabs in 
chrome in the host the system started to be unusable.
  - Third, to reproduce it easily I've installed memtester application and run 
a couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

  Tell me if I should add any other log to help diagnose the issue.
  Hope this helps.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-65-generic 3.13.0-65.106
  ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
  Uname: Linux 3.13.0-65-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  AudioDevicesInUse:
   USER    PID ACCESS COMMAND
   /dev/snd/controlC0:  yas3625 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Oct 11 10:41:41 2015
  InstallationDate: Installed on 2015-01-17 (266 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-65-generic N/A
   linux-backports-modules-3.13.0-65-generic  N/A
   linux-firmware 1.127.15
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2015
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P11ABK
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: NP900X3E-A01ES
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vend

[Kernel-packages] [Bug 1504914] Re: System freeze/restart on high memory usage

2015-10-12 Thread yas
** Tags removed: kernel-fixed-upstream

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  When a process demands increasingly to the limit of memory available the 
system becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
  The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

  What I have done?
  - Discard hardware problems, testing memory with memtest86+. No issue 
detected there.
  - Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
  - Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
  With this adjustment the issue have been reduced drastically, I'm not losing 
control of the system even if it slows down when ramping up the swap use.
  - I've not yet tried the suggestion here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/35 because 
with the previous tip the system is behaving much as expected, but I have it in 
the list to test it if I experiment further crashes.

  How did I reproduce it?
  - First, I experience this when having several chrome tabs open (chrome is 
eating a lot of memory lately being in tabs or in extensions). It's easy to 
press CTRL+T several times and arrive to a memory limit.
  - Second, I experience this when using virtualbox, given that the vm was 
asking half of the memory available, as soon as I open a couple of tabs in 
chrome in the host the system started to be unusable.
  - Third, to reproduce it easily I've installed memtester application and run 
a couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

  Tell me if I should add any other log to help diagnose the issue.
  Hope this helps.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-65-generic 3.13.0-65.106
  ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
  Uname: Linux 3.13.0-65-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  yas3625 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Oct 11 10:41:41 2015
  InstallationDate: Installed on 2015-01-17 (266 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-65-generic N/A
   linux-backports-modules-3.13.0-65-generic  N/A
   linux-firmware 1.127.15
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2015
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P11ABK
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: NP900X3E-A01ES
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP11ABK:bd07/15/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X3E/900X4C/900X4D:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP900X3E-A01ES:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 900X3C/900X3D/900X3E/900X4C/900X4D
  dmi.product.version: 0.1
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1504914] Re: System freeze/restart on high memory usage

2015-10-11 Thread yas
** Attachment removed: "WifiSyslog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+attachment/4491481/+files/WifiSyslog.txt

** Attachment removed: "IwConfig.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+attachment/4491470/+files/IwConfig.txt

** Attachment removed: "CRDA.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+attachment/4491467/+files/CRDA.txt

** Attachment removed: "AlsaInfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+attachment/4491465/+files/AlsaInfo.txt

** Attachment removed: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+attachment/4491468/+files/CurrentDmesg.txt

** Attachment removed: "PulseList.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+attachment/4491477/+files/PulseList.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  When a process demands increasingly to the limit of memory available the 
system becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
  The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

  What I have done?
  - Discard hardware problems, testing memory with memtest86+. No issue 
detected there.
  - Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
  - Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
  With this adjustment the issue have been reduced drastically, I'm not losing 
control of the system even if it slows down when ramping up the swap use.
  - I've not yet tried the suggestion here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/35 because 
with the previous tip the system is behaving much as expected, but I have it in 
the list to test it if I experiment further crashes.

  How did I reproduce it?
  - First, I experience this when having several chrome tabs open (chrome is 
eating a lot of memory lately being in tabs or in extensions). It's easy to 
press CTRL+T several times and arrive to a memory limit.
  - Second, I experience this when using virtualbox, given that the vm was 
asking half of the memory available, as soon as I open a couple of tabs in 
chrome in the host the system started to be unusable.
  - Third, to reproduce it easily I've installed memtester application and run 
a couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

  Tell me if I should add any other log to help diagnose the issue.
  Hope this helps.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-65-generic 3.13.0-65.106
  ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
  Uname: Linux 3.13.0-65-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  yas3625 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Oct 11 10:41:41 2015
  InstallationDate: Installed on 2015-01-17 (266 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-65-generic N/A
   linux-backports-modules-3.13.0-65-generic  N/A
   linux-firmware 1.127.15
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2015
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P11ABK
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: NP900X3E-A01ES
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP11ABK:bd07/15/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X3E/900X4C/900X4D:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP900X3E-A01ES:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 900X3C/900X3D/900X3E/900X4C/90

[Kernel-packages] [Bug 1504914] Re: System freeze/restart on high memory usage

2015-10-11 Thread yas
** Tags added: kernel-fixed-upstream

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  When a process demands increasingly to the limit of memory available the 
system becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
  The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

  What I have done?
  - Discard hardware problems, testing memory with memtest86+. No issue 
detected there.
  - Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
  - Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
  With this adjustment the issue have been reduced drastically, I'm not losing 
control of the system even if it slows down when ramping up the swap use.
  - I've not yet tried the suggestion here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/35 because 
with the previous tip the system is behaving much as expected, but I have it in 
the list to test it if I experiment further crashes.

  How did I reproduce it?
  - First, I experience this when having several chrome tabs open (chrome is 
eating a lot of memory lately being in tabs or in extensions). It's easy to 
press CTRL+T several times and arrive to a memory limit.
  - Second, I experience this when using virtualbox, given that the vm was 
asking half of the memory available, as soon as I open a couple of tabs in 
chrome in the host the system started to be unusable.
  - Third, to reproduce it easily I've installed memtester application and run 
a couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

  Tell me if I should add any other log to help diagnose the issue.
  Hope this helps.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-65-generic 3.13.0-65.106
  ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
  Uname: Linux 3.13.0-65-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  yas3625 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Oct 11 10:41:41 2015
  InstallationDate: Installed on 2015-01-17 (266 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-65-generic N/A
   linux-backports-modules-3.13.0-65-generic  N/A
   linux-firmware 1.127.15
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2015
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P11ABK
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: NP900X3E-A01ES
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP11ABK:bd07/15/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X3E/900X4C/900X4D:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP900X3E-A01ES:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 900X3C/900X3D/900X3E/900X4C/900X4D
  dmi.product.version: 0.1
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504914/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1504914] Re: System freeze/restart on high memory usage

2015-10-11 Thread yas
I've tested it in the upstream kernel as indicated here: 
https://wiki.ubuntu.com/Kernel/MainlineBuilds
$ uname -a
Linux ultra 3.14.1-031401-generic #201404141220 SMP Mon Apr 14 16:21:48 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux

It behaves properly when swap is on, and when swap is off it slows down when 
reaching higher limits of memory consumption and finally google-chrome crashes 
and memtester quits when trying to access more than available memory. 
The system stays stable, losing a little of responsiveness (even if CPU is not 
at maximum usage) but being still usable . I guess is reasonable expected and a 
much better behavior. 

It comes already with this default values:
vm.swappiness = 60
vm.min_free_kbytes = 67584
vm.vfs_cache_pressure = 100

Hope this helps.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  When a process demands increasingly to the limit of memory available the 
system becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
  The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

  What I have done?
  - Discard hardware problems, testing memory with memtest86+. No issue 
detected there.
  - Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
  - Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
  With this adjustment the issue have been reduced drastically, I'm not losing 
control of the system even if it slows down when ramping up the swap use.
  - I've not yet tried the suggestion here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/35 because 
with the previous tip the system is behaving much as expected, but I have it in 
the list to test it if I experiment further crashes.

  How did I reproduce it?
  - First, I experience this when having several chrome tabs open (chrome is 
eating a lot of memory lately being in tabs or in extensions). It's easy to 
press CTRL+T several times and arrive to a memory limit.
  - Second, I experience this when using virtualbox, given that the vm was 
asking half of the memory available, as soon as I open a couple of tabs in 
chrome in the host the system started to be unusable.
  - Third, to reproduce it easily I've installed memtester application and run 
a couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

  Tell me if I should add any other log to help diagnose the issue.
  Hope this helps.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-65-generic 3.13.0-65.106
  ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
  Uname: Linux 3.13.0-65-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  yas3625 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun Oct 11 10:41:41 2015
  InstallationDate: Installed on 2015-01-17 (266 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-65-generic N/A
   linux-backports-modules-3.13.0-65-generic  N/A
   linux-firmware 1.127.15
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/15/2015
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P11ABK
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: NP900X3E-A01ES
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP11ABK:bd07/15/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X3E/900X4C/900X4D:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP900X3E-A01ES:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 900X3C/900X3D/900X3E/900X4C/900X4D
  dmi.product.version: 0.1
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to:
https://bugs.launchpad.ne

[Kernel-packages] [Bug 159356] Re: System freeze on high memory usage

2015-10-11 Thread yas
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 Kernel
Packages, which is subscribed to linux in Ubuntu.
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1504914] [NEW] System freeze/restart on high memory usage

2015-10-11 Thread yas
Public bug reported:

When a process demands increasingly to the limit of memory available the system 
becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

What I have done?
- Discard hardware problems, testing memory with memtest86+. No issue detected 
there.
- Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
- Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
With this adjustment the issue have been reduced drastically, I'm not losing 
control of the system even if it slows down when ramping up the swap use.
- I've not yet tried the suggestion here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/35 because 
with the previous tip the system is behaving much as expected, but I have it in 
the list to test it if I experiment further crashes.

How did I reproduce it?
- First, I experience this when having several chrome tabs open (chrome is 
eating a lot of memory lately being in tabs or in extensions). It's easy to 
press CTRL+T several times and arrive to a memory limit.
- Second, I experience this when using virtualbox, given that the vm was asking 
half of the memory available, as soon as I open a couple of tabs in chrome in 
the host the system started to be unusable.
- Third, to reproduce it easily I've installed memtester application and run a 
couple of instances of it asking 2G chunks, this effectively reproduce the 
crash very effectively.

Tell me if I should add any other log to help diagnose the issue.
Hope this helps.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-65-generic 3.13.0-65.106
ProcVersionSignature: Ubuntu 3.13.0-65.106-generic 3.13.11-ckt26
Uname: Linux 3.13.0-65-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  yas3625 F pulseaudio
CurrentDesktop: Unity
Date: Sun Oct 11 10:41:41 2015
InstallationDate: Installed on 2015-01-17 (266 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-65-generic.efi.signed 
root=UUID=c5d1dcf0-367e-4643-99f9-735befcdaba1 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-65-generic N/A
 linux-backports-modules-3.13.0-65-generic  N/A
 linux-firmware 1.127.15
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/15/2015
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P11ABK
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: NP900X3E-A01ES
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP11ABK:bd07/15/2015:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X3E/900X4C/900X4D:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP900X3E-A01ES:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 900X3C/900X3D/900X3E/900X4C/900X4D
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1504914

Title:
  System freeze/restart on high memory usage

Status in linux package in Ubuntu:
  New

Bug description:
  When a process demands increasingly to the limit of memory available the 
system becomes unusable, mouse start to not respond promptly or not at all, and 
eventually the system resets to the logon screen. 
  The expected behavior would be not to lose control of the machine but crash 
eventually the process or application asking for resources. 

  What I have done?
  - Discard hardware problems, testing memory with memtest86+. No issue 
detected there.
  - Test without swap file and with swap file of 4Gb (similar to main memory). 
Same crash.
  - Following the advise on 
http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
 set the sysctl vm.min_free_kbytes and adjust swappiness as described here 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356/comments/41
  

[Kernel-packages] [Bug 159356] Re: System freeze on high memory usage

2015-10-10 Thread yas
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 Kernel
Packages, which is subscribed to linux in Ubuntu.
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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp