Elasticsearch warning


(Mohamed) #1

Hello,
I am using two instance of elasticsearch in the same machine; I have 94GO Ram, and 8 vCPUs. I used 22 GO memory for each instance and I had this error message:

 [2018-09-20T14:11:39,342][WARN ][o.e.i.f.SyncedFlushService] [nokia1] [.monitoring-es-6-2018.09.19][0] can't to issue sync id [TL_W7317TJCsfv4C7t0EAA] for out of sync replica [[.monitoring-es-6-2018.09.19][0], node[_NdHXtTaS22gSefNnK7yuA], [R], s[STARTED], a[id=KvdlXf70RRaClt3A0EBHCg]] with num docs [40757]; num docs on primary [31441]

    [2018-09-20T15:09:21,487][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][young][3780][160] duration [3.3s], collections [1]/[3.7s], total [3.3s]/[14.4s], memory [795.4mb]->[379.8mb]/[19.9gb], all_pools {[young] [421.5mb]->[3.3mb]/[532.5mb]}{[survivor] [11.7mb]->[14.5mb]/[66.5mb]}{[old] [362.2mb]->[362.9mb]/[19.3gb]}

    [2018-09-20T15:09:21,491][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][3780] overhead, spent [3.3s] collecting in the last [3.7s]

    [2018-09-20T15:11:38,714][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][young][3869][166] duration [49s], collections [1]/[49.1s], total [49s]/[1m], memory [890.6mb]->[415.4mb]/[19.9gb], all_pools {[young] [510.8mb]->[27.4mb]/[532.5mb]}{[survivor] [15.9mb]->[24.1mb]/[66.5mb]}{[old] [363.7mb]->[363.8mb]/[19.3gb]}

    [2018-09-20T15:11:38,714][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][3869] overhead, spent [49s] collecting in the last [49.1s]

    [2018-09-20T15:11:46,478][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][young][3871][167] duration [6.4s], collections [1]/[6.7s], total [6.4s]/[1.1m], memory [778.3mb]->[430.3mb]/[19.9gb], all_pools {[young] [390.3mb]->[46.7mb]/[532.5mb]}{[survivor] [24.1mb]->[19.3mb]/[66.5mb]}{[old] [363.8mb]->[364.2mb]/[19.3gb]}

    [2018-09-20T15:11:46,479][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][3871] overhead, spent [6.4s] collecting in the last [6.7s]

    [2018-09-20T15:18:39,082][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][young][4279][192] duration [4.6s], collections [1]/[5.3s], total [4.6s]/[1.2m], memory [901.1mb]->[381.6mb]/[19.9gb], all_pools {[young] [517.2mb]->[2.3mb]/[532.5mb]}{[survivor] [14.8mb]->[9.3mb]/[66.5mb]}{[old] [369mb]->[369.8mb]/[19.3gb]}

    [2018-09-20T15:18:39,082][WARN ][o.e.m.j.JvmGcMonitorService] [nokia1] [gc][4279] overhead, spent [4.6s] collecting in the last [5.3s]
    [2018-09-20T15:24:09,091][ERROR][o.e.x.m.c.n.NodeStatsCollector] [nokia1] collector [node_stats] timed out when collecting data

I don't know how to fix this problem, because I am not using more than the half of 94 for two instances

ps: Logstash is also running in the same machine

Thanks for help


(Christoph) #2

I think the warning is more about Garbage Collection taking quite long that about not enough memory. This might be the case indeed because of too many processes running on the same machine.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.