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

每次启动Alist会大量占用系统盘存储空间 #7324

Open
4 tasks done
nothing0here opened this issue Oct 12, 2024 · 2 comments
Open
4 tasks done

每次启动Alist会大量占用系统盘存储空间 #7324

nothing0here opened this issue Oct 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nothing0here
Copy link

nothing0here commented Oct 12, 2024

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 版本

lastest

Driver used / 使用的存储驱动

115 Cloud

Describe the bug / 问题描述

之前曾经复制大文件失败过,现在每次启动alist,C盘空间就会在五六分钟内增加24G的空间占用,然后通过各种方式终于在appdata\Roaming\ci.nn.alist\temp路径下找到一个文件名为file-4145561464,24G大小的文件,无法被删除,停止alist服务后这个文件会自动删除,但是重新启动alist服务后又会自动生成。尝试删除配置文件夹重新安装alist_desktop依旧无法解决,求大佬搭救。
image

Reproduction / 复现链接

详见问题描述

Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "***",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "C:\Users\harry\AppData\Roaming\ci.nn.alist\data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "C:\Users\harry\AppData\Roaming\ci.nn.alist\temp",
"bleve_dir": "C:\Users\harry\AppData\Roaming\ci.nn.alist\bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "C:\Users\harry\AppData\Roaming\ci.nn.alist\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": 5,
"max_retry": 1,
"task_persistant": true
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
}
},
"cors": {
"allow_origins": [
"
"
],
"allow_methods": [
"
"
],
"allow_headers": [
"
"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

Logs / 日志

INFO[2024-10-13 00:11:44] start HTTP server @ 0.0.0.0:5244
WARN[2024-10-13 00:11:44] [115] get app version failed: {"state":true,"err_code":0,"error":"","data":{"win":{"version_code":"27.0.6.3","created_time":1728742124,"version_url":"https://down.115.com/client/win/115br_v27.0.6.3.exe"},"android":{"version_code":"16.5.0","created_time":1725501161,"version_url":"https://down.115.com/client/tv/115TV_16.5.0.apk"},"mac":{"version_code":"27.0.6.3","created_time":1728742166,"version_url":"https://down.115.com/client/mac/115br_v27.0.6.3_x64.dmg"},"window_115":{"version_code":"1.0.0.0","created_time":1721290208,"version_url":"https://down.115.com/client/win/115br_v26.0.7.2.exe"},"mac_115":{"version_code":"1.0.0.0","created_time":1721290089,"version_url":"https://down.115.com/client/mac/115br_v26.0.7.2_x64.dmg"},"linux_115":{"version_code":"1.0.0.0","created_time":1721290337,"version_url":"http://127.0.0.1:8000/115_2.0.0.16.deb"},"win64":{"version_code":"27.0.6.3","created_time":1728742079,"version_url":"https://down.115.com/client/win/115br_v27.0.6.3_x64.exe"},"mac_arm":{"version_code":"27.0.6.3","created_time":1728742222,"version_url":"https://down.115.com/client/mac/115br_v27.0.6.3_arm64.dmg"}}}: unexpected error
INFO[2024-10-13 00:11:44] success load storage: [/115], driver: [115 Cloud], order: [0]
[GIN] 2024/10/13 - 00:12:01 | 207 | 470.921ms | 127.0.0.1 | PROPFIND "/dav/115"
WARN[2024-10-13 00:12:01] failed get /115/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS.mp4: object not found
ERRO[2024-10-13 00:12:01] PROPFIND /dav/115/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS.mp4 object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:67
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
[GIN] 2024/10/13 - 00:12:01 | 404 | 54.6026ms | 127.0.0.1 | PROPFIND "/dav/115/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS.mp4"
[GIN] 2024/10/13 - 00:12:01 | 207 | 10.6664ms | 127.0.0.1 | PROPFIND "/dav/115/"
[GIN] 2024/10/13 - 00:12:01 | 207 | 0s | 127.0.0.1 | PROPFIND "/dav/"
[GIN] 2024/10/13 - 00:12:06 | 405 | 0s | 127.0.0.1 | MKCOL "/dav/115/The.Wandering.Earth.II.2023.4K.X265.DDP5.1.Mandarin.CHS.BDYS/"

@nothing0here nothing0here added the bug Something isn't working label Oct 12, 2024
Copy link

welcome bot commented Oct 12, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@anwen-anyi
Copy link
Contributor

"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": true

持久化 task_persistant 改成 false

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

2 participants