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

Using drip with logstash and systemd #103

Open
ruskotron opened this issue May 11, 2018 · 0 comments
Open

Using drip with logstash and systemd #103

ruskotron opened this issue May 11, 2018 · 0 comments

Comments

@ruskotron
Copy link

Hi, not so much a bug, as an enquiry.

I've been trying to optimise my startup times, and I was trying out drip, and I was noticing a slight increase in startup time which I thought was weird.

Logstash makes using drip easy since all you need specify is the USE_DRIP environment variable.

Upon closer investigation I noticed that a restart was killing all the processes, not just the active one basically meaning that drip has to reinitialise once more, and spin up the extra jvm, which explains the extra delay.

I think this is to do with systemd killing all processes associated with the logstash services as well as the logstash runtime. Curiously this also happens when I kill the active process itself, so presumably systemd is monitoring that somehow.

I suppose this is strictly speaking a "logstash" issue, since it's they who supply the USE_DRIP feature, but I can imagine them saying "it's not for that" (running under systemd), which is fair enough I suppose.

Just wondering if you have any thoughts or suggestions as to how I might address this issue?

I might see if I can figure it out myself.

Thanks!
Rob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant