-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
访问子应用请求地址chat/share?shareId=a0rqbwmvzo7p41a0rlpetmyl,特别慢需要10s,有哪个地方可以优化吗? #1112
Comments
问题补充:源码方式启动,访问速度不慢。换成镜像启动速度就慢 |
我也碰到这个问题,请问解决了吗? |
@hkutangyu 没有。很奇怪的是偶尔重启一次访问速度又快了,这种情况只是偶尔会发生。绝不是硬件问题,无论是cpu、内存还是gpu都有很大空闲。 |
嗯,我们硬件都是128核,128GB的服务器,8卡3090。确实,我重启一下,就好了。 |
@c121914yu 能提供下解决思路吗,比如在某几个请求页面加上日志信息 |
可以试试,share 页去掉 ssr,重新打包看看。或者给 ssr 的数据库查询加上时间日志。 |
是这个页面吗?share.tsx debug好像不走这个页面呢。。。 |
就是这个。 |
已测试,并不是share.tsx页面问题,问下在进入_app.tsx前,后台走的是那一部分逻辑? |
进入程序入口页面_app.tsx就很慢,测试方法在_app.tsx function App({ Component, pageProps }: AppProps) {方法加日志,需要10s才会打印 |
https://github.com/labring/FastGPT/pull/1173我在这个Pr中临时修复了这个问题。 |
例行检查
你的版本
问题描述
复现步骤
预期结果
相关截图
The text was updated successfully, but these errors were encountered: