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

Track threads created via spawn #203

Open
harlowja opened this issue May 10, 2014 · 1 comment
Open

Track threads created via spawn #203

harlowja opened this issue May 10, 2014 · 1 comment

Comments

@harlowja
Copy link
Contributor

Instead of spawning an arbitrary number of threads in the sequential threading handler allow for there to be a upper limit on the number of threads spawned (perhaps using a worker pool to handle these spawns) so that those threads can correctly be cleaned up when a handler is stopped. Right now those threads are spawned as daemon threads and never reclaimed, creating a hard/impossible to cleanup number of spawned threads.

@StephenSorriaux
Copy link
Member

See https://github.com/python-zk/kazoo/actions/runs/8173423920/job/22345909472#step:7:14581

Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name='<stderr>'> at interpreter shutdown, possibly due to daemon threads

Possibly still a subject here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants