收起左侧

人像识别失败了啊

1
回复
92
查看
[ 复制链接 ]

2

主题

0

回帖

0

牛值

江湖小虾

2025-11-6 12:30:49 显示全部楼层 阅读模式

设备环境:(物理机 最新版本 0.9.35)

BUG现象:人脸识别提示 识别失败,write failed: write unix @->/vol1/@appmeta/trim.photos/data/pgvector/sock/.s.PGSQL.5432: write: broken pipe

出现频率:(必现)

日志文件:time="2025-11-04T17:13:35+08:00" level=error msg="delay smart rec remain video err: no remaining, userId: 1"
time="2025-11-04T20:44:11+08:00" level=error msg="vectordb.FaceVectorDao.CheckMaxDistanceGreaterThanThreshold(userId:1, faceIds:[13360 13361], eps:0.900000) err:unexpected EOF"
time="2025-11-04T20:44:11+08:00" level=error msg="runAllMode err: 绑定人脸错误: failed to connect to user=postgres database=postgres: /vol1/@appmeta/trim.photos/data/pgvector/sock/.s.PGSQL.5432 (/vol1/@appmeta/trim.photos/data/pgvector/sock): server error: FATAL: the database system is in recovery mode (SQLSTATE 57P03)"
time="2025-11-04T20:44:11+08:00" level=error msg="RunAllMode error:绑定人脸错误: failed to connect to user=postgres database=postgres: /vol1/@appmeta/trim.photos/data/pgvector/sock/.s.PGSQL.5432 (/vol1/@appmeta/trim.photos/data/pgvector/sock): server error: FATAL: the database system is in recovery mode (SQLSTATE 57P03)"
time="2025-11-04T21:08:15+08:00" level=error msg="delay smart rec remain video err: no remaining, userId: 1"
time="2025-11-05T10:33:50+08:00" level=error msg="imageSrv.GenJpegThumb error: not supported"
time="2025-11-05T10:33:50+08:00" level=error msg="imageSrv.GenJpegThumb file:/vol1/@appmeta/trim.photos/data/thumb/m/02/150da0bb-ef7f-4b41-a823-247d0943e30c filePath:/vol1/@appmeta/trim.photos/data/face/1/11/16251.jpeg tmpPath:/vol1/@appmeta/trim.photos/data/face/1/11/16251_tmp.jpeg error: not supported yet"
time="2025-11-05T13:36:50+08:00" level=error msg="runAllMode err: manual cancel"

time="2025-11-05T17:01:31+08:00" level=error msg="runRemainModeV2 error:manual cancel"
time="2025-11-05T19:34:04+08:00" level=error msg="vectordb.FaceVectorDao.CheckMaxDistanceGreaterThanThreshold(userId:1, faceIds:[17358 17360], eps:0.900000) err:unexpected EOF"
time="2025-11-05T19:34:04+08:00" level=error msg="separateClustersForNewAdd err: write failed: write unix @->/vol1/@appmeta/trim.photos/data/pgvector/sock/.s.PGSQL.5432: write: broken pipe"
time="2025-11-05T19:34:04+08:00" level=error msg="runRemainModeV2 error:write failed: write unix @->/vol1/@appmeta/trim.photos/data/pgvector/sock/.s.PGSQL.5432: write: broken pipe"
time="2025-11-06T07:02:35+08:00" level=error msg="delay smart rec remain video err: no remaining, userId: 1"
time="2025-11-06T07:03:04+08:00" level=error msg="ErrFromRecover error : unexpected EOF\nStack trace:\ngoroutine 210991 [running]:\napp/core/common.ErrFromRecover({0x155b540?, 0x44e7d00?})\n\t/root/go/src/app/core/common/utils.go:263 +0x170\napp/core/service.(*faceService).runRemainModeV2.func1()\n\t/root/go/src/app/core/service/face_v2.go:76 +0x36\npanic({0x155b540?, 0x44e7d00?})\n\t/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.linux-amd64/src/runtime/panic.go:792 +0x132\ngit.teiron-inc.cn/infra/coredb.QueryRowsWithClient[...](0x1c5, 0xc00610c210?, {0xc00248f800, 0x4?}, {0xc00004f810?, 0xc00004f830?, 0xd2de1a?})\n\t/root/go/pkg/mod/git.teiron-inc.cn/infra/coredb@v1.4.6/common.go:40 +0x77\napp/core/storage/vectordb.(*faceVectorDao).SearchSimilarPersonFace(0x4745aa0?, 0x1?, 0x486d, 0x3e199999, 0x1)\n\t/root/go/src/app/core/storage/vectordb/face_vector.go:262 +0x249\napp/core/service.(*faceService).detFaceByUserPhotoIdV2(0x45095a0, 0x156d)\n\t/root/go/src/app/core/service/face_v2.go:358 +0x1978\napp/core/service.(*faceService).detUndoFaceByUserV2(0x45095a0, 0x1, 0xc0022d80c0)\n\t/root/go/src/app/core/service/face_v2.go:184 +0x617\napp/core/service.(*faceService).runRemainModeV2(0x45095a0, 0x1, 0xc0022d80c0)\n\t/root/go/src/app/core/service/face_v2.go:88 +0x85\napp/core/service.(*faceService).Run.func7()\n\t/root/go/src/app/core/service/face.go:152 +0x28\ngithub.com/panjf2000/ants/v2.(*goWorker).run.func1()\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:67 +0x8a\ncreated by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 210987\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:48 +0x5c\n"
time="2025-11-06T07:03:04+08:00" level=error msg="runRemainMode panic: unexpected EOF"

收藏
送赞
分享

151

主题

1万

回帖

0

牛值

管理员

fnOS1.0上线纪念勋章

2025-11-11 19:10:39 显示全部楼层
日志有数据库的报错和 unexpected EOF的输出,设备是什么配置的?之前是否有过断 电或者存储空间掉盘等异常的情况呢
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则