How do I close connections to my DVR when they get orphaned #20768
-
|
I see a exponential increase in connections after stopping the docker container and starting it. I have 9 camera and I use g02rtc to reuse the detect and record streams. Not for sure if it is docker issue or Frigate. I quickly exceeds my QSee QC-9916 20 connection max limit. ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
9
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
9
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
9
ryan@homelab:~$ docker compose down
[+] Running 5/5
✔ Container reverse-proxy Removed 0.5s
✔ Container signal-cli-rest-api Removed 0.3s
✔ Container frigate-notify Removed 0.3s
✔ Container frigate Removed 26.3s
✔ Network ryan_frigate_network Removed 0.2s
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
0
ryan@homelab:~$ docker compose up -d
[+] Running 5/5
✔ Network ryan_frigate_network Created 0.1s
✔ Container frigate Started 0.9s
✔ Container frigate-notify Started 1.2s
✔ Container signal-cli-rest-api Started 1.5s
✔ Container reverse-proxy Started 1.7s
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
2
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
10
ryan@homelab:~$ docker compose up -d
[+] Running 4/4
✔ Container frigate Running 0.0s
✔ Container frigate-notify Running 0.0s
✔ Container signal-cli-rest-api Running 0.0s
✔ Container reverse-proxy Running 0.0s
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
16
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
63
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
71
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
71
ryan@homelab:~$ netstat -nt | grep 192.168.1.225:554 | wc -l
80 |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Nov 4, 2025
Replies: 1 comment 9 replies
-
|
We can't help without seeing your config and Frigate logs. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, that seems very odd. The latency is likely a major contributor to your issue.
You should comment out or remove the
retry_intervalas I suggested above, and you should just remove the globalinput_argsand just let what you've defined at the camera level take precedent.