tianji
tianji copied to clipboard
Monitoring latency causing a server to appear offline when it actually isn't. [ VM with Docker containers only ]
Hello,
I've noticed that my VMs running numerous Docker containers continuously switch between offline and online states.
This issue seems to occur exclusively when a VM hosts more than about thirty Docker containers. Other VMs hosting only one or two containers never go offline. VMs without Docker containers refresh approximately every 5 seconds without issues. Could this possibly be related to performance or resource overhead when retrieving Docker container information?
I checked the logs and found:
Mar 10 23:22:29 Docker1 tianji-reporter[55263]: 2025/03/10 23:22:29 Response: success
Mar 10 23:22:29 Docker1 tianji-reporter[55263]: 2025/03/10 23:22:29 Sending report data to: http://*.*.*.*:12345
Note that I'm using Tianji in a local-host setup, and I've already verified the network stability of the VMs experiencing offline states without noticing any anomalies.