Aias00 opened a new issue, #6794:
URL: https://github.com/apache/shenyu/issues/6794

   - severity: Medium
   - files: 
`shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-huawei-lts/.../HuaweiLtsLogCollectClient.java:176-178`,
 `.../aliyun-sls/.../AliyunSlsLogCollectClient.java:184-186`, 
`.../tencent-cls/.../TencentClsLogCollectClient.java:163-164`; constants 
`GenericLoggingConstant.java:43,48`
   - description: All three cloud logging send pools are `new 
ThreadPoolExecutor(sendThreadCount, MAX_ALLOW_THREADS=500, 60000L, 
TimeUnit.MICROSECONDS, new LinkedBlockingQueue<>(MAX_QUEUE_NUMBER=10000), 
AbortPolicy)`. (a) `keepAliveTime = 60000 µs = 60 ms` — almost certainly 
intended 60 s; idle send threads are churned every 60 ms. (b) Once the 
10000-slot queue + 500 threads saturate, `AbortPolicy` throws 
`RejectedExecutionException` per log-send → silent log loss with only a 
stacktrace; no caller backpressure.
   - impact: High log volume → dropped logs + thread churn across the three 
cloud logging plugins.
   - suggested_fix: `CallerRunsPolicy` (or bounded queue with block-on-full); 
fix the keepAlive unit to `SECONDS`/`MINUTES`; consider core==max.
   - confidence: Medium-High
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to