FastGPT 当知识库批量导入文件时,部分文件的进度卡在70%-99%之间不动,并且从Mongo数据库中可以看到该文件实际上已经上传,

oyxsuwqo  于 6个月前  发布在  Go
关注(0)|答案(5)|浏览(53)

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及 项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • [] 公有云版本
  • 私有部署版本, 具体版本号: 4.8.7

问题描述, 日志截图
从知识库中导入pdf文件时,同时导入多个文件,例如50个文件,会存在部分文件导入进度条卡到70%-99%之间,且后续不再变动

复现步骤
1、进入知识库点击文本数据集
2、同时导入50个左右的pdf文件,每个文件约1-10M之间

预期结果
修复该问题

相关截图

yzckvree

yzckvree1#

顶一下,遇到了相同问题

xwbd5t1u

xwbd5t1u2#

一样的问题,且后台服务一直在输出以下内容:

[Warn] 2024-07-25 04:26:44 Slow operation 8890ms {"query":null,"op":"save","duration":8890}
[Warn] 2024-07-25 04:26:44 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:44 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:44 Slow operation 8871ms {"query":null,"op":"save","duration":8871}
[Warn] 2024-07-25 04:26:44 Slow operation 8869ms {"query":null,"op":"save","duration":8869}
[Warn] 2024-07-25 04:26:44 Slow operation 8866ms {"query":null,"op":"save","duration":8866}
[Warn] 2024-07-25 04:26:44 Slow operation 8868ms {"query":null,"op":"save","duration":8868}
[Warn] 2024-07-25 04:26:44 Slow operation 8860ms {"query":null,"op":"save","duration":8860}
[Warn] 2024-07-25 04:26:44 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:44 Slow operation 8875ms {"query":null,"op":"save","duration":8875}
[Warn] 2024-07-25 04:26:44 Slow operation 8893ms {"query":null,"op":"save","duration":8893}
[Warn] 2024-07-25 04:26:45 Slow operation 8865ms {"query":null,"op":"save","duration":8865}
[Warn] 2024-07-25 04:26:45 Slow operation 8863ms {"query":null,"op":"save","duration":8863}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8886ms {"query":null,"op":"save","duration":8886}
[Warn] 2024-07-25 04:26:45 Slow operation 8887ms {"query":null,"op":"save","duration":8887}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8885ms {"query":null,"op":"save","duration":8885}
[Warn] 2024-07-25 04:26:45 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:45 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:45 Slow operation 8893ms {"query":null,"op":"save","duration":8893}
[Warn] 2024-07-25 04:26:45 Slow operation 8887ms {"query":null,"op":"save","duration":8887}
[Warn] 2024-07-25 04:26:45 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:45 Slow operation 8893ms {"query":null,"op":"save","duration":8893}

强制重启服务后,发现文件实际已经导入完成

sg3maiej

sg3maiej3#

一样的问题,且后台服务一直在输出以下内容:

[Warn] 2024-07-25 04:26:44 Slow operation 8890ms {"query":null,"op":"save","duration":8890}
[Warn] 2024-07-25 04:26:44 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:44 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:44 Slow operation 8871ms {"query":null,"op":"save","duration":8871}
[Warn] 2024-07-25 04:26:44 Slow operation 8869ms {"query":null,"op":"save","duration":8869}
[Warn] 2024-07-25 04:26:44 Slow operation 8866ms {"query":null,"op":"save","duration":8866}
[Warn] 2024-07-25 04:26:44 Slow operation 8868ms {"query":null,"op":"save","duration":8868}
[Warn] 2024-07-25 04:26:44 Slow operation 8860ms {"query":null,"op":"save","duration":8860}
[Warn] 2024-07-25 04:26:44 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:44 Slow operation 8875ms {"query":null,"op":"save","duration":8875}
[Warn] 2024-07-25 04:26:44 Slow operation 8893ms {"query":null,"op":"save","duration":8893}
[Warn] 2024-07-25 04:26:45 Slow operation 8865ms {"query":null,"op":"save","duration":8865}
[Warn] 2024-07-25 04:26:45 Slow operation 8863ms {"query":null,"op":"save","duration":8863}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8886ms {"query":null,"op":"save","duration":8886}
[Warn] 2024-07-25 04:26:45 Slow operation 8887ms {"query":null,"op":"save","duration":8887}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8885ms {"query":null,"op":"save","duration":8885}
[Warn] 2024-07-25 04:26:45 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:45 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:45 Slow operation 8893ms {"query":null,"op":"save","duration":8893}
[Warn] 2024-07-25 04:26:45 Slow operation 8887ms {"query":null,"op":"save","duration":8887}
[Warn] 2024-07-25 04:26:45 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:45 Slow operation 8893ms {"query":null,"op":"save","duration":8893}

强制重启服务后,发现文件实际已经导入完成

该升级数据库了

5jdjgkvh

5jdjgkvh4#

相同的问题,且后台服务一直在输出以下内容:

[Warn] 2024-07-25 04:26:44 Slow operation 8890ms {"query":null,"op":"save","duration":8890}
[Warn] 2024-07-25 04:26:44 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:44 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:44 Slow operation 8871ms {"query":null,"op":"save","duration":8871}
[Warn] 2024-07-25 04:26:44 Slow operation 8869ms {"query":null,"op":"save","duration":8869}
[Warn] 2024-07-25 04:26:44 Slow operation 8866ms {"query":null,"op":"save","duration":8866}
[Warn] 2024-07-25 04:26:44 Slow operation 8868ms {"query":null,"op":"save","duration":8868}
[Warn] 2024-07-25 04:26:44 Slow operation 8860ms {"query":null,"op":"save","duration":8860}
[Warn] 2024-07-25 04:26:44 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:44 Slow operation 8875ms {"query":null,"op":"save","duration":8875}
[Warn] 2024-07-25 04:26:44 Slow operation 8893ms {"query":null,"op":"save","duration":8893}
[Warn] 2024-07-25 04:26:45 Slow operation 8865ms {"query":null,"op":"save","duration":8865}
[Warn] 2024-07-25 04:26:45 Slow operation 8863ms {"query":null,"op":"save","duration":8863}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8886ms {"query":null,"op":"save","duration":8886}
[Warn] 2024-07-25 04:26:45 Slow operation 8887ms {"query":null,"op":"save","duration":8887}
[Warn] 2024-07-25 04:26:45 Slow operation 8884ms {"query":null,"op":"save","duration":8884}
[Warn] 2024-07-25 04:26:45 Slow operation 8885ms {"query":null,"op":"save","duration":8885}
[Warn] 2024-07-25 04:26:45 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:45 Slow operation 8889ms {"query":null,"op":"save","duration":8889}
[Warn] 2024-07-25 04:26:45 Slow operation 8893ms {"query":null,"op":"save","duration":8893}
[Warn] 2024-07-25 04:26:45 Slow operation 8887ms {"query":null,"op":"save","duration":8887}
[Warn] 2024-07-25 04:26:45 Slow operation 8892ms {"query":null,"op":"save","duration":8892}
[Warn] 2024-07-25 04:26:45 Slow operation 8893ms {"query":null,"op":"save","duration":8893}

强制重启服务后,发现文件实际已经导入完成

该升级数据库了
这是刚部署不久的,且里面只有截图中刚导入的数据

相关问题