设备环境:物理机、公网、系统版本号0.8.41
BUG现象:修改人脸识别参数后无法重新聚合人脸数据,任务会一直进行中并且占用一个核心的CPU与4G到8G的内存,这一次聚合尝试持续了7小时,项目数量大约100w
出现频率:必现
联系方式:319群-无星wuxing
日志文件:
time="2025-03-20T09:18:06+08:00" level=error msg="GetFolderList failed:TRPC read timeout" file="/root/go/src/app/core/web/controller/server.go:46"
time="2025-03-20T09:18:06+08:00" level=error msg="TRPC read timeout" error="TRPC read timeout" file="/root/go/pkg/mod/git.teiron-inc.cn/infra/coreweb@v1.6.4/middleware/exception_handler.go:43"
git.teiron-inc.cn/infra/coreweb/middleware.catchErrorIfPresent(0xc0004d8600)
/root/go/pkg/mod/git.teiron-inc.cn/infra/coreweb@v1.6.4/middleware/exception_handler.go:43 +0x29f
panic({0x1314b40?, 0xc00258a7a0?})
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132
app/core/web/controller.(ServerController).GetFolderList(0x12c4300?, 0xc0004d8600)
/root/go/src/app/core/web/controller/server.go:47 +0xb6
github.com/gin-gonic/gin.(Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.teiron-inc.cn/infra/coreweb/middleware.validateSign(0xc0004d8600, 0x406bd50, 0x426e050)
/root/go/pkg/mod/git.teiron-inc.cn/infra/coreweb@v1.6.4/middleware/sign_handler.go:104 +0x863
git.teiron-inc.cn/infra/coreweb/middleware.ValidateFrontendSign(0xc0004d8600?)
/root/go/pkg/mod/git.teiron-inc.cn/infra/coreweb@v1.6.4/middleware/sign_handler.go:43 +0x25
github.com/gin-gonic/gin.(Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
app/core/web.checkAccessToken(0xc0004d8600)
/root/go/src/app/core/web/route.go:327 +0x159
github.com/gin-gonic/gin.(Context).Next(0xc0004d8600)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
app/core/web.InitCheckRoute.Cors.func1(0xc0004d8600)
/root/go/src/app/core/web/route.go:362 +0x110
github.com/gin-gonic/gin.(Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.teiron-inc.cn/infra/coreweb/middleware.ExceptionHandler(0xc0004d8600)
/root/go/pkg/mod/git.teiron-inc.cn/infra/coreweb@v1.6.4/middleware/exception_handler.go:14 +0x62
github.com/gin-gonic/gin.(Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(Engine).handleHTTPRequest(0xc0000c3ba0, 0xc0004d8600)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892
github.com/gin-gonic/gin.(Engine).ServeHTTP(0xc0000c3ba0, {0x35d1a50, 0xc0011720e0}, 0xc001f465a0)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2
net/http.serverHandler.ServeHTTP({0xc0027a42a0?}, {0x35d1a50?, 0xc0011720e0?}, 0x6?)
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:3137 +0x8e
net/http.(conn).serve(0xc0055b21b0, {0x35d4f70, 0xc0053ebda0})
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:2039 +0x5e8
created by net/http.(Server).Serve in goroutine 47
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:3285 +0x4b4
time="2025-03-20T09:18:08+08:00" level=error msg="GetPathAccessWithCache nasUid:1001,Path /vol1/1001/Photos,err:TRPC read timeout" file="/root/go/src/app/core/service/user_folder.go:70"
time="2025-03-20T09:18:11+08:00" level=error msg="GetPoolsV2 failed:TRPC read timeout" file="/root/go/src/app/core/web/controller/server.go:116"
time="2025-03-20T09:18:11+08:00" level=error msg="uri: /p/api/v2/server/pools, err: TRPC read timeout" file="/root/go/src/app/core/web/controller/common.go:32" |