Skip to content

Potential runtime leak from X509Error$ErrorException #1532

@nirvdrum

Description

@nirvdrum

I've been trying to track down a memory leak with our app in TorqueBox. A few HTTP threads seemed to be retaining an entire JRuby runtime by way of org.jruby.ext.openssl.x509store.X509Error$ErrorException. While I'm not entirely certain that's the root cause, when checking out the class I came across a commit message indicating it doesn't play well with multiple runtimes:

https://github.com/jruby/jruby/blob/jruby-1_7/ext/openssl/src/main/java/org/jruby/ext/openssl/x509store/X509Error.java#L34-L35

I'm filing the issue so as to not lose that data. @bbrowning, have you ever come across this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions