Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存溢出? #7838

Open
4 tasks done
eebssk1 opened this issue Jan 18, 2025 · 0 comments
Open
4 tasks done

内存溢出? #7838

eebssk1 opened this issue Jan 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@eebssk1
Copy link

eebssk1 commented Jan 18, 2025

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

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

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

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

AList Version / AList 版本

b60da97

Driver used / 使用的存储驱动

onedrive,onedrive app, baidupan

Describe the bug / 问题描述

突然发现alist打不开了。上服务器看了下好像alist爆内存了。

Image

Image

Image

Reproduction / 复现链接

不知道是什么东西引起的,只能说一下爆内存之前的操作

就只有往OneDrive里丢了个qbt的离线下载
qbt有独立控制面板看了下已经卡了两天都没下载完。

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "hlTvrUJu1jQkNhJ9",
  "token_expires_in": 48,
  "database": {
    "type": "mysql",
    "host": "localhost",
    "port": 3306,
    "user": "[duh]",
    "password": "[duh]",
    "name": "alist",
    "db_file": "data/data.db",
    "table_prefix": "a_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "http://localhost:7700",
    "api_key": "",
    "index_prefix": ""
  },
  "scheme": {
    "address": "127.0.0.1",
    "http_port": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": ""
  },
  "temp_dir": "data/temp",
  "bleve_dir": "data/bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "data/log/log.log",
    "max_size": 50,
    "max_backups": 30,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": true,
  "tasks": {
    "download": {
      "workers": 4,
      "max_retry": 2,
      "task_persistant": false
    },
    "transfer": {
      "workers": 4,
      "max_retry": 2,
      "task_persistant": false
    },
    "upload": {
      "workers": 4,
      "max_retry": 2,
      "task_persistant": false
    },
    "copy": {
      "workers": 4,
      "max_retry": 2,
      "task_persistant": false
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  },
  "ftp": {
    "enable": false,
    "listen": ":5221",
    "find_pasv_port_attempts": 50,
    "active_transfer_port_non_20": false,
    "idle_timeout": 900,
    "connection_timeout": 30,
    "disable_active_mode": false,
    "default_transfer_binary": false,
    "enable_active_conn_ip_check": true,
    "enable_pasv_conn_ip_check": true
  },
  "sftp": {
    "enable": false,
    "listen": ":5222"
  },
  "last_launched_version": "dev"
}

Logs / 日志

Jan 13 01:44:42 bbk systemd[1]: Started alist.service - Alist Server.
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] reading config file: data/config.json
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] load config from env with prefix: ALIST_
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] init logrus...
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] init tool qBittorrent success: ok
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] init tool Thunder success: ok
Jan 13 01:44:42 bbk alist[1152]: WARN[2025-01-13 01:44:42] init tool Transmission failed: failed get transmission version: can't get session values: 'session-get>
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] init tool 115 Cloud success: ok
Jan 13 01:44:42 bbk alist[1152]: WARN[2025-01-13 01:44:42] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp [::1]>
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] init tool SimpleHttp success: ok
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] init tool PikPak success: ok
Jan 13 01:44:42 bbk alist[1152]: INFO[2025-01-13 01:44:42] start HTTP server @ 127.0.0.1:5244
Jan 13 01:44:43 bbk alist[1152]: INFO[2025-01-13 01:44:43] success load storage: [/main/ondriveE5], driver: [OnedriveAPP], order: [0]
Jan 13 01:44:43 bbk alist[1152]: INFO[2025-01-13 01:44:43] success load storage: [/pub/osec], driver: [Alias], order: [0]
Jan 13 01:44:43 bbk alist[1152]: INFO[2025-01-13 01:44:43] success load storage: [/pub/any], driver: [OnedriveAPP], order: [0]
Jan 13 01:44:44 bbk alist[1152]: INFO[2025-01-13 01:44:44] success load storage: [/main/bd], driver: [BaiduNetdisk], order: [0]
Jan 13 14:14:13 bbk alist[1152]: [mysql] 2025/01/13 14:14:13 packets.go:122: closing bad idle connection: connection reset by peer
Jan 13 14:14:13 bbk alist[1152]: [mysql] 2025/01/13 14:14:13 connection.go:173: driver: bad connection
Jan 13 14:14:13 bbk alist[1152]: [mysql] 2025/01/13 14:14:13 packets.go:122: closing bad idle connection: connection reset by peer
Jan 13 14:14:13 bbk alist[1152]: [mysql] 2025/01/13 14:14:13 connection.go:173: driver: bad connection
Jan 14 10:47:02 bbk alist[1152]: [mysql] 2025/01/14 10:47:02 packets.go:122: closing bad idle connection: connection reset by peer
Jan 14 10:47:02 bbk alist[1152]: [mysql] 2025/01/14 10:47:02 connection.go:173: driver: bad connection
Jan 14 10:47:02 bbk alist[1152]: [mysql] 2025/01/14 10:47:02 packets.go:122: closing bad idle connection: connection reset by peer
Jan 14 10:47:02 bbk alist[1152]: [mysql] 2025/01/14 10:47:02 connection.go:173: driver: bad connection
Jan 16 12:14:28 bbk alist[1152]: [mysql] 2025/01/16 12:14:28 packets.go:122: closing bad idle connection: connection reset by peer
Jan 16 12:14:28 bbk alist[1152]: [mysql] 2025/01/16 12:14:28 connection.go:173: driver: bad connection
Jan 16 12:14:28 bbk alist[1152]: [mysql] 2025/01/16 12:14:28 packets.go:122: closing bad idle connection: connection reset by peer
Jan 16 12:14:28 bbk alist[1152]: [mysql] 2025/01/16 12:14:28 connection.go:173: driver: bad connection
Jan 17 03:04:14 bbk alist[1152]: [mysql] 2025/01/17 03:04:14 packets.go:122: closing bad idle connection: connection reset by peer
Jan 17 03:04:14 bbk alist[1152]: [mysql] 2025/01/17 03:04:14 connection.go:173: driver: bad connection
Jan 17 03:04:14 bbk alist[1152]: [mysql] 2025/01/17 03:04:14 packets.go:122: closing bad idle connection: connection reset by peer
Jan 17 03:04:14 bbk alist[1152]: [mysql] 2025/01/17 03:04:14 connection.go:173: driver: bad connection
Jan 18 02:47:21 bbk alist[1152]: [mysql] 2025/01/18 02:47:21 packets.go:122: closing bad idle connection: connection reset by peer
Jan 18 02:47:21 bbk alist[1152]: [mysql] 2025/01/18 02:47:21 connection.go:173: driver: bad connection
Jan 18 02:47:21 bbk alist[1152]: [mysql] 2025/01/18 02:47:21 packets.go:122: closing bad idle connection: connection reset by peer
Jan 18 02:47:21 bbk alist[1152]: [mysql] 2025/01/18 02:47:21 connection.go:173: driver: bad connection
Jan 18 11:47:53 bbk alist[1152]: [mysql] 2025/01/18 11:47:53 packets.go:122: closing bad idle connection: connection reset by peer
Jan 18 11:47:53 bbk alist[1152]: [mysql] 2025/01/18 11:47:53 connection.go:173: driver: bad connection
Jan 18 11:47:53 bbk alist[1152]: [mysql] 2025/01/18 11:47:53 packets.go:122: closing bad idle connection: connection reset by peer
Jan 18 11:47:53 bbk alist[1152]: [mysql] 2025/01/18 11:47:53 connection.go:173: driver: bad connection
@eebssk1 eebssk1 added the bug Something isn't working label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant