friendlyarm / h3_lichee

BSP for FriendlyARM NanoPi H3
106 stars 104 forks source link

OOM: "Out of memory: Kill process" happens when using apt-get command #25

Open ForrestHong opened 6 years ago

ForrestHong commented 6 years ago

Hello

I got following error every time on my NanoPi NEO when running apt-get command.

root@NanoPi-NEO:/home/pi# apt-get update
Hit:1 http://ports.ubuntu.com xenial InRelease
Hit:2 http://ports.ubuntu.com xenial-security InRelease Hit:3 http://ports.ubuntu.com xenial-updates InRelease Hit:4 http://ports.ubuntu.com xenial-backports InRelease [ 1083.337086] Out of memory: Kill process 2204 (apt-get) score 117 or sacrifice child [ 1083.345843] Killed process 2204 (apt-get) total-vm:42564kB, anon-rss:34092kB, file-rss:2160kB Killed

This issue doesn't happen on the mainline Kernel. I opened another SSH session to check the free memory periodically, and I can see it should have enough memory for "LowFree”.

root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 140976 kB root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 141576 kB root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 140532 kB root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 140664 kB root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 139876 kB root@NanoPi-NEO:~# root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 138508 kB root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 172348 kB root@NanoPi-NEO:~# egrep 'High|Low' /proc/meminfo HighTotal: 0 kB HighFree: 0 kB LowTotal: 246992 kB LowFree: 171912 kB

Could help to check this ?

Thanks

wuweidong0107 commented 6 years ago

please offer info above:

  1. ram size, 256 or 512MB?
  2. full rom name, like nanopi-neo_friendlycore-xenial_4.14.0_20180511.img.zip
ForrestHong commented 6 years ago

Hello The RAM size is 256, and the rom NAME is “nanopi-neo_friendlycore-xenial_3.4.39_20171102.img.zip”, which was download from the link in wiki

igorpecovnik commented 6 years ago

Check https://www.armbian.com/nanopi-neo/ Armbian Stretch/Xenial with 4.14.y or Armbian Bionic (testing) with 4.17.y

ForrestHong commented 6 years ago

Hello igorpecovnik kernel 4.14 is ok, I've tried "nanopi-neo_friendlycore-xenial_4.14.0_20180511.img.zip" last week and it work as expected,

But, we need to use 3.4.x kernel because in our project, some of external device drivers are not supported in 4.x kernel.

Can this issue be resovled in kernel 3.4.x ?

I pasted the dmesg output after I issue "apt-get install tcpdump", at the bottom of the dmesg, there is a line "Killed process 856 (apt-get) total-vm:40820kB, anon-rss:32708kB, file-rss:736kB", does it mean that the vm was run out of space?

