element-hq / element-hq/synapse

media repo worker leaks open FDs

Open
#9,488 0 comments 0 reactions 0 assignees View on GitHub
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:

![image](https://user-images.githubusercontent.com/1389908/109028987-4cd5b280-76ba-11eb-80a5-3168d42c7cde.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.