Open LiAI-tech opened 1 year ago
I think the error is self-explanatory. You cannot open another process pool endlessly and nested. Either you need to drop Sanic into single process mode, or work with the existing tools that Sanic provides to build on top of that.
hi,Is this problem solved? @LiAI-tech
@ahopkins -- Found the same issue. Appreciate an explanation of this (i.e. what is the issue if both Sanic and the server python code, both use multiprocessing pools?)
I am working on a change that would expose a pool. Until then, maybe this will help: https://sanic.dev/en/guide/running/manager.html#on-the-fly-process-management
Is there an existing issue for this?
Describe the bug
Code snippet
Expected Behavior
How do you run Sanic?
Sanic CLI
Operating System
windows
Sanic Version
22.9.1
Additional context
No response