Multi threads in multiple processes #2598
Unanswered
lionsheep0724
asked this question in
Q&A
Replies: 2 comments
-
Hi @lionsheep0724.
Could you please share the code for this part? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @bojiang .
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello team!
I want to deploy a server with bentoml(0.13.1), which can asynchronously handle multiple requests, spawn processes when requests are arrived to server and each process has multiple threads to work.
I tried to call ThreadPoolExecutor inside ProcessPoolExecutor, with --workers = N option but the error "daemonic processes are not allowed to have children" occurred. I guess it crashed with aiohttp in bentoml.
How do I handle this problem?? please refer to below.
Beta Was this translation helpful? Give feedback.
All reactions