generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
bugSomething isn't workingSomething isn't working
Description
If there is no request for a certain amount of idle time for OpenSearch, an error occurs when a request is sent to Logstash afterward.
Attempted to send a bulk request but there are no living connections in the pool (perhaps OpenSearch is unreachable or down?) {:message=>"No Available connections", :exception=>LogStash::Outputs::OpenSearch::HttpClient::Pool::NoConnectionAvailableError, :will_retry_in_seconds=>16}
The OpenSearch server has no problem, and the requests are processed successfully as the connection is re-established during the retry process.
It seems that the stale connections in the connection pool are not being refreshed properly.
In this cases, is there a way to manage the connections in the connection pool to ensure they are always kept alive?
There is a validate_after_inactivity setting, but it doesn't seem to work as I want it to.
Would enabling sniffing help in this case?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working