Skip to content

Instantly share code, notes, and snippets.

@denstark
Created March 9, 2012 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denstark/eab424c23617aa31807a to your computer and use it in GitHub Desktop.
Save denstark/eab424c23617aa31807a to your computer and use it in GitHub Desktop.
IOError: Too many open files
select at org/jruby/RubyIO.java:3293
request at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:637
each_resource at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:506
resolv at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:1000
each at org/jruby/RubyArray.java:1612
resolv at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:998
each at org/jruby/RubyArray.java:1612
resolv at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:997
each at org/jruby/RubyArray.java:1612
resolv at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:995
each_resource at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:498
each_resource at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:497
each_name at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:448
each_name at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:146
each at org/jruby/RubyArray.java:1612
each_name at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:145
getname at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:127
getname at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:64
reverse at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filters/dns.rb:135
each at org/jruby/RubyArray.java:1612
reverse at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filters/dns.rb:117
filter at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filters/dns.rb:57
filter at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filterworker.rb:57
each at org/jruby/RubyArray.java:1612
filter at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filterworker.rb:49
each at org/jruby/RubyArray.java:1612
filter at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filterworker.rb:48
run at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/filterworker.rb:31
run_filter at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:654
run_with_config at file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:393
Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) Too many open files
at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509)
at LogStash::Agent.wait(file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:312)
at logstash.runner.main(logstash/runner.rb:40)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
at logstash.runner.main(logstash/runner.rb:40)
at logstash.runner.(root)(logstash/runner.rb:108)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment