收起左侧

照片人脸和智能识别失败

4
回复
190
查看
[ 复制链接 ]

4

主题

9

回帖

0

牛值

江湖小虾

2025-6-17 17:04:09 显示全部楼层 阅读模式

设备环境:物理机 i5 8500 系统SSD,数据盘14T

BUG现象:照片应用AI识别失败,报错如下

image.png

出现频率:必现

联系方式:微信 18025365665

日志文件:

time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/07/5f3dbb48-caf4-4d66-a512-9390b92610c4 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/06/7f7d85d7-0cc7-4312-bca5-617500234e10 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/06/02d220c5-2acf-4a7a-91a4-354233a497c6 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/12/e13a5652-9097-4b74-8d70-7233a8845c65 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/12/68f0bb98-6277-41fa-b084-52e9a70d7580 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/16/8acd6ae8-0dcb-4760-96d7-a00907c159f5 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/15/89cce9a1-303c-4f4f-bc0e-8eeeb6a96d5c error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/07/60ed1b1d-3db0-4769-a925-c3ef77063666 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/16/fec47c10-e9e8-4b14-ad75-ebaa57114421 error :no such file or directory "
time="2025-06-17T16:13:31+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/03/a91c12d6-c28a-4d06-b5d4-9e983fe87f2a error :no such file or directory "
time="2025-06-17T16:13:32+08:00" level=error msg="Access /vol1/@appmeta/trim.photos/data/thumb/s/03/a30af547-e058-4eb8-bc5f-4149d14d61b7 error :no such file or directory "
time="2025-06-17T16:13:51+08:00" level=error msg="rec remaining err: ERROR: could not read block 7714 in file "base/5/16716": read only 4096 of 8192 bytes (SQLSTATE XX001)"
time="2025-06-17T16:14:18+08:00" level=error msg="rec remaining err: ERROR: could not read block 7714 in file "base/5/16716": read only 4096 of 8192 bytes (SQLSTATE XX001)"
time="2025-06-17T16:30:49+08:00" level=error msg="ErrFromRecover error : ERROR: could not read block 14806 in file "base/5/17619": read only 4096 of 8192 bytes (SQLSTATE XX001)\nStack trace:\ngoroutine 765 [running]:\napp/core/common.ErrFromRecover({0x13fe9a0?, 0xc0002d6e00?})\n\t/root/go/src/app/core/common/utils.go:262 +0x11f\napp/core/service.(*faceService).runRemainMode.func1()\n\t/root/go/src/app/core/service/face.go:181 +0x36\npanic({0x13fe9a0?, 0xc0002d6e00?})\n\t/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132\napp/core/storage/vectordb.(*faceVectorDao).CreateInBatch(0x44455e0?, 0x1?, {0xc00607f4c0, 0x2, 0x2})\n\t/root/go/src/app/core/storage/vectordb/face_vector.go:21 +0x9f\napp/core/service.(*faceService).detFaceByUserPhotoId(0x41dca40, 0xb13c)\n\t/root/go/src/app/core/service/face_det.go:179 +0x140f\napp/core/service.(*faceService).detUndoFaceByUser(0x41dca40, 0x1, 0xc0032b55e0)\n\t/root/go/src/app/core/service/face.go:377 +0x55a\napp/core/service.(*faceService).runRemainMode(0x41dca40, 0x1, 0xc0032b55e0)\n\t/root/go/src/app/core/service/face.go:192 +0x7a\napp/core/service.(*faceService).Run.func4()\n\t/root/go/src/app/core/service/face.go:101 +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 +0x8d\ncreated by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 781\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:48 +0x5c\n"
time="2025-06-17T16:30:49+08:00" level=error msg="runRemainMode panic: ERROR: could not read block 14806 in file "base/5/17619": read only 4096 of 8192 bytes (SQLSTATE XX001)"
time="2025-06-17T16:54:38+08:00" level=error msg="ErrFromRecover error : ERROR: could not read block 14806 in file "base/5/17619": read only 4096 of 8192 bytes (SQLSTATE XX001)\nStack trace:\ngoroutine 13951 [running]:\napp/core/common.ErrFromRecover({0x13fe9a0?, 0xc005214600?})\n\t/root/go/src/app/core/common/utils.go:262 +0x11f\napp/core/service.(*faceService).runRemainMode.func1()\n\t/root/go/src/app/core/service/face.go:181 +0x36\npanic({0x13fe9a0?, 0xc005214600?})\n\t/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132\napp/core/storage/vectordb.(*faceVectorDao).CreateInBatch(0x44455e0?, 0x1?, {0xc002787880, 0x7, 0x7})\n\t/root/go/src/app/core/storage/vectordb/face_vector.go:21 +0x9f\napp/core/service.(*faceService).detFaceByUserPhotoId(0x41dca40, 0xb165)\n\t/root/go/src/app/core/service/face_det.go:179 +0x140f\napp/core/service.(*faceService).detUndoFaceByUser(0x41dca40, 0x1, 0xc0005e3400)\n\t/root/go/src/app/core/service/face.go:377 +0x55a\napp/core/service.(*faceService).runRemainMode(0x41dca40, 0x1, 0xc0005e3400)\n\t/root/go/src/app/core/service/face.go:192 +0x7a\napp/core/service.(*faceService).Run.func4()\n\t/root/go/src/app/core/service/face.go:101 +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 +0x8d\ncreated by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 13930\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:48 +0x5c\n"
time="2025-06-17T16:54:38+08:00" level=error msg="runRemainMode panic: ERROR: could not read block 14806 in file "base/5/17619": read only 4096 of 8192 bytes (SQLSTATE XX001)"
time="2025-06-17T16:59:37+08:00" level=error msg="ErrFromRecover error : ERROR: could not read block 14806 in file "base/5/17619": read only 4096 of 8192 bytes (SQLSTATE XX001)\nStack trace:\ngoroutine 14602 [running]:\napp/core/common.ErrFromRecover({0x13fe9a0?, 0xc0002d7000?})\n\t/root/go/src/app/core/common/utils.go:262 +0x11f\napp/core/service.(*faceService).runRemainMode.func1()\n\t/root/go/src/app/core/service/face.go:181 +0x36\npanic({0x13fe9a0?, 0xc0002d7000?})\n\t/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132\napp/core/storage/vectordb.(*faceVectorDao).CreateInBatch(0x44455e0?, 0x1?, {0xc0025666e0, 0x4, 0x4})\n\t/root/go/src/app/core/storage/vectordb/face_vector.go:21 +0x9f\napp/core/service.(*faceService).detFaceByUserPhotoId(0x41dca40, 0xb179)\n\t/root/go/src/app/core/service/face_det.go:179 +0x140f\napp/core/service.(*faceService).detUndoFaceByUser(0x41dca40, 0x1, 0xc0003f7cc0)\n\t/root/go/src/app/core/service/face.go:377 +0x55a\napp/core/service.(*faceService).runRemainMode(0x41dca40, 0x1, 0xc0003f7cc0)\n\t/root/go/src/app/core/service/face.go:192 +0x7a\napp/core/service.(*faceService).Run.func4()\n\t/root/go/src/app/core/service/face.go:101 +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 +0x8d\ncreated by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 14614\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:48 +0x5c\n"
time="2025-06-17T16:59:37+08:00" level=error msg="runRemainMode panic: ERROR: could not read block 14806 in file "base/5/17619": read only 4096 of 8192 bytes (SQLSTATE XX001)"

附件过大无法上传可以通过飞牛外链分享或者百度网盘提供日志文件

收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

4

主题

9

回帖

0

牛值

江湖小虾

2025-6-20 18:00:36 楼主 显示全部楼层

尝试重建索引和重新识别图片类型无法解决

55

主题

9167

回帖

0

牛值

管理员

2025-6-23 18:15:05 显示全部楼层
麻烦提供一下完整的日志信息协助排查
http://nas.yulin0597.xyz:8888/s/7c83550997ac426b9f 我删除识别结果之后重新启动识别好像可以顺利操作了  详情 回复
2025-6-26 10:04

4

主题

9

回帖

0

牛值

江湖小虾

2025-6-26 10:04:03 楼主 显示全部楼层
飞牛技术同学 发表于 2025-6-23 18:15
麻烦提供一下完整的日志信息协助排查

http://nas.yulin0597.xyz:8888/s/7c83550997ac426b9f
我删除识别结果之后重新启动识别好像可以顺利操作了

4

主题

9

回帖

0

牛值

江湖小虾

2025-6-26 10:05:01 楼主 显示全部楼层

重置识别结果

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则