element-hq / element-hq/synapse
media repo worker leaks open FDs
Open
S-Minor
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#9488](https://github.com/matrix-org/synapse/issues/9488).
---
There is a sawtooth on the "Open FDs" graph for the media repository: they accumulate until a Gen 2 GC happens:

The accumulated FDs appear to be `CLOSE_WAIT` sockets; they mostly appear to be outbound connections to port 80 or 443 so they are probably related to url preview requests.
Contributor guide
Assessment
This issue has not been assessed yet.