PDGGK opened a new pull request, #17212:
URL: https://github.com/apache/iotdb/pull/17212

   ## Summary
   - Add `process.waitFor()` and `process.destroyForcibly()` in `finally` block 
to prevent zombie processes in periodic metrics collection
   - Handle `InterruptedException` properly by restoring the interrupt flag
   - Fixes both `SystemMetrics` (memory) and `LinuxNetMetricManager` (socket 
count)
   
   Fixes #17211
   
   ## Test plan
   - [x] Code compiles
   - [ ] CI checks


-- 
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