JVM error in elasticsearch

HI Team,
when i try to star the elasticsearch service it throwing below error

   >  Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00002b76c9990000, 33661845504, 0) failed; error='Cannot allocate memory' (errno=12)
>     #
> # There is insufficient memory for the Java Runtime Environment to continue.
> # Native memory allocation (mmap) failed to map 33661845504 bytes for committing reserved memory.
> # An error report file with more information is saved as:
> # logs/hs_err_pid21474.log


  total        used        free      shared  buff/cache   available

Mem: 65808096 31358668 29162892 2922192 5286536 30995364
Swap: 2097148 954064 1143084

Can anyone help how to resolve this issue

You have 29162892 (~27GB) free memory. You are trying to allocate (-Xms32g) 32GB. So you get

Just correct me @Vinayak_Sapre my total RAM capacity is 64 GB and in that i have assigned 32 GB. last 6 month my service is running with same setting and it happens suddenly.

How can i resolve it and i have 2 more data node with same congifuration and those servers working fine.
Im using version 6.4

Other processes running on this specific machines were taking up 31358668 (~30GB) at the time of ES start. You cannot compare with other nodes or past history of this node.

If you are still seeing the issue, "top" command with sort on memory (shift+m) will give you processes consuming most memory.

when i check with TOP command and im getting below output,

24990 root      20   0   30.8g  29.3g 166360 S   0.0 46.7  33:20.74 rsyslogd

I don't know much about rsyslogd debugging. But that process is your issue.

Thanks a lot @Vinayak_Sapre .

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