Skip to content
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

[BUG] API worker process outputs "Error while closing socket [Errno 9] Bad file descriptor" while shutting down #598

Closed
purplesmoke05 opened this issue Feb 21, 2024 · 0 comments · Fixed by #599
Assignees
Labels
bug Something isn't working

Comments

@purplesmoke05
Copy link
Member

purplesmoke05 commented Feb 21, 2024

Describe the bug

  • API worker process outputs "Error while closing socket [Errno 9] Bad file descriptor" while shutting down.
208309-[2024-02-21 03:28:09 +0000] [1396196] [INFO] Shutting down
208310:[2024-02-21 03:28:09 +0000] [1396196] [INFO] Error while closing socket [Errno 9] Bad file descriptor
208311-[2024-02-21 03:28:09 +0000] [1396196] [INFO] Waiting for application shutdown.
208312-[2024-02-21 03:28:09 +0000] [1396196] [INFO] Application shutdown complete.
208313-[2024-02-21 03:28:09 +0000] [1396196] [INFO] Finished server process [1396196]
208314-[2024-02-21 03:28:09 +0000] [1396196] [INFO] Worker exiting (pid: 1396196)

Expected behavior

  • API worker process does not outputs any bad file descriptor logs while shutting down
    • This may requires to run API worker with asyncio eventloop.
@purplesmoke05 purplesmoke05 added the bug Something isn't working label Feb 21, 2024
@purplesmoke05 purplesmoke05 self-assigned this Feb 21, 2024
YoshihitoAso added a commit that referenced this issue Feb 21, 2024
Use asyncio eventloop on API server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant