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

git lfs上传音频文件timeout #1016

Closed
shensj12 opened this issue Mar 17, 2025 · 12 comments
Closed

git lfs上传音频文件timeout #1016

shensj12 opened this issue Mar 17, 2025 · 12 comments
Assignees

Comments

@shensj12
Copy link

shensj12 commented Mar 17, 2025

上传py、json等格式小文件可以正常上传。但是上传wav等音频文件,例:当前上传音频文件18.9mb。先是显示一点点在上传,但是经常几分钟后就显示timeout

Image

Image

@Rader Rader transferred this issue from OpenCSGs/csghub-installer Mar 17, 2025
@Rader
Copy link
Collaborator

Rader commented Mar 17, 2025

@pulltheflower please check this issue

@shensj12
Copy link
Author

@pulltheflower please check this issue

上传一些几十几百兆的文件时也会一直报timeout
systemctl show docker
MemoryAvailable=infinity

Image

@pulltheflower
Copy link
Collaborator

pulltheflower commented Mar 20, 2025

@shensj12 Please provide the configuration of your deployment machine and the version you have deployed. This will help us troubleshoot the issue.

@shensj12
Copy link
Author

@shensj12 Please provide the configuration of your deployment machine and the version you have deployed. This will help us troubleshoot the issue.请提供部署计算机的配置和已部署的版本。这将帮助我们解决问题。

使用csghub-installer中的docker-compose部署了1.5.0

Image

@pulltheflower
Copy link
Collaborator

@shensj12 Please also provide the memory and disk configuration details.

@shensj12
Copy link
Author

@shensj12 Please also provide the memory and disk configuration details.请同时提供内存和磁盘配置详细信息。

Image

@pulltheflower
Copy link
Collaborator

@shensj12 Thank you. One more question: when pushing large LFS files, how high is the CPU usage of csghub-server and minio?

@shensj12
Copy link
Author

@shensj12 Thank you. One more question: when pushing large LFS files, how high is the CPU usage of csghub-server and minio?谢谢。再问一个问题:在推送大型 LFS 文件时,csghub-serverminio 的 CPU 占用率有多高?

Image

@pulltheflower
Copy link
Collaborator

@shensj12 We are not entirely sure why this issue is occurring at the moment, but through debugging, it appears that the problem might be related to the NGINX service.

Please try to install the version v1.5.1 and add this to environment of csghub-server service:

STARHUB_SERVER_SKIP_LFS_FILE_VALIDATION: true

This option will disable lfs file verify and upload lfs file via pre-signed url of minio.

@shensj12
Copy link
Author

shensj12 commented Mar 21, 2025

@shensj12 We are not entirely sure why this issue is occurring at the moment, but through debugging, it appears that the problem might be related to the NGINX service.

Please try to install the version v1.5.1 and add this to environment of csghub-server service:

STARHUB_SERVER_SKIP_LFS_FILE_VALIDATION: true

This option will disable lfs file verify and upload lfs file via pre-signed url of minio.

你好,这样修改之后可以正常上传了,感谢! 还有请问一下这个有办法提速吗?因为我这边上传好像一直都在1-3MB/S之间有时候是几百KB/S,上传大文件感觉有点慢

@pulltheflower
Copy link
Collaborator

@shensj12 What is the bandwidth of the machine where the service is deployed?

@shensj12
Copy link
Author

@shensj12 What is the bandwidth of the machine where the service is deployed?

你好,的确是因为之前的带宽设置太低了,加大之后正常了,谢谢

@Rader Rader closed this as completed Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants