现象
![图片[1]-解决maximum query complexity exceeded报错](https://share.0f1.top/wwj/site/soft/2024/08/12/202408121903154.webp)
报错 “maximum query complexity exceeded” 和 “More than 15,000 ‘grammar’ tokens have been presented. To prevent Denial Of Service attacks, parsing has been cancelled”
原因
SkyWalking 在解析配置文件或日志文件时可能会遇到 “More than 15,000 ‘grammar’ tokens have been presented. To prevent Denial Of Service attacks, parsing has been cancelled.” 的错误。这个错误通常是因为SkyWalking在处理非常大的配置文件或日志文件时触发了其内置的安全限制,以防止潜在的DoS攻击。
处理
![图片[2]-解决maximum query complexity exceeded报错](https://share.0f1.top/wwj/site/soft/2024/08/12/202408121903753.webp)
© 版权声明
THE END