-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Trace_rate] If trace_rate value is more than 10 digits it crashes the server. #6153
Comments
@dyastremsky: Any suggestion would help. Thank you ! |
Probably due to overflow, 10^10 takes more than 32 bits and the type for stroing rate is |
I'll take a look |
Hi @pradghos and @Kanupriyagoyal , could you please briefly describe your workload and what ranges you would like to see supported by our Trace APIs?: https://github.com/triton-inference-server/server/blob/main/docs/user_guide/trace.md#global-settings I can certainly fix this issue for |
@oandreeva-nv Thanks for looking ! workload and ranges will be very generic as any usage. We would expect out of ranges cases should be handled gracefully. |
Fixed with this PR: #6173 |
Description
Upon providing larger “trace_rate” value in the POST body of the “/v2/models/gbm_model/trace/settings”, it was observed that the container stopped or crashed allowing the server to crash.
If the application goes down, the user is not able to access his/her data.
It can overload your server and consume all of its resources which makes the service unavailable.
Triton Information
r23.04
Are you using the Triton container or did you build it yourself?
Using same instructions as build.py
To Reproduce
Steps to reproduce the behavior.
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Expected behavior
A clear and concise description of what you expected to happen.
Application should look at the requests. If there is any limitation at the server, it should return a proper error description to user and should not process further requests.
If number of zeros == 9:
If number of zeros == 10 or number of digits more than 10:
The text was updated successfully, but these errors were encountered: