OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Vladdrako - 10.04.2021

FS#3734 - Huge memory leak on kernel 5.10 with vsftpd, minidlna

Device: Xiaomi Mi Router 3G
Linux version 5.10.28 (root@Vladdrako-PC) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 10.2.0 r16692-ec5eadde66) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #0 SMP Sat Apr 10 04:38:37 2021
When minidlna tried to scan my HDDs, after a minute I have 0 RAM. Same with vsftpd when I accessing files on HDDs. Kernel 5.4 works fine.

root@MI-R3G:~# free
              total        used        free      shared  buff/cache   available
Mem:         250096       98148       77212         568       74736       85924
Swap:        250092       33432      216660
root@MI-R3G:~# free
              total        used        free      shared  buff/cache   available
Mem:         250096       96076       69912         568       84108       88024
Swap:        250092       33432      216660
root@MI-R3G:~# free
              total        used        free      shared  buff/cache   available
Mem:         250096      203124       27908         404       19064        3400
Swap:        250092      113380      136712

root@MI-R3G:~# lsusb -v -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
    ID 1d6b:0003
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
    ID 1d6b:0002
    |__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
        ID 05e3:0610
        |__ Port 1: Dev 3, If 0, Class=, Driver=usb-storage, 480M
            ID 152d:0579
        |__ Port 2: Dev 4, If 0, Class=, Driver=usb-storage, 480M
            ID 152d:0579
        |__ Port 3: Dev 5, If 0, Class=, Driver=usb-storage, 480M
            ID 8564:1000
        |__ Port 4: Dev 7, If 0, Class=, Driver=usbfs, 1.5M
            ID 0d9f:0004
root@MI-R3G:~# lsusb
Bus 001 Device 004: ID 152d:0579 JMICRON JMS579
Bus 001 Device 007: ID 0d9f:0004 POWERCOM Co.,LTD HID UPS Battery
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.28 xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID 152d:0579 JMICRON JMS579
Bus 001 Device 005: ID 8564:1000 JetFlash Mass Storage Device
Bus 001 Device 002: ID 05e3:0610 GenesysLogic USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.28 xhci-hcd xHCI Host Controller

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing