Insufficient memory for Elasticsearch process on v1.4.0

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
milan
Posts: 9
Joined: Thu Jul 16, 2015 7:37 am

Insufficient memory for Elasticsearch process on v1.4.0

Post by milan »

Hello everyone

After the upgrade on ver 1.4.0 the elasticsearch service is crashing giving following error message:

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000784660000, 1898577920, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1898577920 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/jvm-33003/hs_error.log


Before upgrade elasticsearch service worked well with ~4 Gb ram à Node.

Can somebody help with this problem?

Many thx and best regards
Milan
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Insufficient memory for Elasticsearch process on v1.4.0

Post by hsmith »

How much data worth of logs are you receiving?
Former Nagios Employee.
me.
milan
Posts: 9
Joined: Thu Jul 16, 2015 7:37 am

Re: Insufficient memory for Elasticsearch process on v1.4.0

Post by milan »

Hello
Sorry for late answer.

We are receiving aprox. 1Gb log data per day, which should be okl. for 4-instance Cluster.

Could maybe "sudden traffic-spikes" be the reason for this crushes?

We have increased the amount of memory on all Nodes from 4 Gb to 8 Gb and since then we haven't exeprienced any problems.

Best Regards
Milan
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Insufficient memory for Elasticsearch process on v1.4.0

Post by hsmith »

I'm glad to hear that this is resolved. NLS takes a lot of RAM. Are you a current customer? If so, we should get you access to the customer forums.
Former Nagios Employee.
me.
milan
Posts: 9
Joined: Thu Jul 16, 2015 7:37 am

Re: Insufficient memory for Elasticsearch process on v1.4.0

Post by milan »

Hello

Yes we are current customer.

Should we make request over sales, or direct over admin?

Many thanks and best regards
Milan
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Insufficient memory for Elasticsearch process on v1.4.0

Post by hsmith »

You should send a request to [email protected]. I figured with that much data, you're a current customer. Glad we could help you with this as well. :) I'm going to close this thread as the issue is resolved.
Former Nagios Employee.
me.
Locked