{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack/issues/68","repository_url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack/issues/68/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack/issues/68/events","html_url":"https://github.com/logstash-plugins/logstash-input-lumberjack/issues/68","id":119460973,"number":68,"title":"concurrency error no messages available","user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-30T10:13:59Z","updated_at":"2016-04-26T16:52:15Z","closed_at":"2016-04-26T16:52:15Z","body":"Possible dupe of #47\r\n\r\nLogstash crashes on startup, used to be fine with 1.4.2, fails like this with 2.0.0 (using EL6 based host, rpm installation)\r\n\r\njava version used\r\n```\r\n/usr/lib/jvm/jre-1.8.0/bin/java -version\r\nopenjdk version \"1.8.0_65\"\r\nOpenJDK Runtime Environment (build 1.8.0_65-b17)\r\nOpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)\r\n```\r\n\r\nLogstash output\r\n```\r\n{:timestamp=>\"2015-11-30T10:44:01.834000+0100\", :message=>\"Lumberjack input: unhandled exception\", :exception=>#<ConcurrencyError: No message available>, :backtrace=>[\"org/jruby/ext/thread/ConditionVariable.java:98:in `wait'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/sized_queue_timeout.rb:30:in `push'\", \"org/jruby/ext/thread/Mutex.java:149:in `synchronize'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/sized_queue_timeout.rb:27:in `push'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/inputs/lumberjack.rb:86:in `run'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/circuit_breaker.rb:42:in `execute'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/inputs/lumberjack.rb:86:in `run'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-plain-2.0.2/lib/logstash/codecs/plain.rb:35:in `decode'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/inputs/lumberjack.rb:82:in `run'\", \"org/jruby/RubyProc.java:271:in `call'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/inputs/lumberjack.rb:111:in `invoke'\", \"org/jruby/RubyProc.java:271:in `call'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:372:in `data'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:340:in `read_socket'\", \"org/jruby/RubyProc.java:271:in `call'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:363:in `ack_if_needed'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:340:in `read_socket'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:280:in `data_field_value'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:163:in `feed'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:296:in `compressed_payload'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:163:in `feed'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:332:in `read_socket'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/server.rb:315:in `run'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-lumberjack-2.0.4/lib/logstash/inputs/lumberjack.rb:110:in `invoke'\", \"org/jruby/RubyProc.java:271:in `call'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/concurrent-ruby-0.9.1-java/lib/concurrent/executor/executor_service.rb:515:in `run'\", \"Concurrent$$JavaExecutorService$$Job_1598968638.gen:13:in `run'\"], :level=>:error}\r\n```\r\n\r\nLogstash config (edited a bit)\r\n```\r\ninput {\r\n    gelf {\r\n        type => \"remotegelf\"\r\n        port => 12201\r\n        remap => true\r\n    }\r\n    \r\n    lumberjack {\r\n        type => \"lumberjack\"\r\n        ssl_certificate => \"/etc/path/to/crt\"\r\n        ssl_key => \"/etc/path/to/key\"\r\n        port => 5043\r\n    }\r\n    \r\n    file {\r\n        tags => [ \"httpd\", \"apache\", \"web\", \"http\" ]\r\n        type => \"httpd\"\r\n        path => [ \"/var/log/httpd/access_log\" ]\r\n        stat_interval => 1\r\n    }\r\n}\r\n\r\n\r\nfilter {\r\n    if [type] == 'remotegelf' {\r\n        mutate {\r\n            split => {\r\n                \"tags\" => \", \"\r\n            }\r\n        }\r\n    }\r\n    \r\n    else if [type] == 'gpfs' {\r\n        grok {\r\n            \r\n            add_field => {\r\n                \"program\" => \"gpfs\"\r\n            }\r\n            \r\n            break_on_match => true\r\n            named_captures_only => true\r\n            patterns_dir => [ \"/usr/share/grok\" ]\r\n            match => {\r\n                \"message\" => \"%{GPFSLOG}\"\r\n            }\r\n        }\r\n        \r\n        date {\r\n            match => [ \"timestamp\", \"E MMM dd HH:mm:ss.SSS yyyy\", \"E MMM  d HH:mm:ss.SSS yyyy\" ]\r\n        }\r\n    }\r\n    \r\n    else if [type] == 'httpd' {\r\n        grok {\r\n            add_field => {\r\n                \"program\" => \"httpd\"\r\n            }\r\n            \r\n            break_on_match => true\r\n            named_captures_only => true\r\n            patterns_dir => [ \"/usr/share/grok\" ]\r\n            match => {\r\n                \"message\" => \"%{COMBINEDAPACHELOG}\"\r\n            }\r\n        }\r\n        \r\n        date {\r\n            match => [ \"timestamp\", \"dd/MMM/yyyy:HH:mm:ss Z\" ]\r\n        }\r\n    }\r\n}\r\n\r\n\r\noutput {\r\n    if [type] == 'httpd' {\r\n        gelf {\r\n            host => \"remotehost.remotedomain\"\r\n            \r\n            ship_metadata => true\r\n            ship_tags => true\r\n            level => [ \"info\" ]\r\n            custom_fields => {\r\n                \"type\" => \"remotegelf\"\r\n            }\r\n            sender => \"thishostname\"\r\n            port => 12201\r\n        }\r\n    }\r\n    \r\n    else if [type] == 'remotegelf' {\r\n        gelf {\r\n            host => \"remotehost.remotedomain\"\r\n            \r\n            ship_metadata => true\r\n            ship_tags => true\r\n            level => [ \"%{level}\" ]\r\n            custom_fields => {\r\n                \"type\" => \"remotegelf\"\r\n            }\r\n            facility => \"%{facility}\"\r\n            port => 12201\r\n        }\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack/issues/comments/214808977","html_url":"https://github.com/logstash-plugins/logstash-input-lumberjack/issues/68#issuecomment-214808977","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-input-lumberjack/issues/68","id":214808977,"user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T16:52:15Z","updated_at":"2016-04-26T16:52:15Z","body":"dupe of #47"}}