kragniz / kragniz/python-etcd3
Memory/threads leak
Open
- Dominant language
- Python
- Stars
- 450
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Description
Repeatedly calling etcd3.client(...) in a loop will leak lots of memory over time. The main reasons seems to be that this creates a watcher thread every time. This thread is never stopped or deleted thus causing memory to grow without bounds.
Contributor guide
Research direction
Start by reproducing repeated etcd3.client(...) calls in a loop and inspect the watcher thread lifecycle. Trace why each client-created watcher remains alive; done means repeated client creation no longer causes unbounded watcher threads or memory growth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100