Hi.
I am running ElasticSearch 6.1.3 in a Liferay Installation and I am facing an Exception "java.lang.OutOfMemoryError: Java heap space" that is causing malfunction in Liferay portal.
That's the information I have collected:
curl -X GET "http://pvmtelastila1:9200/"
{
"name" : "pvmtelastila1",
"cluster_name" : "LiferayCluster",
"cluster_uuid" : "K2FHedK2T9ulV5bbznxOWw",
"version" : {
"number" : "6.1.3",
"build_hash" : "af51318",
"build_date" : "2018-01-26T18:22:55.523Z",
"build_snapshot" : false,
"lucene_version" : "7.1.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
curl -X GET "http://pvmtelastila1:9200/_cat/nodes?v"
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
172.28.162.212 35 71 5 0.01 0.04 0.05 mdi - pvmtelastila3
172.28.162.211 19 63 4 0.00 0.01 0.05 mdi - pvmtelastila2
172.28.162.210 59 50 8 0.16 0.21 0.22 mdi * pvmtelastila1
curl -X GET "http://pvmtelastila1:9200/_cat/health?v"
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time acti ve_shards_percent
1614635607 22:53:27 LiferayCluster red 3 3 258 130 0 0 3 0 - 98.9%
curl -X GET "http://pvmtelastila1:9200/_cat/indices/*?v&s=index&pretty"
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .monitoring-alerts-6 R46WydaSTQCmZTz6O0gFaQ 1 1 2 0 24.6kb 12.3kb
... too many entries green
green open liferay-0 5qwi-dGDQ1iZ2FhPG9NQnw 1 0 266 0 1.5mb 1.5mb
red open liferay-20116 -G9G1dlDT_ilL1g9QGbtbQ 2 1 4336017 485652 26.9gb 26.9gb
Any suggestions are appreciated.
Regards.