Your process is leaking file handles. You need to track which processes are consuming handles over time, spot anomalies, and correlate with system behavior. Modern observability platforms want you to install 200MB Docker images, connect to cloud services, and pay subscription fees.
Or you could use six shell scripts totaling 150 lines.
The Tools
collect - Sample file handle counts every 5 minutes
avg - Calculate statistics (count, average, min, max)
graph - ASCII chart of handle counts over time
spikes - Find anomalies (2x average or custom threshold)
top - Show processes by handle consumption
timeline - Aggregate by time buckets (hourly, daily)