Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak #24

Closed
colinsurprenant opened this issue Oct 15, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@colinsurprenant
Copy link
Contributor

commented Oct 15, 2015

there is a memory leak in the http output. I am currently investigating, it seems related to the Java Thread Executor, the Future handling and the requests callback. Investigating.

Here a simple config to reproduce, given an httpd server running on localhost port 9292

input {
    generator {}
}

output {
    stdout {
        codec => dots {}
    }
    http {
        http_method => "get"
        format => "json"
        content_type => "application/json"
        url => "http://localhost:9292/"
    }
}

Here's the VisualVM output showing the leak:

screen shot 2015-10-15 at 2 23 19 pm

@colinsurprenant colinsurprenant added the bug label Oct 15, 2015

@colinsurprenant colinsurprenant self-assigned this Oct 15, 2015

@colinsurprenant

This comment has been minimized.

Copy link
Contributor Author

commented Oct 17, 2015

Fix has been merged and plugin version 2.0.5 has been published for logstash v2.x.
A fix backport for logstash 1.5.x will be push shortly. We will not close this issue until the backport is pushed.

@colinsurprenant

This comment has been minimized.

Copy link
Contributor Author

commented Oct 21, 2015

fixed in 2.x and 1.5.x in #25 and #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.