{"action":"opened","issue":{"url":"https://api.github.com/repos/jmreicha/elk-docker/issues/4","repository_url":"https://api.github.com/repos/jmreicha/elk-docker","labels_url":"https://api.github.com/repos/jmreicha/elk-docker/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jmreicha/elk-docker/issues/4/comments","events_url":"https://api.github.com/repos/jmreicha/elk-docker/issues/4/events","html_url":"https://github.com/jmreicha/elk-docker/issues/4","id":177292945,"number":4,"title":"errro low heap memory","user":{"login":"mkscala","id":8508524,"avatar_url":"https://avatars.githubusercontent.com/u/8508524?v=3","gravatar_id":"","url":"https://api.github.com/users/mkscala","html_url":"https://github.com/mkscala","followers_url":"https://api.github.com/users/mkscala/followers","following_url":"https://api.github.com/users/mkscala/following{/other_user}","gists_url":"https://api.github.com/users/mkscala/gists{/gist_id}","starred_url":"https://api.github.com/users/mkscala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkscala/subscriptions","organizations_url":"https://api.github.com/users/mkscala/orgs","repos_url":"https://api.github.com/users/mkscala/repos","events_url":"https://api.github.com/users/mkscala/events{/privacy}","received_events_url":"https://api.github.com/users/mkscala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T21:20:03Z","updated_at":"2016-09-15T21:20:03Z","closed_at":null,"body":"My compose file:\r\nversion: '2'\r\nservices:\r\n    elasticsearch:\r\n      image: elasticsearch:5\r\n      command: elasticsearch\r\n      environment:\r\n        # This helps ES out with memory usage\r\n        - ES_JAVA_OPTS=-Xmx1g -Xms1g\r\n      volumes:\r\n        # Persist elasticsearch data to a volume\r\n        - elasticsearch:/usr/share/elasticsearch/data\r\n        # Extra ES configuration options\r\n        - ./es/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml\r\n      ports:\r\n        - \"9200:9200\"\r\n        - \"9300:9300\"\r\n\r\n\r\n    kibana:\r\n      image: kibana:5\r\n      environment:\r\n        # Point Kibana to the elasticsearch container\r\n        - ELASTICSEARCH_URL=http://elasticsearch:9200\r\n      ports:\r\n        - \"5601:5601\"\r\n      links:\r\n        - elasticsearch\r\nvolumes:\r\n  elasticsearch:\r\n\r\n/docker-elk5$ docker-compose up\r\nStarting dockerelk5_elasticsearch_1\r\nStarting dockerelk5_kibana_1\r\nAttaching to dockerelk5_elasticsearch_1, dockerelk5_kibana_1\r\nelasticsearch_1  | [2016-09-15 21:16:04,047][INFO ][node                     ] [logstash] initializing ...\r\nelasticsearch_1  | [2016-09-15 21:16:04,148][INFO ][env                      ] [logstash] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/vda)]], net usable_space [72.8gb], net total_space [117.9gb], spins? [possibly], types [ext4]\r\nelasticsearch_1  | [2016-09-15 21:16:04,148][INFO ][env                      ] [logstash] heap size [989.8mb], compressed ordinary object pointers [true]\r\nelasticsearch_1  | [2016-09-15 21:16:04,152][INFO ][node                     ] [logstash] version[5.0.0-alpha5], pid[1], build[d327dd4/2016-08-04T08:59:39.568Z], OS[Linux/3.13.0-24-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_102/25.102-b14]\r\nelasticsearch_1  | [2016-09-15 21:16:05,093][INFO ][io.netty.util.internal.PlatformDependent] Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [aggs-matrix-stats]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [ingest-common]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [lang-expression]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [lang-groovy]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [lang-mustache]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [lang-painless]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [percolator]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [reindex]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [transport-netty3]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] loaded module [transport-netty4]\r\nelasticsearch_1  | [2016-09-15 21:16:05,219][INFO ][plugins                  ] [logstash] no plugins loaded\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:kibana@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:elasticsearch@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"yellow\",\"message\":\"Status changed from uninitialized to yellow - Waiting for Elasticsearch\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:console@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:kbn_doc_views@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:kbn_vislib_vis_types@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:markdown_vis@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:metric_vis@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:spy_modes@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"error\",\"elasticsearch\"],\"pid\":18,\"message\":\"Request error, retrying\\nHEAD http://elasticsearch:9200/ => connect ECONNREFUSED 172.28.0.2:9200\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:status_page@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:table_vis@5.0.0-alpha5\",\"info\"],\"pid\":18,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"listening\",\"info\"],\"pid\":18,\"message\":\"Server running at http://0.0.0.0:5601\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"ui settings\",\"info\"],\"pid\":18,\"state\":\"yellow\",\"message\":\"Status changed from uninitialized to yellow - Elasticsearch plugin is yellow\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":18,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":18,\"message\":\"No living connections\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"plugin:elasticsearch@5.0.0-alpha5\",\"error\"],\"pid\":18,\"state\":\"red\",\"message\":\"Status changed from yellow to red - Unable to connect to Elasticsearch at http://elasticsearch:9200.\",\"prevState\":\"yellow\",\"prevMsg\":\"Waiting for Elasticsearch\"}\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:06Z\",\"tags\":[\"status\",\"ui settings\",\"error\"],\"pid\":18,\"state\":\"red\",\"message\":\"Status changed from yellow to red - Elasticsearch plugin is red\",\"prevState\":\"yellow\",\"prevMsg\":\"Elasticsearch plugin is yellow\"}\r\nelasticsearch_1  | [2016-09-15 21:16:07,402][INFO ][node                     ] [logstash] initialized\r\nelasticsearch_1  | [2016-09-15 21:16:07,403][INFO ][node                     ] [logstash] starting ...\r\nelasticsearch_1  | [2016-09-15 21:16:07,535][INFO ][transport                ] [logstash] publish_address {127.0.0.1:9300}, bound_addresses {[::]:9300}\r\nelasticsearch_1  | [2016-09-15 21:16:07,542][INFO ][bootstrap                ] [logstash] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks\r\nelasticsearch_1  | [2016-09-15 21:16:07,547][WARN ][bootstrap                ] [logstash] uncaught exception in thread [main]\r\nelasticsearch_1  | org.elasticsearch.bootstrap.StartupError: java.lang.RuntimeException: bootstrap checks failed\r\nelasticsearch_1  | max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:105)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:96)\r\nelasticsearch_1  |      at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)\r\nelasticsearch_1  |      at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:88)\r\nelasticsearch_1  |      at org.elasticsearch.cli.Command.main(Command.java:54)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:75)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:68)\r\nelasticsearch_1  | Caused by: java.lang.RuntimeException: bootstrap checks failed\r\nelasticsearch_1  | max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:132)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:85)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:65)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Bootstrap$5.validateNodeBeforeAcceptingRequests(Bootstrap.java:178)\r\nelasticsearch_1  |      at org.elasticsearch.node.Node.start(Node.java:471)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:193)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:257)\r\nelasticsearch_1  |      at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:101)\r\nelasticsearch_1  |      ... 6 more\r\nelasticsearch_1  |      Suppressed: java.lang.IllegalStateException: max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]\r\nelasticsearch_1  |              at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\nelasticsearch_1  |              at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)\r\nelasticsearch_1  |              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\nelasticsearch_1  |              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\nelasticsearch_1  |              at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)\r\nelasticsearch_1  |              at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)\r\nelasticsearch_1  |              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\nelasticsearch_1  |              at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)\r\nelasticsearch_1  |              at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:133)\r\nelasticsearch_1  |              ... 13 more\r\nelasticsearch_1  | [2016-09-15 21:16:07,549][INFO ][node                     ] [logstash] stopping ...\r\nelasticsearch_1  | [2016-09-15 21:16:07,745][INFO ][node                     ] [logstash] stopped\r\nelasticsearch_1  | [2016-09-15 21:16:07,746][INFO ][node                     ] [logstash] closing ...\r\nelasticsearch_1  | [2016-09-15 21:16:07,766][INFO ][node                     ] [logstash] closed\r\ndockerelk5_elasticsearch_1 exited with code 1\r\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-09-15T21:16:09Z\",\"tags\":[\"status\",\"plugin:elasticsearch@5.0.0-alpha5\",\"error\"],\"pid\":18,\"state\":\"red\",\"message\":\"Status changed from red to red - Service Unavailable\",\"prevState\":\"red\",\"prevMsg\":\"Unable to connect to Elasticsearch at http://elasticsearch:9200.\"}\r\n"}}
{"actor":{"display_login":"mkscala"}}