Forum Discussion

Tonaco_pt's avatar
Tonaco_pt
Moderator
31 days ago

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

 

    • Tonaco_pt's avatar
      Tonaco_pt
      Moderator

      Hi GertjanA

      I don't have a monitor error I real memory usage, I in Elasticsearch JVM heap size value to 12 Gb, and now a server spike from 12% or 30% to 80%, 80% of 12Gb is ~9,6Gb more the default 8Gb that I had.

      I think I need to give more memory. The increase is over appears in span of a 1 min.

      This is the behaviour that worries me.

      I not find information about this, probably I not search correctly