Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

The service process always interrupts abnormally after certain requests #2284

Closed
2 tasks done
TheHonestBob opened this issue Mar 23, 2024 · 0 comments
Closed
2 tasks done

Comments

@TheHonestBob
Copy link

TheHonestBob commented Mar 23, 2024

Initial Checks

  • I confirm this was discussed, and the maintainers suggest I open an issue.
  • 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
image

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.
Fund with Polar
@encode encode locked and limited conversation to collaborators Mar 30, 2024
@Kludex Kludex converted this issue into discussion #2293 Mar 30, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant