Kibana down with Error saying out of memory

Hi,

I build Kibana 6.8 package from source file with basic license of x-pack and deployed to our servers. But I always get Out of memory error after running like every 3 days or 4.

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/usr/share/kibana/bin/../node/bin/node]
 2: 0x109bf8c [/usr/share/kibana/bin/../node/bin/node]
 3: v8::Utils::ReportApiFailure(char const*, char const*) [/usr/share/kibana/bin/../node/bin/node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/share/kibana/bin/../node/bin/node]
 5: v8::internal::Factory::NewCode(v8::internal::CodeDesc const&, unsigned int, v8::internal::Handle<v8::internal::Object>, bool, bool, int, bool) [/usr/share/kibana/bin/../node/bin/node]
 6: v8::internal::CodeGenerator::MakeCodeEpilogue(v8::internal::MacroAssembler*, v8::internal::CompilationInfo*) [/usr/share/kibana/bin/../node/bin/node]
 7: v8::internal::FullCodeGenerator::MakeCode(v8::internal::CompilationInfo*) [/usr/share/kibana/bin/../node/bin/node]
 8: 0xb4c51e [/usr/share/kibana/bin/../node/bin/node]
 9: 0xb4e900 [/usr/share/kibana/bin/../node/bin/node]
10: 0xb55fc6 [/usr/share/kibana/bin/../node/bin/node]
11: v8::internal::Compiler::Compile(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag) [/usr/share/kibana/bin/../node/bin/node]
12: v8::internal::Runtime_CompileLazy(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/share/kibana/bin/../node/bin/node]
13: 0x1580fcc060c7
Elasticsearch ERROR: 2019-08-06T23:08:42Z
  Error: Request error, retrying
  GET http://inkiru-es.prod.walmart.com/.kibana/doc/space%3Adefault => read ECONNRESET
      at Log.error (/usr/share/kibana/node_modules/elasticsearch/src/lib/log.js:226:56)
      at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:259:18)
      at HttpConnector.<anonymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
      at ClientRequest.wrapper (/usr/share/kibana/node_modules/elasticsearch/node_modules/lodash/lodash.js:4935:19)
      at ClientRequest.emit (events.js:189:13)
      at Socket.socketErrorListener (_http_client.js:392:9)
      at Socket.emit (events.js:189:13)
      at emitErrorNT (internal/streams/destroy.js:82:8)
      at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
      at process._tickCallback (internal/process/next_tick.js:63:19)

Elasticsearch ERROR: 2019-08-06T23:09:37Z
  Error: Request error, retrying
  GET http://inkiru-es.prod.walmart.com/.kibana/doc/space%3Adefault => read ECONNRESET
      at Log.error (/usr/share/kibana/node_modules/elasticsearch/src/lib/log.js:226:56)
      at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:259:18)
      at HttpConnector.<anonymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
      at ClientRequest.wrapper (/usr/share/kibana/node_modules/elasticsearch/node_modules/lodash/lodash.js:4935:19)
      at ClientRequest.emit (events.js:189:13)
      at Socket.socketErrorListener (_http_client.js:392:9)
      at Socket.emit (events.js:189:13)
      at emitErrorNT (internal/streams/destroy.js:82:8)
      at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
      at process._tickCallback (internal/process/next_tick.js:63:19)

Is there anything wrong with my build? Or should I add anything to start Kibana?

Thanks!

Hello Jasmine,

You could try some of the suggestions in this related thread to increase the available memory.

Regards,
Aaron

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