{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/4275","labels_url":"https://api.github.com/repos/elastic/logstash/issues/4275/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/4275/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/4275/events","html_url":"https://github.com/elastic/logstash/issues/4275","id":118902868,"number":4275,"title":"Error: Your application used more memory than the safety cap of 500M.","user":{"login":"FlorinAndrei","id":901867,"avatar_url":"https://avatars.githubusercontent.com/u/901867?v=3","gravatar_id":"","url":"https://api.github.com/users/FlorinAndrei","html_url":"https://github.com/FlorinAndrei","followers_url":"https://api.github.com/users/FlorinAndrei/followers","following_url":"https://api.github.com/users/FlorinAndrei/following{/other_user}","gists_url":"https://api.github.com/users/FlorinAndrei/gists{/gist_id}","starred_url":"https://api.github.com/users/FlorinAndrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlorinAndrei/subscriptions","organizations_url":"https://api.github.com/users/FlorinAndrei/orgs","repos_url":"https://api.github.com/users/FlorinAndrei/repos","events_url":"https://api.github.com/users/FlorinAndrei/events{/privacy}","received_events_url":"https://api.github.com/users/FlorinAndrei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/needs%20details","name":"needs details","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-25T19:05:51Z","updated_at":"2015-12-22T13:40:58Z","closed_at":null,"body":"Ubuntu-14.04\r\n\r\nlogstash-2.0.0\r\nPlugins fully updated yesterday using ./bin/plugin\r\nUsing these plugins in my config files: beats, grok, date, elasticsearch\r\n\r\nelasticsearch-2.0.0 running on localhost\r\n\r\nSending logs to logstash from a dozen instances, with filebeat-1.0.0-rc2\r\n\r\n```\r\n{:timestamp=>\"2015-11-25T17:38:46.421000+0000\", :message=>\"CircuitBreaker::rescuing exceptions\", :name=>\"Beats input\", :exception=>LogStash::SizedQueueTimeout::TimeoutError, :level=>:warn}\r\n{:timestamp=>\"2015-11-25T17:38:46.424000+0000\", :message=>\"Beats input: The circuit breaker has detected a slowdown or stall in the pipeline, the input is closing the current connection and rejecting new connection until the pipeline recover.\", :exception=>LogStash::CircuitBreaker::HalfOpenBreaker, :level=>:warn}\r\n```\r\n\r\n```\r\nError: Your application used more memory than the safety cap of 500M.\r\nSpecify -J-Xmx####m to increase it (#### = cap size in MB).\r\nSpecify -w for full OutOfMemoryError stack trace\r\n```\r\n\r\nMemory usage on that instance (the drop before 10am is probably the logstash crash):\r\n\r\n![memory usage](http://i.imgur.com/SffLWmC.png)"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/166621126","html_url":"https://github.com/elastic/logstash/issues/4275#issuecomment-166621126","issue_url":"https://api.github.com/repos/elastic/logstash/issues/4275","id":166621126,"user":{"login":"suyograo","id":1595958,"avatar_url":"https://avatars.githubusercontent.com/u/1595958?v=3","gravatar_id":"","url":"https://api.github.com/users/suyograo","html_url":"https://github.com/suyograo","followers_url":"https://api.github.com/users/suyograo/followers","following_url":"https://api.github.com/users/suyograo/following{/other_user}","gists_url":"https://api.github.com/users/suyograo/gists{/gist_id}","starred_url":"https://api.github.com/users/suyograo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suyograo/subscriptions","organizations_url":"https://api.github.com/users/suyograo/orgs","repos_url":"https://api.github.com/users/suyograo/repos","events_url":"https://api.github.com/users/suyograo/events{/privacy}","received_events_url":"https://api.github.com/users/suyograo/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T13:40:58Z","updated_at":"2015-12-22T13:40:58Z","body":"@FlorinAndrei thanks for the config. I believe you are hitting https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/306\r\n\r\nLS 2.1.1 will fix this issue. You could also upgrade only the ES output to 2.2.0 by \r\n\r\n`bin/plugin install --version 2.2.0 logstash-output-elasticsearch`"}}