Skip to content

[Help] Puppteer 内存占用问题 #421

@enKl03B

Description

@enKl03B

我已经根据 https://chatluna.chat/ecosystem/plugin/search-service.html#%E4%BD%BF%E7%94%A8 中的指引配置了puppteer,其调用的Chrome版本为134.0.6998.88
插件均为最新版(2025.3.15)

系统环境:

Image

chatluna-search-service插件配置:

Image
(summary使用DeepSeek官方API的chat模型,keywordextract使用硅基流动API的qwen2.5-32b)

Image

错误情况

当使用的搜索引擎为wikipedia时,无法正常搜索,日志如下

Image

当搜索引擎为Bing(Web)时,也无法正常搜索,且在此期间CPU和内存占用高,报错如下

Image

Image

搜索过程结束后,CPU占用降回正常水平,但内存似乎没有释放

Image
此时只有重启Koishi才能使内存占用恢复正常

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is neededupstreamIssue identified as 'upstream' component

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions