AlistGo / AlistGo/alist

Out of memory: Killed process 21119 (alist) total-vm

Đang mở
#7,151 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Go
Star
50.2k
Fork
7.9k
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
6

Mô tả

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

- [X] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。

- [X] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [X] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。

### AList Version / AList 版本

V3.37.1

### Driver used / 使用的存储驱动

115/本地磁盘/阿里open

### Describe the bug / 问题描述

1、平台为Openwrt,MX4200V1,【aarch64_cortex-a53】,详细日志见附件,其实在没有连接情况下就开始重启,且重启无效
2、我测试过好几个版本,从32到37都有这个问题,内存泄露然后一直重启,帮忙看看问题在哪里
Mon Sep 9 02:02:11 2024 kern.err kernel: [14140.046806] Out of memory: Killed process 21119 (alist) total-vm:1303532kB, anon-rss:7168kB, file-rss:8320kB, shmem-rss:0kB, UID:0 pgtables:200kB oom_score_adj:0
Mon Sep 9 02:02:24 2024 daemon.err uhttpd[2762]: [info] luci: accepted login on / for root from 192.168.1.245
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.810025] rpcd invoked oom-killer: gfp_mask=0x400cc0(GFP_KERNEL_ACCOUNT), order=0, oom_score_adj=0
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.810089] CPU: 1 PID: 1798 Comm: rpcd Tainted: G O 6.6.49 #0
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.818251] Hardware name: Linksys MX4200v1 (DT)
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.825276] Call trace:
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.830039] dump_backtrace+0xa0/0xe0
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.832215] show_stack+0x18/0x24
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.836031] dump_stack_lvl+0x48/0x60
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.839338] dump_stack+0x18/0x24
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.842976] dump_header+0x48/0x1b0
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.846274] oom_kill_process+0x16c/0x284
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.849574] out_of_memory+0xc8/0x2fc
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.853749] __alloc_pages+0x83c/0xc34
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.857386] alloc_skb_with_frags+0xc0/0x1dc
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.861033] sock_alloc_send_pskb+0x1f4/0x228
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.865467] unix_stream_sendmsg+0x1e0/0x758
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.869713] ____sys_sendmsg+0x1cc/0x27c
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.874061] ___sys_sendmsg+0x80/0xc8
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.877967] __sys_sendmsg+0x48/0xa8
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.881517] __arm64_sys_sendmsg+0x24/0x30
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.885165] invoke_syscall.constprop.0+0x5c/0x108
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.889070] do_el0_svc+0x40/0xc8
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.893844] el0_svc+0x30/0xb8
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.897228] el0t_64_sync_handler+0x120/0x12c
Mon Sep 9 02:02:25 2024 kern.warn kernel: [14154.900183] el0t_64_sync+0x178/0x17c

### Reproduction / 复现链接

no

### Config / 配置

配置使用官方init文件

### Logs / 日志

[log.txt](https://github.com/user-attachments/files/16924343/log.txt)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.