AlistGo / desktop-release

226 stars 10 forks source link

[BUG] alist-desktop启动写日志到内存溢出,无法挂载 #26

Closed kongsoneo closed 1 year ago

kongsoneo commented 1 year ago

使用的存储驱动

天翼云盘客户端

问题描述

在挂载盘里面删除天翼云盘的一个包含很多小文件(大概2万个小文件)的10GB大文件夹,卡得有点慢,取消后,我直接在天翼网盘手机app删除该文件夹,然后alist-desktop在启动的时候就会failed get 天翼云盘/我的文档/......等,直到出现 out of memory,卸载删除所有配置文件,重新挂载也不行,把挂载的缓存模式改成"关闭"能够正常运行,其他模式都会卡死

复现步骤

  1. 添加……
  2. ……
  3. ……

相关日志

AList日志

……

主页

挂载

设置 AList Desktop

/source/internal/fs/fs.go:37 github.com/alist-org/alist/v3/server/webdav.(Handler).handlePropfind /source/server/webdav/webdav.go:603 github.com/alist-org/alist/v3/server/webdav.(Handler).ServeHTTP /source/server/webdav/webdav.go:73 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/gin@v1.9.1/context.go:174 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:66 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 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/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 github.com/gin-gonic/gin.(Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2936 net/http.(conn).serve /usr/local/go/src/net/http/server.go:1995 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1598 failed get dir failed get parent list failed get dir failed get parent list failed get dir failed get parent list [GIN] 2023/08/14 - 08:19:40 | 404 | 8.0005ms | 127.0.0.1 | PROPFIND "/dav/天翼云盘/我的文档/图集文当/3d图集/3dsMax/三维室内外建筑装饰/欧式构件4/模型/max/osgj563.max" ERRO[2023-08-14 08:19:41] failed put /天翼云盘/我的文档/图集文当/3d图集/3dsMax/三维室内外建筑装饰/欧式构件2/模型/max: object not found github.com/alist-org/alist/v3/internal/op.Get /source/internal/op/fs.go:220 github.com/alist-org/alist/v3/internal/op.GetUnwrap /source/internal/op/fs.go:224 github.com/alist-org/alist/v3/internal/op.MakeDir.func1 /source/internal/op/fs.go:302 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).doCall.func2 /source/pkg/singleflight/singleflight.go:193 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).doCall /source/pkg/singleflight/singleflight.go:195 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).Do /source/pkg/singleflight/singleflight.go:108 github.com/alist-org/alist/v3/internal/op.MakeDir /source/internal/op/fs.go:292 github.com/alist-org/alist/v3/internal/op.MakeDir.func1 /source/internal/op/fs.go:298 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).doCall.func2 /source/pkg/singleflight/singleflight.go:193 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).doCall /source/pkg/singleflight/singleflight.go:195 github.com/alist-org/alist/v3/pkg/singleflight.(Group[...]).Do /source/pkg/singleflight/singleflight.go:108 github.com/alist-org/alist/v3/internal/op.MakeDir /source/internal/op/fs.go:292 github.com/alist-org/alist/v3/internal/op.Put /source/internal/op/fs.go:523 github.com/alist-org/alist/v3/internal/fs.putDirectly /source/internal/fs/put.go:54 github.com/alist-org/alist/v3/internal/fs.PutDirectly /source/internal/fs/fs.go:97 github.com/alist-org/alist/v3/server/webdav.(Handler).handlePut /source/server/webdav/webdav.go:334 github.com/alist-org/alist/v3/server/webdav.(Handler).ServeHTTP /source/server/webdav/webdav.go:63 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/gin@v1.9.1/context.go:174 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:66 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 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/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 ?? 文档

?? Github

?? 赞助

主页

挂载

设置 AList Desktop

/source/internal/op/fs.go:210 github.com/alist-org/alist/v3/internal/op.GetUnwrap /source/internal/op/fs.go:224 github.com/alist-org/alist/v3/internal/op.List /source/internal/op/fs.go:109 github.com/alist-org/alist/v3/internal/op.Get /source/internal/op/fs.go:210 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:603 github.com/alist-org/alist/v3/server/webdav.(Handler).ServeHTTP /source/server/webdav/webdav.go:73 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/gin@v1.9.1/context.go:174 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:66 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 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/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 github.com/gin-gonic/gin.(Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 github.com/gin-gonic/gin.(Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2936 net/http.(conn).serve /usr/local/go/src/net/http/server.go:1995 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1598 failed get dir failed get parent list failed get dir failed get parent list [GIN] 2023/08/14 - 08:19:44 | 404 | 60.0034ms | 127.0.0.1 | PROPFIND "/dav/天翼云盘/我的文档/图集文当/ps图集/室内样版图/我的图片/360截图20171128090052913.jpg" WARN[2023-08-14 08:19:44] failed get /天翼云盘/我的文档/图集文当/ps图集/室内样版图/我的图片/360截图20171128090145888.jpg: failed get parent

挂载日志

xhofe commented 1 year ago

可否远程看一下 面包多联系

kongsoneo commented 1 year ago

谢谢,删除rclone缓存文件后,恢复正常了