{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/4841","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/4841/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/4841/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/4841/events","html_url":"https://github.com/elastic/logstash/issues/4841","id":141830947,"number":4841,"title":"Java process keeps restarting on Elasticsearch input","user":{"login":"ThomasArdal","id":563206,"avatar_url":"https://avatars.githubusercontent.com/u/563206?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasArdal","html_url":"https://github.com/ThomasArdal","followers_url":"https://api.github.com/users/ThomasArdal/followers","following_url":"https://api.github.com/users/ThomasArdal/following{/other_user}","gists_url":"https://api.github.com/users/ThomasArdal/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasArdal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasArdal/subscriptions","organizations_url":"https://api.github.com/users/ThomasArdal/orgs","repos_url":"https://api.github.com/users/ThomasArdal/repos","events_url":"https://api.github.com/users/ThomasArdal/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasArdal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-18T10:39:08Z","updated_at":"2016-03-18T10:54:51Z","closed_at":null,"body":"I'm experiencing problems with Logstash 1.5.6 on Java JRE 1.8.0_40 when trying to set up a simple Elasticsearch input to stdout output. My configuration looks like this:\r\n\r\n```\r\ninput {\r\n    elasticsearch {\r\n        hosts => \"http://myelasticsearchhost:1025/\"\r\n        index => \"logstash-*\"\r\n        size => 100\r\n        scroll => \"5m\"\r\n        docinfo => true\r\n    }\r\n}\r\noutput {\r\n    stdout { codec => json }\r\n}\r\n```\r\n\r\nI've installed Logstash as a Windows service as [described here](https://github.com/verbosemode/public-notes/blob/master/logstash-windows.md#install-logstash-as-a-windows-service).\r\n\r\nWhen starting the service, the Java process uses *a lot* of CPU for about 10 seconds. This is normal (?) and also happens if I setup a simple stdin -> stdout. After 10 seconds, the Java process is shut down and a new one is started. The new process uses *a lot* of CPU, runs for 10 seconds and same thing happens.\r\n\r\nI'm not sure if this is normal behavior with the Elasticsearch input (guess not?). If I run the simple stdin -> stdout test as a service, the same Java process is kept running.\r\n\r\nI've tried running jstack on the Java process pid, which gives the following result:\r\n\r\n```\r\n2016-03-18 11:32:25\r\nFull thread dump Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode):\r\n\r\n\"jnr.ffi.util.ref.internal.Finalizer\" #15 daemon prio=10 os_prio=2 tid=0x0000000018ac0800 nid=0x2684 in Object.wait() [0x000000001a3ff000]\r\n   java.lang.Thread.State: WAITING (on object monitor)\r\n        at java.lang.Object.wait(Native Method)\r\n        - waiting on <0x00000000d54b1490> (a java.lang.ref.ReferenceQueue$Lock)\r\n        at java.lang.ref.ReferenceQueue.remove(Unknown Source)\r\n        - locked <0x00000000d54b1490> (a java.lang.ref.ReferenceQueue$Lock)\r\n        at java.lang.ref.ReferenceQueue.remove(Unknown Source)\r\n        at jnr.ffi.util.ref.internal.Finalizer.run(Finalizer.java:128)\r\n\r\n\"Ruby-0-JIT-1\" #12 daemon prio=1 os_prio=-2 tid=0x00000000185a1000 nid=0x23dc runnable [0x0000000019edf000]\r\n   java.lang.Thread.State: RUNNABLE\r\n        at java.lang.ClassLoader.defineClass1(Native Method)\r\n        at java.lang.ClassLoader.defineClass(Unknown Source)\r\n        at org.jruby.util.ClassCache$OneShotClassLoader.defineClass(ClassCache.java:74)\r\n        at org.jruby.util.ClassCache.defineClass(ClassCache.java:117)\r\n        at org.jruby.util.ClassCache.cacheClassByKey(ClassCache.java:98)\r\n        at org.jruby.compiler.JITCompiler$JITTask.run(JITCompiler.java:256)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n        at java.util.concurrent.FutureTask.run(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n        at java.lang.Thread.run(Unknown Source)\r\n\r\n\"Service Thread\" #10 daemon prio=9 os_prio=0 tid=0x000000001571e800 nid=0x2054 runnable [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"C1 CompilerThread2\" #9 daemon prio=9 os_prio=2 tid=0x000000001568f000 nid=0x1bb8 waiting on condition [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"C2 CompilerThread1\" #8 daemon prio=9 os_prio=2 tid=0x0000000015683000 nid=0x19c0 runnable [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"C2 CompilerThread0\" #7 daemon prio=9 os_prio=2 tid=0x0000000015681800 nid=0x1de8 runnable [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"Attach Listener\" #6 daemon prio=5 os_prio=2 tid=0x000000001567d000 nid=0x1d64 waiting on condition [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"Signal Dispatcher\" #5 daemon prio=9 os_prio=2 tid=0x000000001494e000 nid=0x684runnable [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"Surrogate Locker Thread (Concurrent GC)\" #4 daemon prio=9 os_prio=0 tid=0x000000001494c800 nid=0x18c8 waiting on condition [0x0000000000000000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\r\n\"Finalizer\" #3 daemon prio=8 os_prio=1 tid=0x000000001493d800 nid=0x4d8 in Object.wait() [0x000000001564e000]\r\n   java.lang.Thread.State: WAITING (on object monitor)\r\n        at java.lang.Object.wait(Native Method)\r\n        - waiting on <0x00000000d53f5178> (a java.lang.ref.ReferenceQueue$Lock)\r\n        at java.lang.ref.ReferenceQueue.remove(Unknown Source)\r\n        - locked <0x00000000d53f5178> (a java.lang.ref.ReferenceQueue$Lock)\r\n        at java.lang.ref.ReferenceQueue.remove(Unknown Source)\r\n        at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)\r\n\r\n\"Reference Handler\" #2 daemon prio=10 os_prio=2 tid=0x0000000014936800 nid=0x478 in Object.wait() [0x000000001544f000]\r\n   java.lang.Thread.State: WAITING (on object monitor)\r\n        at java.lang.Object.wait(Native Method)\r\n        - waiting on <0x00000000d4d39700> (a java.lang.ref.Reference$Lock)\r\n        at java.lang.Object.wait(Unknown Source)\r\n        at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)\r\n        - locked <0x00000000d4d39700> (a java.lang.ref.Reference$Lock)\r\n\r\n\"main\" #1 prio=5 os_prio=0 tid=0x0000000001182800 nid=0x2430 runnable [0x00000000014aa000]\r\n   java.lang.Thread.State: RUNNABLE\r\n        at java.lang.Class.getDeclaredConstructors0(Native Method)\r\n        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)\r\n        at java.lang.Class.getConstructor0(Unknown Source)\r\n        at java.lang.Class.getConstructor(Unknown Source)\r\n        at org.jruby.internal.runtime.methods.InvocationMethodFactory.getAnnotatedMethod(InvocationMethodFactory.java:896)\r\n        at org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:839)\r\n        at org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:802)\r\n        at org.jruby.anno.TypePopulator$DefaultTypePopulator.populate(TypePopulator.java:96)\r\n        at org.jruby.RubyModule.defineAnnotatedMethodsIndividually(RubyModule.java:796)\r\n        at org.jruby.RubyModule.defineAnnotatedMethods(RubyModule.java:667)\r\n        at org.jruby.ext.openssl.ASN1.createASN1(ASN1.java:701)\r\n        at org.jruby.ext.openssl.OpenSSL.createOpenSSL(OpenSSL.java:80)\r\n        at org.jruby.ext.openssl.OpenSSL.load(OpenSSL.java:51)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n        at java.lang.reflect.Method.invoke(Unknown Source)\r\n        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:451)\r\n        at org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:363)\r\n        at org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:50)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)\r\n        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n        at org.jruby.ast.RootNode.interpret(RootNode.java:129)\r\n        at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)\r\n        at org.jruby.Ruby.runInterpreter(Ruby.java:884)\r\n        at org.jruby.Ruby.loadFile(Ruby.java:2833)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.loadScript(LibrarySearcher.java:264)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:252)\r\n        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:51)\r\n        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:892)\r\n        at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:465)\r\n        at org.jruby.runtime.load.LoadService.require(LoadService.java:414)\r\n        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1047)\r\n        at org.jruby.RubyKernel.require19(RubyKernel.java:1040)\r\n        at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)\r\n        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)\r\n        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n        at org.jruby.ast.RootNode.interpret(RootNode.java:129)\r\n        at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)\r\n        at org.jruby.Ruby.runInterpreter(Ruby.java:884)\r\n        at org.jruby.Ruby.loadFile(Ruby.java:2833)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.loadScript(LibrarySearcher.java:264)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:252)\r\n        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:51)\r\n        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:892)\r\n        at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:465)\r\n        at org.jruby.runtime.load.LoadService.require(LoadService.java:414)\r\n        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1047)\r\n        at org.jruby.RubyKernel.require19(RubyKernel.java:1040)\r\n        at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)\r\n        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)\r\n        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n        at org.jruby.ast.RootNode.interpret(RootNode.java:129)\r\n        at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)\r\n        at org.jruby.Ruby.runInterpreter(Ruby.java:884)\r\n        at org.jruby.Ruby.loadFile(Ruby.java:2833)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.loadScript(LibrarySearcher.java:264)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:252)\r\n        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:51)\r\n        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:892)\r\n        at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:465)\r\n        at org.jruby.runtime.load.LoadService.require(LoadService.java:414)\r\n        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1047)\r\n        at org.jruby.RubyKernel.require19(RubyKernel.java:1040)\r\n        at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)\r\n        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)\r\n        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n        at org.jruby.ast.RootNode.interpret(RootNode.java:129)\r\n        at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)\r\n        at org.jruby.Ruby.runInterpreter(Ruby.java:884)\r\n        at org.jruby.Ruby.loadFile(Ruby.java:2833)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.loadScript(LibrarySearcher.java:264)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:252)\r\n        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:51)\r\n        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:892)\r\n        at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:465)\r\n        at org.jruby.runtime.load.LoadService.require(LoadService.java:414)\r\n        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1047)\r\n        at org.jruby.RubyKernel.require19(RubyKernel.java:1040)\r\n        at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)\r\n        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)\r\n        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n        at org.jruby.ast.RootNode.interpret(RootNode.java:129)\r\n        at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)\r\n        at org.jruby.Ruby.runInterpreter(Ruby.java:884)\r\n        at org.jruby.Ruby.loadFile(Ruby.java:2833)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.loadScript(LibrarySearcher.java:264)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:252)\r\n        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:51)\r\n        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:892)\r\n        at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:465)\r\n        at org.jruby.runtime.load.LoadService.require(LoadService.java:414)\r\n        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1047)\r\n        at org.jruby.RubyKernel.require19(RubyKernel.java:1040)\r\n        at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)\r\n        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)\r\n        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n        at org.jruby.ast.RootNode.interpret(RootNode.java:129)\r\n        at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:121)\r\n        at org.jruby.Ruby.runInterpreter(Ruby.java:884)\r\n        at org.jruby.Ruby.loadFile(Ruby.java:2833)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.loadScript(LibrarySearcher.java:264)\r\n        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:252)\r\n        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:51)\r\n        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:892)\r\n        at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:465)\r\n        at org.jruby.runtime.load.LoadService.require(LoadService.java:414)\r\n        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1047)\r\n        at org.jruby.RubyKernel.require19(RubyKernel.java:1040)\r\n        at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)\r\n        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)\r\n        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n        at d_3a_.Program_20_Files_20_28_x86_29_.Logstash.logstash_minus_1_dot_5_dot_6.lib.bootstrap.environment.__file__(d:\\Program Files (x86)\\Logstash\\logstash-1.5.6\\lib\\bootstrap\\environment.rb:48)\r\n        at d_3a_.Program_20_Files_20_28_x86_29_.Logstash.logstash_minus_1_dot_5_dot_6.lib.bootstrap.environment.load(d:\\Program Files (x86)\\Logstash\\logstash-1.5.6\\lib\\bootstrap\\environment.rb)\r\n        at org.jruby.Ruby.runScript(Ruby.java:857)\r\n        at org.jruby.Ruby.runScript(Ruby.java:850)\r\n        at org.jruby.Ruby.runNormally(Ruby.java:729)\r\n        at org.jruby.Ruby.runFromMain(Ruby.java:578)\r\n        at org.jruby.Main.doRunFromMain(Main.java:393)\r\n        at org.jruby.Main.internalRun(Main.java:288)\r\n        at org.jruby.Main.run(Main.java:217)\r\n        at org.jruby.Main.main(Main.java:197)\r\n\r\n\"VM Thread\" os_prio=2 tid=0x000000001492e800 nid=0x2a4c runnable\r\n\r\n\"Gang worker#0 (Parallel GC Threads)\" os_prio=2 tid=0x0000000001192800 nid=0x20a4 runnable\r\n\r\n\"Gang worker#1 (Parallel GC Threads)\" os_prio=2 tid=0x0000000001194000 nid=0x10d8 runnable\r\n\r\n\"Gang worker#2 (Parallel GC Threads)\" os_prio=2 tid=0x0000000001196000 nid=0xac8 runnable\r\n\r\n\"Gang worker#3 (Parallel GC Threads)\" os_prio=2 tid=0x0000000001197800 nid=0x10e8 runnable\r\n\r\n\"Concurrent Mark-Sweep GC Thread\" os_prio=2 tid=0x00000000011db000 nid=0x2978 runnable\r\n\r\n\"VM Periodic Task Thread\" os_prio=2 tid=0x0000000015721000 nid=0x22dc waiting on condition\r\n\r\nJNI global references: 46\r\n```\r\n\r\nI also tried setting LS_HEAP_SIZE to 4g, thinking it could be a memory issue, but the Java process never uses more than 200 mb."},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/198304862","html_url":"https://github.com/elastic/logstash/issues/4841#issuecomment-198304862","issue_url":"https://api.github.com/repos/elastic/logstash/issues/4841","id":198304862,"user":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T10:54:51Z","updated_at":"2016-03-18T10:54:51Z","body":"Hmm. @ThomasArdal Can you run logstash.bat manually from powershell or a command prompt? I wonder if it's starting up and then failing due to a configuration problem."}}