- 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.
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; constantsGenericLoggingConstant.java:43,48new 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,AbortPolicythrowsRejectedExecutionExceptionper log-send → silent log loss with only a stacktrace; no caller backpressure.CallerRunsPolicy(or bounded queue with block-on-full); fix the keepAlive unit toSECONDS/MINUTES; consider core==max.Identified during the 2026-08-02 deep re-scan; full list in
docs/scan2-2026-08-02/06-medium-tiers.md.