`root@NanoPi-NEO:~# dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.39-h3 (root@test) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #3 SMP PREEMPT Thu Jun 7 12:45:47 HKT 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun8i [ 0.000000] cma: CMA: reserved 160 MiB at 46000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat c0a6a2c0, node_mem_map c0b8f000 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 64960 pages, LIFO batch:15 [ 0.000000] script_init enter! [ 0.000000] script_init exit! [ 0.000000] PERCPU: Embedded 8 pages/cpu @c0de0000 s11840 r8192 d12736 u32768 [ 0.000000] pcpu-alloc: s11840 r8192 d12736 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960 [ 0.000000] Kernel command line: console=ttyS0,115200 console=tty0 root=/dev/mmcblk0p2 rootwait storage_type=1 init=/sbin/init loglevel=8 partitions= selinux=0 fsck.repair=yes boot_type=1 disp_para=0 init_disp=20b0404 tv_vdid=0 fb_base=0x46400000 config_size=34796 [ 0.000000] setup_bootdev 1 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] allocated 524288 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 256MB = 256MB total [ 0.000000] Memory: 79848k/79848k available, 182296k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc09621cc (9577 kB) [ 0.000000] .init : 0xc0963000 - 0xc09b6e40 ( 336 kB) [ 0.000000] .data : 0xc09b8000 - 0xc0a6caf8 ( 723 kB) [ 0.000000] .bss : 0xc0a6d2ac - 0xc0b8e160 (1156 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:544 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty0] enabled [ 0.001426] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [ 0.001494] pid_max: default: 32768 minimum: 301 [ 0.001865] Mount-cache hash table entries: 512 [ 0.002972] Initializing cgroup subsys cpuacct [ 0.003015] Initializing cgroup subsys memory [ 0.003086] Initializing cgroup subsys devices [ 0.003121] Initializing cgroup subsys freezer [ 0.003154] Initializing cgroup subsys blkio [ 0.003197] Initializing cgroup subsys perf_event [ 0.003278] CPU: Testing write buffer coherency: ok [ 0.003360] ftrace: allocating 25992 entries in 77 pages [ 0.040365] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.040417] [sunxi_smp_prepare_cpus] enter [ 0.040479] Setting up static identity map for 0x406a1d38 - 0x406a1d90 [ 0.041596] CPU1: Booted secondary processor [ 0.041596] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.041737] CPU2: Booted secondary processor [ 0.041737] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.050298] CPU3: Booted secondary processor [ 0.050298] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.050421] Brought up 4 CPUs [ 0.050421] SMP: Total of 4 processors activated (19200.00 BogoMIPS). [ 0.051124] devtmpfs: initialized [ 0.060145] wakeup src cnt is : 2. [ 0.060173] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.060204] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0 [ 0.060237] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.060270] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.060301] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8 [ 0.060333] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.060366] sunxi pm init [ 0.060527] pinctrl core: initialized pinctrl subsystem [ 0.067430] NET: Registered protocol family 16 [ 0.068672] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.068672] script_sysfs_init success [ 0.068672] sunxi_dump_init success [ 0.068672] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl [ 0.068672] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver [ 0.068672] plat: add adxl34x device [ 0.068672] plat: add bmp085 device [ 0.068672] plat: add ds1307 device [ 0.068672] plat: add pcf8591 device [ 0.068672] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.068672] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.068672] script config pll_video to 297 Mhz [ 0.068672] script config pll_de to 864 Mhz [ 0.068672] script config pll_ve to 402 Mhz [ 0.068672] sunxi_default_clk_init [ 0.068672] try to set pll6ahb1 to 200000000 [ 0.068672] try to set ahb clk source to pll6ahb1 [ 0.068672] set ahb clk source to pll6ahb1 [ 0.068672] try to set ahb1 to 200000000 [ 0.068672] try to set apb1 to 100000000 [ 0.080276] bio: create slab at 0 [ 0.080477] [ARISC] :sunxi-arisc driver v1.04 [ 0.094035] [ARISC] :arisc version: [v0.1.58] [ 0.191976] [ARISC] :sunxi-arisc driver v1.04 startup succeeded [ 0.192115] pwm module init! [ 0.201741] SCSI subsystem initialized [ 0.201741] usbcore: registered new interface driver usbfs [ 0.201741] usbcore: registered new interface driver hub [ 0.201741] usbcore: registered new device driver usb [ 0.201741] Linux media interface: v0.10 [ 0.201741] Linux video capture interface: v2.00 [ 0.201741] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.202157] Bluetooth: Core ver 2.16 [ 0.202227] NET: Registered protocol family 31 [ 0.202252] Bluetooth: HCI device and connection manager initialized [ 0.202282] Bluetooth: HCI socket layer initialized [ 0.202306] Bluetooth: L2CAP socket layer initialized [ 0.202341] Bluetooth: SCO socket layer initialized [ 0.202450] Switching to clocksource arch_sys_counter [ 0.214311] FS-Cache: Loaded [ 0.214693] CacheFiles: Loaded [ 0.226871] NET: Registered protocol family 2 [ 0.227203] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.227799] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.227970] TCP bind hash table entries: 8192 (order: 4, 98304 bytes) [ 0.228114] TCP: Hash tables configured (established 8192 bind 8192) [ 0.228142] TCP: reno registered [ 0.228164] UDP hash table entries: 128 (order: 0, 4096 bytes) [ 0.228209] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) [ 0.228530] NET: Registered protocol family 1 [ 0.228960] RPC: Registered named UNIX socket transport module. [ 0.228994] RPC: Registered udp transport module. [ 0.229015] RPC: Registered tcp transport module. [ 0.229036] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.229264] Unpacking initramfs... [ 0.416001] Freeing initrd memory: 2912K [ 0.416798] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [ 0.416970] sunxi_reg_init enter [ 0.417860] audit: initializing netlink socket (disabled) [ 0.417934] type=2000 audit(0.410:1): initialized [ 0.419373] VFS: Disk quotas dquot_6.5.2 [ 0.419588] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.420329] NFS: Registering the id_resolver key type [ 0.420749] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.421376] NTFS driver 2.1.30 [Flags: R/W]. [ 0.421730] fuse init (API version 7.18) [ 0.422140] msgmni has been set to 481 [ 0.423652] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.423708] io scheduler noop registered [ 0.423728] io scheduler deadline registered [ 0.423805] io scheduler cfq registered (default) [ 0.424320] [DISP]disp_module_init [ 0.424657] cmdline,init_disp=20b0404 [ 0.424709] cmdline,disp=0 [ 0.437484] [DISP] Fb_map_kernel_logo,line:939:this is not a bmp picture [ 0.452829] Console: switching to colour frame buffer device 160x45 [ 0.469225] [DISP]disp_module_init finish [ 0.469594] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator. [ 0.469776] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator. [ 0.469951] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator. [ 0.470163] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator. [ 0.470960] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [ 0.471137] sw_uart_pm()890 - uart0 clk is already enable [ 0.471293] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n [ 0.663877] console [ttyS0] enabled [ 1.285914] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI [ 1.457909] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI [ 1.616790] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI [ 1.780634] sunxi_cmatest_init enter [ 2.034321] sunxi_cmatest_init success [ 2.043104] [drm] Initialized drm 1.1.0 20060810 [ 2.056821] loop: module loaded [ 2.064914] sunxi_spi_chan_cfg()1383 - [spi-0] has no spi_regulator. [ 2.076375] sunxi_spi_chan_cfg()1383 - [spi-1] has no spi_regulator. [ 2.088343] spi spi0: master is unqueued, this is deprecated [ 2.099303] tun: Universal TUN/TAP device driver, 1.6 [ 2.109237] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com [ 2.121549] PPP generic driver version 2.4.2 [ 2.130953] PPP BSD Compression module registered [ 2.140590] PPP Deflate Compression module registered [ 2.153450] PPP MPPE Compression module registered [ 2.163236] NET: Registered protocol family 24 [ 2.172506] PPTP driver version 0.8.5 [ 2.181131] GobiNet: Quectel_WCDMA&LTE_Linux&Android_GobiNet_Driver_V1.3.0 [ 2.193235] usbcore: registered new interface driver GobiNet [ 2.203921] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.235646] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.249032] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1 [ 2.262399] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000 [ 2.290040] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00 [ 2.301703] hub 1-0:1.0: USB hub found [ 2.310269] hub 1-0:1.0: 1 port detected [ 2.339336] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.352644] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2 [ 2.365896] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000 [ 2.390044] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00 [ 2.401686] hub 2-0:1.0: USB hub found [ 2.410369] hub 2-0:1.0: 1 port detected [ 2.439537] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.453013] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3 [ 2.466354] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000 [ 2.490043] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00 [ 2.501542] hub 3-0:1.0: USB hub found [ 2.510227] hub 3-0:1.0: 1 port detected [ 2.539422] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.553066] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4 [ 2.566545] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000 [ 2.590041] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00 [ 2.601722] hub 4-0:1.0: USB hub found [ 2.610426] hub 4-0:1.0: 1 port detected [ 2.619557] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.651043] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 2.664277] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5 [ 2.677412] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400 [ 2.744588] hub 5-0:1.0: USB hub found [ 2.753476] hub 5-0:1.0: 1 port detected [ 2.782881] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 2.796192] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6 [ 2.809493] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400 [ 2.884578] hub 6-0:1.0: USB hub found [ 2.893530] hub 6-0:1.0: 1 port detected [ 2.922973] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 2.936327] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7 [ 2.949602] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400 [ 3.024588] hub 7-0:1.0: USB hub found [ 3.033572] hub 7-0:1.0: 1 port detected [ 3.063104] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 3.076546] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8 [ 3.089858] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400 [ 3.164591] hub 8-0:1.0: USB hub found [ 3.173522] hub 8-0:1.0: 1 port detected [ 3.182925] Initializing USB Mass Storage driver... [ 3.193246] usbcore: registered new interface driver usb-storage [ 3.204598] USB Mass Storage support registered. [ 3.214495] usbcore: registered new interface driver ums-alauda [ 3.225858] usbcore: registered new interface driver ums-cypress [ 3.237306] usbcore: registered new interface driver ums-datafab [ 3.248616] usbcore: registered new interface driver ums_eneub6250 [ 3.260057] usbcore: registered new interface driver ums-freecom [ 3.271230] usbcore: registered new interface driver ums-isd200 [ 3.282315] usbcore: registered new interface driver ums-jumpshot [ 3.293470] usbcore: registered new interface driver ums-karma [ 3.304310] usbcore: registered new interface driver ums-onetouch [ 3.315329] usbcore: registered new interface driver ums-realtek [ 3.326157] usbcore: registered new interface driver ums-sddr09 [ 3.336814] usbcore: registered new interface driver ums-sddr55 [ 3.347439] usbcore: registered new interface driver ums-usbat [ 3.357946] usbcore: registered new interface driver usbserial [ 3.368319] usbserial: USB Serial Driver core [ 3.377006] usbcore: registered new interface driver option [ 3.387041] USB Serial support registered for GSM modem (1-port) [ 3.397955] usbcore: registered new interface driver qcserial [ 3.408264] USB Serial support registered for Qualcomm USB modem [ 3.419191] file system registered [ 3.428612] android_usb gadget: Mass Storage Function, version: 2009/09/11 [ 3.440335] android_usb gadget: Number of LUNs=3 [ 3.449340] lun0: LUN: removable file: (no medium) [ 3.458639] lun1: LUN: removable file: (no medium) [ 3.467853] lun2: LUN: removable file: (no medium) [ 3.477322] android_usb gadget: android_usb ready [ 3.486539] uinput result 0 , vmouse_init [ 3.495514] mousedev: PS/2 mouse device common for all mice [ 3.506496] ls_fetch_sysconfig_para: ls_unused. [ 3.515339] ltr_init: ls_fetch_sysconfig_para err. [ 3.524620] [RTC] WARNING: Rtc time will be wrong!! [ 3.533758] [RTC] WARNING: use internal OSC as clock source [ 3.544087] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0 [ 3.555200] i2c /dev entries driver [ 3.563169] IR RC5(x) protocol handler initialized [ 3.572627] sunxi tsc version 0.1 [ 3.580144] tscdev_init: tsc driver is disabled [ 3.588919] sunxi cedar version 0.1 [ 3.596521] [cedar]: install start!!! [ 3.604378] [cedar]: install end!!! [ 3.611766] Driver for 1-wire Dallas network protocol. [ 3.621155] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0 [ 3.631912] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [ 3.643390] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0) [ 3.658131] wdt_enable, write reg 0xf1c20cb8 val 0x00000000 [ 3.668072] timeout_to_interv, line 167 [ 3.676115] interv_to_timeout, line 189 [ 3.684192] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [ 3.697524] device-mapper: uevent: version 1.0.3 [ 3.706990] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 3.720707] Bluetooth: HCI UART driver ver 2.2 [ 3.729959] Bluetooth: HCI H4 protocol initialized [ 3.739649] Bluetooth: HCI BCSP protocol initialized [ 3.749553] Bluetooth: HCILL protocol initialized [ 3.759205] Bluetooth: HCIATH3K protocol initialized [ 3.769304] Bluetooth: MSM Sleep Mode Driver Ver 1.2 [ 3.779396] Bluetooth: init no bt used in configuration

[ 3.796073] calibrat: max_cpufreq 1200Mhz Type 0! [ 3.805913] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq [ 3.820218] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in May 25 2018 at 14:41:09 [ 3.836560] [mmc]: get mmc0's sdc_power is null! [ 3.846592] [mmc]: MMC host used card: 0x1, boot card: 0x1, io_card 0 [ 3.860772] no red_led, ignore it! [ 3.862220] [mmc]: sdc0 power_supply is null [ 3.879201] Registered led device: green_led [ 3.888061] Registered led device: blue_led [ 3.898170] usbcore: registered new interface driver usbhid [ 3.908437] usbhid: USB HID core driver [ 3.917536] pcm5102a_probe [ 3.927950] asoc: pcm5102a-hifi <-> pri_dai mapping ok [ 3.933054] mmc0: new high speed SDHC card at address b368 [ 3.933498] mmcblk0: mmc0:b368 USD 7.45 GiB [ 3.934591] mmcblk0: p1 p2 [ 3.968865] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 3.980201] oprofile: using arm/armv7-ca7 [ 3.988940] u32 classifier [ 3.995968] Actions configured [ 4.003712] Netfilter messages via NETLINK v0.30. [ 4.013001] nf_conntrack version 0.5.0 (3853 buckets, 15412 max) [ 4.024102] ctnetlink v0.93: registering with nfnetlink. [ 4.034124] NF_TPROXY: Transparent proxy support initialized, version 4.1.0 [ 4.045984] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd. [ 4.056987] xt_time: kernel timezone is -0000 [ 4.066188] IPv4 over IPv4 tunneling driver [ 4.075487] gre: GRE over IPv4 demultiplexor driver [ 4.085066] ip_gre: GRE over IPv4 tunneling driver [ 4.095069] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.105207] arp_tables: (C) 2002 David S. Miller [ 4.114370] TCP: cubic registered [ 4.121974] Initializing XFRM netlink socket [ 4.130877] NET: Registered protocol family 10 [ 4.140910] Mobile IPv6 [ 4.147450] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 4.157460] IPv6 over IPv4 tunneling driver [ 4.166882] NET: Registered protocol family 17 [ 4.175630] NET: Registered protocol family 15 [ 4.184579] Bluetooth: RFCOMM TTY layer initialized [ 4.193778] Bluetooth: RFCOMM socket layer initialized [ 4.203248] Bluetooth: RFCOMM ver 1.11 [ 4.211118] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 4.220754] Bluetooth: BNEP filters: protocol multicast [ 4.230293] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 4.240772] L2TP core driver, V2.0 [ 4.248193] PPPoL2TP kernel driver, V2.0 [ 4.256078] L2TP IP encapsulation support (L2TPv3) [ 4.264928] L2TP netlink interface [ 4.272157] L2TP ethernet pseudowire support (L2TPv3) [ 4.281210] Registering the dns_resolver key type [ 4.290441] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 4.302508] ThumbEE CPU extension supported. [ 4.310835] Registering SWP/SWPB emulation handler [ 4.321272] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:00:14 UTC (14) [ 4.333682] ths_fetch_sysconfig_para: type err device_used = 1. [ 4.345583] CPU Budget:Register notifier [ 4.353660] CPU Budget:register Success [ 4.361560] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0 [ 4.378364] [rf_pm]: module power0 name vcc-wifi-33 [ 4.387672] [rf_pm]: Did not config module_power1 in sys_config [ 4.398075] [rf_pm]: Did not config module_power2 in sys_config [ 4.408396] [rf_pm]: Did not config module_power3 in sys_config [ 4.418687] [rf_pm]: mod has no chip_en gpio [ 4.427129] [rf_pm]: failed to fetch lpo_use_apclk [ 4.436140] [rf_pm]: regulator on. [ 4.443604] [wifi_pm]: no wifi used in configuration [ 4.452763] [rfkill]: init no bt used in configuration [ 4.462078] ALSA device list: [ 4.468906] #0: Pcm5102a [ 4.475402] #1: sndhdmi [ 4.482141] Freeing init memory: 332K [ 5.289923] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 5.321638] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered [ 5.770154] systemd[1]: System time before build time, advancing clock. [ 6.310391] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 6.352792] systemd[1]: Detected architecture arm. [ 6.407478] systemd[1]: Set hostname to . [ 6.744548] systemd[1]: Listening on Journal Socket (/dev/log). [ 6.760678] systemd[1]: Reached target Remote File Systems (Pre). [ 6.776494] systemd[1]: Listening on Journal Socket. [ 6.791182] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 6.809415] systemd[1]: Created slice System Slice. [ 6.900319] systemd[1]: Mounting Debug File System... [ 7.090730] systemd[1]: Starting Remount Root and Kernel File Systems... [ 7.110195] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 7.129819] systemd[1]: Reached target Remote File Systems. [ 7.148236] systemd[1]: Listening on udev Control Socket. [ 7.190463] systemd[1]: Created slice User and Session Slice. [ 7.209701] systemd[1]: Reached target Slices. [ 7.227342] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 7.248325] systemd[1]: Reached target Paths. [ 7.265554] systemd[1]: Reached target Encrypted Volumes. [ 7.350624] systemd[1]: Starting Load Kernel Modules... [ 7.376098] systemd[1]: Listening on udev Kernel Socket. [ 7.491110] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 7.528715] systemd[1]: Reached target Swap. [ 7.590474] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 7.610452] systemd[1]: Listening on Journal Audit Socket. [ 7.710737] systemd[1]: Starting Journal Service... [ 7.830716] systemd[1]: Starting Set console keymap... [ 8.033648] systemd[1]: Mounted Debug File System. [ 8.051053] systemd[1]: Started Journal Service. [ 10.536413] systemd-journald[166]: Received request to flush runtime journal from PID 1 [ 16.211006] gmac0: probed [ 16.211389] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00) [ 20.210339] PHY: gmac0-0:00 - Link is Up - 100/Full [ 25.094920] awk invoked oom-killer: gfp_mask=0x84d2, order=0, oom_adj=0, oom_score_adj=0 [ 25.094946] awk cpuset=/ mems_allowed=0 [ 25.094993] [] (unwind_backtrace+0x0/0xec) from [] (dump_stack+0x20/0x24) [ 25.095016] [] (dump_stack+0x20/0x24) from [] (dump_header.isra.8+0x94/0xd0) [ 25.095040] [] (dump_header.isra.8+0x94/0xd0) from [] (oom_kill_process+0x70/0x240) [ 25.095062] [] (oom_kill_process+0x70/0x240) from [] (out_of_memory+0x13c/0x1d8) [ 25.095082] [] (out_of_memory+0x13c/0x1d8) from [] (alloc_pages_nodemask+0x684/0x864) [ 25.095106] [] (alloc_pages_nodemask+0x684/0x864) from [] (pte_alloc+0x30/0x150) [ 25.095127] [] (__pte_alloc+0x30/0x150) from [] (handle_mm_fault+0xc0/0x12c) [ 25.095148] [] (handle_mm_fault+0xc0/0x12c) from [] (do_page_fault+0x10c/0x348) [ 25.095169] [] (do_page_fault+0x10c/0x348) from [] (do_translation_fault+0x2c/0xc0) [ 25.095189] [] (do_translation_fault+0x2c/0xc0) from [] (do_DataAbort+0x44/0xa8) [ 25.095209] [] (do_DataAbort+0x44/0xa8) from [] (dabt_usr+0x38/0x40) [ 25.095221] Exception stack(0xc527ffb0 to 0xc527fff8) [ 25.095233] ffa0: b6f6db50 00000000 00000000 b6dd9138 [ 25.095248] ffc0: b6f6db50 b6dd9000 00000000 becc66e0 b6dd9000 becc6648 becc6844 0007707c [ 25.095263] ffe0: 6ffffeff becc66a8 b6f5775d b6f5b23e 40000030 ffffffff [ 25.095273] Mem-info: [ 25.095280] Normal per-cpu: [ 25.095288] CPU 0: hi: 90, btch: 15 usd: 0 [ 25.095296] CPU 1: hi: 90, btch: 15 usd: 0 [ 25.095304] CPU 2: hi: 90, btch: 15 usd: 0 [ 25.095313] CPU 3: hi: 90, btch: 15 usd: 0 [ 25.095331] active_anon:13409 inactive_anon:286 isolated_anon:0 [ 25.095336] active_file:2583 inactive_file:2807 isolated_file:32 [ 25.095341] unevictable:0 dirty:509 writeback:2337 unstable:0 [ 25.095345] free:35157 slab_reclaimable:1333 slab_unreclaimable:2099 [ 25.095350] mapped:2198 shmem:422 pagetables:222 bounce:0 [ 25.095355] free_cma:31145 [ 25.095383] Normal free:140628kB min:16184kB low:20228kB high:24276kB active_anon:53636kB inactive_anon:1144kB active_file:10332kB inactive_file:11228kB unevictable:0kB isolated(anon):0kB isolated(file):128kB present:259840kB mlocked:0kB dirty:2036kB writeback:9348kB mapped:8792kB shmem:1688kB slab_reclaimable:5332kB slab_unreclaimable:8396kB kernel_stack:960kB pagetables:888kB unstable:0kB bounce:0kB free_cma:124580kB writeback_tmp:0kB pages_scanned:33741 all_unreclaimable? yes [ 25.095412] lowmem_reserve[]: 0 0 0 [ 25.095426] Normal: 1024kB (UEMC) 2298kB (UEMC) 14616kB (UEMC) 5232kB (UMC) 6764kB (UMC) 61128kB (C) 62256kB (UC) 62512kB (C) 631024kB (UC) 12048kB (E) 24096kB (R) = 140704kB [ 25.095486] 5874 total pagecache pages [ 25.095493] 0 pages in swap cache [ 25.095500] Swap cache stats: add 0, delete 0, find 0/0 [ 25.095507] Free swap = 0kB [ 25.095513] Total swap = 0kB [ 25.098616] 65536 pages of RAM [ 25.098624] 35488 free pages [ 25.098630] 3803 reserved pages [ 25.098635] 3459 slab pages [ 25.098641] 16352 pages shared [ 25.098647] 0 pages swap cached [ 25.098654] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name [ 25.098709] [ 166] 0 166 1018 333 3 0 0 systemd-journal [ 25.098725] [ 179] 0 179 2747 326 1 -17 -1000 systemd-udevd [ 25.098741] [ 360] 100 360 3061 183 0 0 0 systemd-timesyn [ 25.098756] [ 376] 0 376 723 267 1 0 0 systemd-logind [ 25.098772] [ 383] 104 383 1250 360 1 -13 -900 dbus-daemon [ 25.098787] [ 384] 0 384 23379 1225 3 0 0 NetworkManager [ 25.098802] [ 385] 0 385 9956 727 3 0 0 ModemManager [ 25.098818] [ 403] 0 403 362 120 2 0 0 ondemand [ 25.098832] [ 409] 0 409 851 43 2 0 0 sleep [ 25.098847] [ 410] 0 410 6770 537 1 0 0 nm-dispatcher [ 25.098862] [ 414] 0 414 1994 296 2 -17 -1000 sshd [ 25.098877] [ 417] 0 417 8709 533 2 0 0 polkitd [ 25.098892] [ 418] 0 418 362 123 0 0 0 apt.systemd.dai [ 25.098908] [ 426] 0 426 638 170 0 0 0 systemd-hostnam [ 25.098922] [ 439] 0 439 10204 8496 1 0 0 apt-get [ 25.098937] [ 448] 0 448 991 299 2 0 0 dhclient [ 25.098952] [ 454] 0 454 11969 1982 2 0 0 rpimonitord [ 25.098967] [ 461] 1000 461 12003 1976 3 0 0 rpimonitord [ 25.098983] [ 462] 0 462 11969 2057 3 0 0 rpimonitord [ 25.098998] [ 475] 0 475 4592 649 1 0 0 lcd2usb_print [ 25.099014] [ 476] 0 476 1764 352 3 0 0 login [ 25.099029] [ 477] 0 477 1244 339 1 0 0 login [ 25.099043] [ 488] 0 488 362 110 1 0 0 sh [ 25.099058] [ 487] 0 487 362 116 3 0 0 sh [ 25.099072] [ 490] 0 490 337 113 3 0 0 run-parts [ 25.099087] [ 489] 0 489 337 114 2 0 0 run-parts [ 25.099102] [ 501] 0 501 658 287 1 0 0 30-sysinfo [ 25.099117] [ 502] 0 502 658 287 2 0 0 30-sysinfo [ 25.099131] [ 529] 0 529 658 125 1 0 0 30-sysinfo [ 25.099146] [ 531] 0 531 658 89 2 0 0 30-sysinfo [ 25.099161] [ 532] 0 532 658 125 3 0 0 30-sysinfo [ 25.099176] [ 533] 0 533 535 142 2 0 0 sed [ 25.099191] [ 534] 0 534 565 59 0 0 0 awk [ 25.099205] [ 536] 0 536 658 89 2 0 0 30-sysinfo [ 25.099221] [ 537] 0 537 535 142 2 0 0 sed [ 25.099234] [ 538] 0 538 802 66 3 0 0 awk [ 25.099246] Out of memory: Kill process 439 (apt-get) score 107 or sacrifice child [ 25.107885] Killed process 439 (apt-get) total-vm:40816kB, anon-rss:32836kB, file-rss:1148kB [ 25.118020] apt-get: page allocation failure: order:0, mode:0x80050 [ 25.118036] SLAB: Unable to allocate memory on node 0 (gfp=0x80050) [ 25.118046] cache: buffer_head, object size: 64, order: 0 [ 25.118067] node 0: slabs: 53/53, objs: 3127/3127, free: 0 [ 88.628970] lcd2usb_print invoked oom-killer: gfp_mask=0x80d0, order=0, oom_adj=0, oom_score_adj=0 [ 88.628995] lcd2usb_print cpuset=/ mems_allowed=0 [ 88.629041] [] (unwind_backtrace+0x0/0xec) from [] (dump_stack+0x20/0x24) [ 88.629065] [] (dump_stack+0x20/0x24) from [] (dump_header.isra.8+0x94/0xd0) [ 88.629088] [] (dump_header.isra.8+0x94/0xd0) from [] (oom_kill_process+0x70/0x240) [ 88.629109] [] (oom_kill_process+0x70/0x240) from [] (out_of_memory+0x13c/0x1d8) [ 88.629129] [] (out_of_memory+0x13c/0x1d8) from [] (alloc_pages_nodemask+0x684/0x864) [ 88.629150] [] (alloc_pages_nodemask+0x684/0x864) from [] (get_free_pages+0x20/0x3c) [ 88.629169] [] (get_free_pages+0x20/0x3c) from [] (get_zeroed_page+0x20/0x24) [ 88.629192] [] (get_zeroed_page+0x20/0x24) from [] (sysfs_follow_link+0x28/0x184) [ 88.629217] [] (sysfs_follow_link+0x28/0x184) from [] (link_path_walk+0x3f0/0x7a0) [ 88.629237] [] (link_path_walk+0x3f0/0x7a0) from [] (path_lookupat+0x64/0x694) [ 88.629256] [] (path_lookupat+0x64/0x694) from [] (do_path_lookup+0x2c/0xd0) [ 88.629275] [] (do_path_lookup+0x2c/0xd0) from [] (user_path_at_empty+0x68/0x8c) [ 88.629294] [] (user_path_at_empty+0x68/0x8c) from [] (user_path_at+0x24/0x2c) [ 88.629313] [] (user_path_at+0x24/0x2c) from [] (vfs_fstatat+0x44/0x74) [ 88.629330] [] (vfs_fstatat+0x44/0x74) from [] (vfs_lstat+0x2c/0x30) [ 88.629347] [] (vfs_lstat+0x2c/0x30) from [] (sys_lstat64+0x24/0x40) [ 88.629367] [] (sys_lstat64+0x24/0x40) from [] (ret_fast_syscall+0x0/0x30) [ 88.629379] Mem-info: [ 88.629387] Normal per-cpu: [ 88.629394] CPU 0: hi: 90, btch: 15 usd: 0 [ 88.629403] CPU 1: hi: 90, btch: 15 usd: 0 [ 88.629411] CPU 2: hi: 90, btch: 15 usd: 0 [ 88.629419] CPU 3: hi: 90, btch: 15 usd: 0 [ 88.629438] active_anon:13940 inactive_anon:300 isolated_anon:0 [ 88.629443] active_file:254 inactive_file:5005 isolated_file:0 [ 88.629447] unevictable:0 dirty:105 writeback:4896 unstable:0 [ 88.629452] free:34919 slab_reclaimable:1376 slab_unreclaimable:2063 [ 88.629457] mapped:293 shmem:455 pagetables:217 bounce:0 [ 88.629461] free_cma:31048 [ 88.629488] Normal free:139676kB min:16184kB low:20228kB high:24276kB active_anon:55760kB inactive_anon:1200kB active_file:1016kB inactive_file:20020kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:259840kB mlocked:0kB dirty:420kB writeback:19584kB mapped:1172kB shmem:1820kB slab_reclaimable:5504kB slab_unreclaimable:8252kB kernel_stack:784kB pagetables:868kB unstable:0kB bounce:0kB free_cma:124192kB writeback_tmp:0kB pages_scanned:35102 all_unreclaimable? yes [ 88.629518] lowmem_reserve[]: 0 0 0 [ 88.629531] Normal: 2574kB (UEMC) 3968kB (UEMC) 20416kB (UEMC) 2232kB (UEMC) 464kB (UC) 42128kB (C) 74256kB (UC) 65512kB (C) 641024kB (EC) 02048kB 24096kB (R) = 139748kB [ 88.629589] 5725 total pagecache pages [ 88.629596] 0 pages in swap cache [ 88.629603] Swap cache stats: add 0, delete 0, find 0/0 [ 88.629610] Free swap = 0kB [ 88.629615] Total swap = 0kB [ 88.632592] 65536 pages of RAM [ 88.632605] 35201 free pages [ 88.632611] 3803 reserved pages [ 88.632617] 3442 slab pages [ 88.632623] 13566 pages shared [ 88.632629] 0 pages swap cached [ 88.632636] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name [ 88.632692] [ 166] 0 166 1018 130 3 0 0 systemd-journal [ 88.632709] [ 179] 0 179 2747 153 2 -17 -1000 systemd-udevd [ 88.632725] [ 360] 100 360 3061 57 2 0 0 systemd-timesyn [ 88.632740] [ 376] 0 376 831 75 3 0 0 systemd-logind [ 88.632755] [ 383] 104 383 1250 117 1 -13 -900 dbus-daemon [ 88.632770] [ 384] 0 384 23417 476 3 0 0 NetworkManager [ 88.632786] [ 385] 0 385 9956 339 0 0 0 ModemManager [ 88.632800] [ 414] 0 414 1994 127 0 -17 -1000 sshd [ 88.632815] [ 417] 0 417 8709 137 2 0 0 polkitd [ 88.632830] [ 448] 0 448 991 153 1 0 0 dhclient [ 88.632845] [ 454] 0 454 11969 1729 2 0 0 rpimonitord [ 88.632860] [ 461] 1000 461 12003 1741 3 0 0 rpimonitord [ 88.632875] [ 462] 0 462 11969 1733 3 0 0 rpimonitord [ 88.632891] [ 475] 0 475 4592 141 1 0 0 lcd2usb_print [ 88.632906] [ 476] 0 476 1764 114 0 0 0 login [ 88.632921] [ 477] 0 477 1244 112 2 0 0 login [ 88.632935] [ 633] 1000 633 1314 135 2 0 0 systemd [ 88.632950] [ 634] 65534 634 1957 80 2 0 0 dnsmasq [ 88.632964] [ 635] 1000 635 1686 284 0 0 0 (sd-pam) [ 88.632979] [ 654] 1000 654 1206 83 2 0 0 bash [ 88.632993] [ 655] 1000 655 1200 79 1 0 0 bash [ 88.633008] [ 743] 0 743 2966 178 3 0 0 sshd [ 88.633022] [ 745] 0 745 1206 125 3 0 0 systemd [ 88.633037] [ 746] 0 746 6294 294 3 0 0 (sd-pam) [ 88.633052] [ 823] 0 823 1204 72 3 0 0 bash [ 88.633065] [ 856] 0 856 10205 8361 2 0 0 apt-get [ 88.633077] Out of memory: Kill process 856 (apt-get) score 105 or sacrifice child [ 88.641772] Killed process 856 (apt-get) total-vm:40820kB, anon-rss:32708kB, file-rss:736kB [ 88.659856] apt-get: page allocation failure: order:0, mode:0x80050 [ 88.659877] SLAB: Unable to allocate memory on node 0 (gfp=0x80050) [ 88.659887] cache: buffer_head, object size: 64, order: 0 [ 88.659918] node 0: slabs: 89/89, objs: 5251/5251, free: 0 `

