Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running in --watch mode there are memory leak warnings #601

Open
TomFreudenberg opened this issue Jan 14, 2024 · 0 comments
Open

When running in --watch mode there are memory leak warnings #601

TomFreudenberg opened this issue Jan 14, 2024 · 0 comments
Labels
beginner friendly Enhancements or issues that are easy for someone to get started on. bug

Comments

@TomFreudenberg
Copy link

Issues

Running the simple example.py with dramatiq --watch . example will show the following warning on file changes:

/home/.pyenv/versions/3.12.1/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 51 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

What OS are you using?

MacOS Ventura

What version of Dramatiq are you using?

v1.15.0 (pip install)

What did you do?

Just run the simple example

What did you expect would happen?

No warnings about memory leaks

What happened?

Wether using python 3.12.1 or 3.10.13 the warning is shown on restart due to file change.

Stopping the app via Ctrl-C will shutdown without any warnings

@Bogdanp Bogdanp added bug beginner friendly Enhancements or issues that are easy for someone to get started on. labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner friendly Enhancements or issues that are easy for someone to get started on. bug
Projects
None yet
Development

No branches or pull requests

2 participants