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

Python can't start new thread #41

Open
aguinaldoabbj opened this issue Oct 5, 2022 · 1 comment
Open

Python can't start new thread #41

aguinaldoabbj opened this issue Oct 5, 2022 · 1 comment

Comments

@aguinaldoabbj
Copy link

aguinaldoabbj commented Oct 5, 2022

Dear,
Congrats on a such polished and well intended piece of software.

I've been testing SimplyPrint and I've discovered that from time to time SimplyPrint and Octoprint get unresponsive. The UI works but commands don't. Checking the logs I see several "can't start new thread" messages. I've noticed that this issue only happens when the printer is turned off for a while (about a night, for example). When I disabled SimplyPrint plugin in Octoprint, the issue was totally gone.

It seems like python threads that check printer connectivity are being created in an uncontrolled way and they aren't being properly finalized, depleting the stock of available python threads in the system.

So is there a setting to avoid this checking?

@jneilliii
Copy link
Collaborator

This may actually be resolved already in the websocket rewrite that is underway and hopefully releasing soon.

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

No branches or pull requests

2 participants