Thanks Forrest

igorpecovnik commented 6 years ago

But, we need to use 3.4.x kernel because in our project, some of external device drivers are not supported in 4.x kernel.

Then still it is better to use our 3.4.113 kernel since it has a ton of fixes: https://github.com/armbian/linux + https://github.com/armbian/build/tree/master/patch/kernel/sun8i-default and perhaps this problem is solved.

Check for images in archive: https://dl.armbian.com/nanopineo/archive/

ForrestHong commented 6 years ago

Hello igorpecovnik

Does Armbian support NanpiNEO-CORE board, we will finally use this board and burn the image(boot/kernel/rootfs) to it's board nand flash. which was described in following link:

http://wiki.friendlyarm.com/wiki/index.php/Assembling_the_SD_card_image_yourself

Thanks Forrest

ForrestHong commented 6 years ago

I see this link https://docs.armbian.com/User-Guide_Getting-Started/#how-to-install-to-emmc-nand-sata-usb it should support install image to NAND flash, I will try it when I go the NanoPiNeo Core board,

Anyway, I tried the Armbian image "Armbian_5.35_Nanopineo_Ubuntu_xenial_default_3.4.113.7z", and I didn't see the OOM issue when running the apt-get command.

I will keeping on testing this image.

Thanks Forrest

wuweidong0107 commented 6 years ago

may be swap enabled or some kernel update?

ForrestHong commented 6 years ago

Yes, enable the swap can resolve this issue, I enabled the "zram" in kernel, and add following lines in "/etc/rc.local"

echo $((64*1024*1024)) > /sys/block/zram0/disksize && mkswap /dev/zram0 && swapon -p 5 /dev/zram0 &&

after that, i didn't see the OOM issue anymore.