The service process always interrupts abnormally after certain requests #2293
Unanswered
TheHonestBob
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Initial Checks
Discussion Link
Description
I deployed a dataframe data service using FastAPI. When I used the df.parallel_apply method instead of df.apply, the service always terminated abnormally. The same request for df.apply did not encounter this problem. When I started the program using the following command and checked the logs,:
uvicorn server:app --port=49000 --host=0.0.0.0 --access-log --log-level=trace
I found the following problem. It seems that when I started processing dataframe data through multiple processes, for some unknown reason,the program sent a shutdown signal to the ASGI server
Example Code
No response
Python, Uvicorn & OS Version
Important
Beta Was this translation helpful? Give feedback.
All reactions