OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000058a6c0000, 10388504576, 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 10388504576 bytes for committing reserved memory.
An error report file with more information is saved as:
/tmp/jvm-22765/hs_error.log
memory info:strong text
cat /proc/meminfo
MemTotal: 15952668 kB
MemFree: 482684 kB
MemAvailable: 4307768 kB
Buffers: 212132 kB
Cached: 3255512 kB
SwapCached: 0 kB
Active: 1059224 kB
Inactive: 2351084 kB
Active(anon): 66644 kB
Inactive(anon): 56 kB
Active(file): 992580 kB
Inactive(file): 2351028 kB
Unevictable: 11128860 kB
Mlocked: 11128860 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 32128 kB
Writeback: 96 kB
AnonPages: 11071548 kB
Mapped: 154188 kB
free -m
total used free shared buffers cached
Mem: 15578 15118 459 0 207 3189
-/+ buffers/cache: 11722 3856
Swap: 0 0 0
for me kibana is not loading and I am getting below error:
I have check logstash,redis. all is up and running only facing issue over elasticsearch service which I posted above.
pasting below logstash log:
{:timestamp=>"2022-10-27T05:09:38.659000+0000", :message=>"Got error to send bulk of actions: Connection refused (Connection refused)", :level=>:error}
{:timestamp=>"2022-10-27T05:09:38.659000+0000", :message=>"Failed to flush outgoing items", :outgoing_count=>1, :exception=>"Manticore::SocketException", :backtrace=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.4.4-java/lib/manticore/response.rb:35:in initialize'", "org/jruby/RubyProc.java:281:in
call'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.4.4-java/lib/manticore/response.rb:70:in call'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.4.4-java/lib/manticore/response.rb:245:in
call_once'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/manticore-0.4.4-java/lib/manticore/response.rb:148:in code'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/manticore.rb:71:in
perform_request'", "org/jruby/RubyProc.java:281:in call'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/base.rb:201:in
perform_request'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/manticore.rb:54:in perform_request'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/client.rb:125:in
perform_request'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/actions/bulk.rb:87:in bulk'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.1.0-java/lib/logstash/outputs/elasticsearch/protocol.rb:105:in
bulk'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.1.0-java/lib/logstash/outputs/elasticsearch.rb:548:in submit'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.1.0-java/lib/logstash/outputs/elasticsearch.rb:547:in
submit'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.1.0-java/lib/logstash/outputs/elasticsearch.rb:572:in flush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.1.0-java/lib/logstash/outputs/elasticsearch.rb:571:in
flush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:219:in buffer_flush'", "org/jruby/RubyHash.java:1342:in
each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:216:in buffer_flush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:159:in
buffer_receive'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.1.0-java/lib/logstash/outputs/elasticsearch.rb:537:in receive'", "/opt/logstash/vendor/jruby/lib/ruby/1.9/forwardable.rb:201:in
receive'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.6-java/lib/logstash/outputs/base.rb:88:in handle'", "(eval):284:in
output_func'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.6-java/lib/logstash/pipeline.rb:244:in outputworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.6-java/lib/logstash/pipeline.rb:166:in
start_outputs'"], :level=>:warn}
{:timestamp=>"2022-10-27T05:09:39.093000+0000", :message=>["INFLIGHT_EVENTS_REPORT", "2022-10-27T05:09:39Z", {"input_to_filter"=>20, "filter_to_output"=>20, "outputs"=>}], :level=>:warn}
please guide me to resolve the issue.