Bug 80891 - Memory out or leak: page allocation failure
Summary: Memory out or leak: page allocation failure
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Other (show other bugs)
Hardware: ARM Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 11:51 UTC by Boris Vinogradov
Modified: 2016-03-21 18:16 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.15.x
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Boris Vinogradov 2014-07-22 11:51:50 UTC
I'm running new kernel on my board (BeagleBone Black).

After start in idle mode kernel working normally - used memory size about 15 - 30 MB.

But if I started torrent client memory using is high around few minutes - 100 - 150 MB. Network activity lower than 500 kbps.

Day after I get many errors in dmesg: 

[50886.087659] kswapd0: page allocation failure: order:0, mode:0x20

or

[46448.787367] swapper/0: page allocation failure: order:1, mode:0x204020

And another my programms is down.
Comment 1 Boris Vinogradov 2014-07-22 12:33:24 UTC
After 1 hour on start memory using:

beaglebone tr_ctrl # free -m
             total       used       free     shared    buffers     cached
Mem:           492        487          4          0          0        448
-/+ buffers/cache:         38        453
Swap:            0          0          0
Comment 2 Boris Vinogradov 2014-07-22 14:58:15 UTC
Аfter 4 hour on start memory using (torren client stopped 3 hour's ago):

beaglebone tr_ctrl # free -m
             total       used       free     shared    buffers     cached
Mem:           492         35        457          0          0         16
-/+ buffers/cache:         18        474
Swap:            0          0          0
Comment 3 Boris Vinogradov 2014-07-24 11:17:30 UTC
This is true for 3.15.6 version of kernel.
Comment 4 Boris Vinogradov 2014-07-24 11:19:37 UTC
I'm using this config in /etc/sysctrl.conf:

# minimal freed rams
vm.min_free_kbytes = 65536
# transmission needed
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
# slowed swapping
vm.swappiness=80
# fixed caches
vm.dirty_background_bytes=16777216
vm.dirty_bytes=50331648

And device stability uptime 1 day and 4 hours (with torrent client high activity).

memory using:

beaglebone ~ # free -m
             total       used       free     shared    buffers     cached
Mem:           492        381        111          0          1        320
-/+ buffers/cache:         59        432
Swap:            0          0          0

Note You need to log in before you can comment on or make changes to this bug.