-
Notifications
You must be signed in to change notification settings - Fork 31
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
RuntimeError: can't start new thread #33
Comments
I am seeing this also on two Zero 2W units. It looks to me like a leak, and I suspect it would eventually happen on any system but because this is 32-bit it runs out of resources much faster. |
These aren't very scientific, but some observations. On a system which is stuck:
On a freshly started instance:
Most of those lines are a handle to the model:
It doesn't seem to be a file descriptor limit though, soft limit is set to the default of 1024 and it's nowhere near that:
|
Did you guys figure out what causes this error? It's so frustrating! |
I'm encountering an issue with my Raspberry Pi Zero 2W. The speakers connected via the 2 HAT won’t activate voice until I restart the service. This happens when I haven't used it for a few hours.
``
Sep 22 03:19:56 3dprint run[611]: Traceback (most recent call last):
Sep 22 03:19:56 3dprint run[611]: File "/root/wyoming-openwakeword/.venv/lib/python3.9/site-packages/wyoming/server.py", line 41, in run
Sep 22 03:19:56 3dprint run[611]: if not (await self.handle_event(event)):
Sep 22 03:19:56 3dprint run[611]: File "/root/wyoming-openwakeword/wyoming_openwakeword/handler.py", line 73, in handle_event
Sep 22 03:19:56 3dprint run[611]: ensure_loaded(
Sep 22 03:19:56 3dprint run[611]: File "/root/wyoming-openwakeword/wyoming_openwakeword/handler.py", line 256, in ensure_loaded
Sep 22 03:19:56 3dprint run[611]: state.ww_threads[model_key].start()
Sep 22 03:19:56 3dprint run[611]: File "/usr/lib/python3.9/threading.py", line 874, in start
Sep 22 03:19:56 3dprint run[611]: _start_new_thread(self._bootstrap, ())
Sep 22 03:19:56 3dprint run[611]: RuntimeError: can't start new thread
The text was updated successfully, but these errors were encountered: