Skip to content

Instantly share code, notes, and snippets.

View dpisarewski's full-sized avatar

Dieter Pisarewski dpisarewski

  • Hamburg, Germany
View GitHub Profile
@Overbryd
Overbryd / stacktrace.txt
Created May 11, 2012 07:49
java.nio.channels.IllegalBlockingModeException with puma
Exception in thread "RubyThread-5: /Volumes/Home/.rbenv/versions/jruby-1.6.7/gemsets/gamex/gems/puma-1.3.0-java/lib/puma/thread_pool.rb:55" java.nio.channels.IllegalBlockingModeException
at java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(AbstractSelectableChannel.java:257)
at org.jruby.util.io.SelectBlob.tidyUp(SelectBlob.java:348)
at org.jruby.util.io.SelectBlob.goForIt(SelectBlob.java:87)
at org.jruby.RubyIO.select_static(RubyIO.java:3366)
at org.jruby.RubyIO.select(RubyIO.java:3362)
at org.jruby.RubyIO$s$0$3$select.call(RubyIO$s$0$3$select.gen:65535)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:69)
at org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
@plentz
plentz / nginx.conf
Last active July 22, 2024 11:19
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048