Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大量文件重建索引卡住 #286

Closed
sansi98h opened this issue Sep 22, 2024 · 8 comments · Fixed by jamebal/jmal-cloud-server#189
Closed

大量文件重建索引卡住 #286

sansi98h opened this issue Sep 22, 2024 · 8 comments · Fixed by jamebal/jmal-cloud-server#189
Labels
bug Something isn't working

Comments

@sansi98h
Copy link

没有使用网盘上传文件,而是直接将文件移动到用户目录下,这时候网盘是没有看到刚移动进去的文件,然后点击重建索引,基本上每次涨几个百分比,然后就卡住了,只有不断重启容器,然后重新索引,继续卡住。
image
这是重建记录,最后一次是头天晚上9点多,到现在一直卡主不动
image
期间也查看了下数据库的记录,只有在点击重建索引后,数据库会有大量的操作,但是只持续了几十秒没了,同样重建索引的进度也不再更新。
这是容器日志,只能看见不断重启,其它无任何异常
image

@jamebal
Copy link
Owner

jamebal commented Sep 22, 2024

大概有多少文件,pdf多不多

@jamebal
Copy link
Owner

jamebal commented Sep 22, 2024

在jmalcloud_server中加入环境变量: LOG_LEVEL: info, 重启后重建索引,再看看日志

services:
  jmalcloud:
    container_name: jmalcloud_server
    image: ghcr.io/jamebal/jmalcloud:test
    environment:
      MONGODB_URI: ***
      LOG_LEVEL: info
      JVM_OPTS: -Xms512m -Xmx1024m

@sansi98h
Copy link
Author

全是视频和图片,没有转码

@sansi98h
Copy link
Author

在jmalcloud_server中加入环境变量: LOG_LEVEL: info, 重启后重建索引,再看看日志

services:
  jmalcloud:
    container_name: jmalcloud_server
    image: ghcr.io/jamebal/jmalcloud:test
    environment:
      MONGODB_URI: ***
      LOG_LEVEL: info
      JVM_OPTS: -Xms512m -Xmx1024m

image
一堆的执行成功,然后卡在这不动了,索引也涨了一些
image

@jamebal
Copy link
Owner

jamebal commented Sep 22, 2024

看看日志里面有没有其他的信息

@sansi98h
Copy link
Author

看看日志里面有没有其他的信息

image

没有,从开始到最后,全都是执行成功,只有最后一条命令,没有成功提示
image

@jamebal
Copy link
Owner

jamebal commented Sep 22, 2024

每次重建索引都是卡在正在同步文件基本信息吗, 日志里面有没有这种字样同步完成, 耗时:

@sansi98h
Copy link
Author

没有
image

每次重建索引都是卡在正在同步文件基本信息吗, 日志里面有没有这种字样同步完成, 耗时:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants