mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
|
Some checks are pending
Build FastGPT images in Personal warehouse / get-vars (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:amd64 runs-on:ubuntu-24.04]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / build-fastgpt-images (map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / release-fastgpt-images (push) Blocked by required conditions
初始慢操作触发日志写入,增加系统负载;日志写入因负载过高变缓,被判定为新的慢操作,进而触发更多日志;持续升高的负载让所有操作进一步变慢,生成更多日志。最终形成“越慢越写、越写越慢”的自我强化正反馈循环,即便初始高并发业务流量结束,循环仍会持续耗尽系统资源,直至服务崩溃。 修复方案: - 对日志模型(Log)跳过 addCommonMiddleware 中间件注册 - 避免日志写入操作被自身监控逻辑拦截,从源头切断循环触发条件 - 不影响业务模型的慢操作监控功能,仅豁免日志自身的性能统计 |
||
|---|---|---|
| .. | ||
| common | ||
| core | ||
| support | ||
| thirdProvider | ||
| type | ||
| worker | ||
| package.json | ||
| tsconfig.json | ||
| type.d.ts | ||