[X] I confirm this was discussed, and the maintainers suggest I open an issue.
[X] I'm aware that if I created this issue without a discussion, it may be closed without a response.
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
Running uvicorn 0.27.0.post1 with CPython 3.9.18 on Linux
[!IMPORTANT]
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
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![image](https://github.com/encode/uvicorn/assets/58240629/777a6f6a-32ac-435e-acb4-7aac3bae3f4d)
Example Code
No response
Python, Uvicorn & OS Version