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

Logging query - single POST shows as 3 entries in log #74

Closed
fullymiddleaged opened this issue Dec 28, 2024 · 2 comments
Closed

Logging query - single POST shows as 3 entries in log #74

fullymiddleaged opened this issue Dec 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fullymiddleaged
Copy link

Hello again!

This could be a logging quirk, or something deeper, but when I POST to a session just one query (via Python) I always see 3 lines logged in the application access.log file. Is this expected?

onnxresponse = requests.post(api_url, json=json_array)
2024-12-28 08-47-50.535 [Info] 10.126.0.2:38686 task: POST /api/sessions/quantized/v1 status: 200 duration: 253103
2024-12-28 08-47-50.788 [Info] 10.126.0.2:38686 task: POST /api/sessions/quantized/v1 status: 200 duration: 252756
2024-12-28 08-47-51.042 [Info] 10.126.0.2:38686 task: POST /api/sessions/quantized/v1 status: 200 duration: 254132
@kibae
Copy link
Owner

kibae commented Dec 31, 2024

This issue also seems to stem from the operational behavior of the HTTP/HTTPS server. I’ll review it along with the parallelism issue(#75) involving thread usage.

@kibae kibae added the bug Something isn't working label Dec 31, 2024
@kibae kibae self-assigned this Dec 31, 2024
kibae added a commit that referenced this issue Dec 31, 2024
kibae added a commit that referenced this issue Dec 31, 2024
…(breaking change) (#76)

* feat: #75 #74 Remove thread pool and create a thread for each client (breaking change)
@kibae
Copy link
Owner

kibae commented Jan 15, 2025

@fullymiddleaged
I have released version 1.20.1b of onnxruntime-server and updated the Docker image as well. The underlying onnxruntime remains at version 1.20.1. However, I couldn't wait any longer to release the changes made to this project. Please try out this version, and let me know if you encounter any issues. :)

@kibae kibae closed this as completed Jan 15, 2025
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

No branches or pull requests

2 participants