Elasticsearch JVM heap size over 90%
Hi, We have 3 server with archiving and Indexing services, sometimes we getting Elasticsearch JVM heap size over 90%, and search stop working for the index in that server, restart the index service and work again, I create a powershell script to monitor (https://www.veritas.com/support/en_US/article.100061339), can see at the end.
What can I do to prevent this to happen, should I increase the Elasticsearch JVM heap size value ?(https://www.veritas.com/support/en_US/article.100060258)
I'm in EV 15.0 no fixes (yet)
# Define the remote computer's name or IP address
$remoteComputer = "evserver"# Define the script block to get the performance counter data
$scriptBlock = {
$JVMCounter = Get-Counter '\Enterprise Vault Indexing (Elasticsearch)(*)\JVM heap size % used'
[pscustomobject]@{
Server = $env:COMPUTERNAME
Name = $JVMCounter.CounterSamples.CookedValue
}
}
Invoke-Command -ComputerName $remoteComputer -ScriptBlock $scriptBlock