diff --git a/app/vmselect/main.go b/app/vmselect/main.go index 0f92237c6..0c966089c 100644 --- a/app/vmselect/main.go +++ b/app/vmselect/main.go @@ -120,8 +120,8 @@ func RequestHandler(w http.ResponseWriter, r *http.Request) bool { err := &httpserver.ErrorWithStatusCode{ Err: fmt.Errorf("couldn't start executing the request in %.3f seconds, since -search.maxConcurrentRequests=%d concurrent requests "+ "are executed. Possible solutions: to reduce query load; to add more compute resources to the server; "+ - "to increase -search.maxQueueDuration; to increase -search.maxQueryDuration; to increase -search.maxConcurrentRequests", - d.Seconds(), *maxConcurrentRequests), + "to increase -search.maxQueueDuration=%s; to increase -search.maxQueryDuration; to increase -search.maxConcurrentRequests", + d.Seconds(), *maxConcurrentRequests, maxQueueDuration), StatusCode: http.StatusServiceUnavailable, } httpserver.Errorf(w, r, "%s", err)