Improve apps plugin processing by stelfrag · Pull Request #21863 · netdata/netdata
…ptimize related logic - Added `fds_max` field to `pid_stat` structure to track the highest file descriptor index seen (+1) for improved management. - Replaced all occurrences of `fds_size` with `fds_max` where appropriate for iteration and logic adjustments. - Enhanced `cleanup_negative_pid_fds` and other file descriptor handling to respect `fds_max`. - Ensured consistent updates to `fds_max` during PID file descriptor processing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters