apps die randomly when the system hits ~80% RAM usage
Bug #1267092 reported by
Oliver Grawert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
during tests with disabling swap (http://
doing the same with only native apps i can have up to 6 apps open until teh same behavior shows.
both of this is on maguro ... but i remember testing the same on mako about 6 months ago when we last discussed disabling swap and back then i noticed the same, just with about twice the amount of apps open (since mako has more ram)
summary: |
- apps die randomly when the system hits 100% RAM usage + apps die randomly when the system hits ~80% RAM usage |
To post a comment you must log in.
/* drivers/ misc/lowmemoryk iller.c lowmemorykiller /parameters/ adj and the lowmemorykiller /parameters/ minfree. Both lowmemorykiller /parameters/ adj and lowmemorykiller /parameters/ minfree to kill processes
*
* The lowmemorykiller driver lets user-space specify a set of memory thresholds
* where processes with a range of oom_adj values will get killed. Specify the
* minimum oom_adj values in /sys/module/
* number of free pages in /sys/module/
* files take a comma separated list of numbers in ascending order.
*
* For example, write "0,8" to /sys/module/
* "1024,4096" to /sys/module/
* with a oom_adj value of 8 or higher when the free memory drops below 4096 pages
* and kill processes with a oom_adj value of 0 or higher when the free memory
* drops below 1024 pages.
*
* The driver considers memory used for caches to be free, but if a large
* percentage of the cached memory is locked this can be very inaccurate
* and processes may not get killed until the normal oom killer is triggered.
*
root@ubuntu- phablet: /# cat /sys/module/ lowmemorykiller /parameters/ adj phablet: /# cat /sys/module/ lowmemorykiller /parameters/ minfree 4096,16384 phablet: /# grep oom /etc/init/ lightdm. override
0,1,6,12
root@ubuntu-
1536,2048,
root@ubuntu-
oom score -10