-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
vmui throws "Request failed with status 422" error #6417
Comments
Hello @surekha3
|
Hi @zekker6 ,
![]() ![]() ![]() |
@surekha3 Based on the vmselect error messages it seems like vmstorage is not able to keep up with the requests rate and thus vmselect returns an error. |
@zekker6 You mean vmstorage pod resource limits or -search.maxconcurrentRequests parametes in victoriametrics config? |
@surekha3 In this case it is |
okay when I load VMUI explore cardinality for today's date. it's working fine. But when I load for yesterday's date it's throwing above attached 422 error. So in this case, when I increase maxconcurrentRequests parameter, will it work fine? |
Based on the info above it should help. However, screenshot of browser requests lacks an actual request which returned 422 error. It would be great if you could open "network" tab and run a request once again just to confirm that request does return this specific error.
It's hard to tell without cluster monitoring as mentioned above. Using Grafana dashboard for the cluster monitoring will allow to see which requests were taking place at this time and correlate these requests with resource usage spikes. |
@surekha3 You can hover the cursor over an arrow in the bottom of the graph and see the title of this vertical line. Yellow ones are usually representing a component restart. It's better to investigate the root cause of the restart in order to make sure the cluster is stable. |
@zekker6 you're correct. It states getting restarted. Is that because of leaving default value for -search.maxconcurrentRequests value as 2. Will heavy load causes these restarts? |
@surekha3 Heavy load can cause restarts only in case OOM is involved. |
@zekker6 Though it's showing as pod restarts in Grafana dashboard, when I ran kubectl events command, it's not showing as pod get restarted which seems strange |
@surekha3 Restarts annotation uses the following query: |
Is your feature request related to a problem? Please describe
We've deployed victoriametrics cluster into AWS EKS. We're experiencing high disk usage by storage pods. When dig deeper, indexdb is consuming almost 2x-3x more space than data folder. According to Victoriametrics docs, this problem might be due to high churn rate. So inorder to identify root cause, I would like to view cardinality explorer but in our VMUI, it's throwing Error: Request failed with status 422 when I try to explore cardinality. Please help
Describe the solution you'd like
VMUI should display cardinality
Describe alternatives you've considered
How to fix high churn rate
Additional information
No response
The text was updated successfully, but these errors were encountered: