Logstash install plugin extremely slow?


(Xiaodong Zhou) #1

Did anyone experienced the similar issue. When using logstash-plugin to install and uninstall plugins, either online or offline, it becomes extremely slow, mean 10-30 minutes, but somehow it finished successfully.

for example, like this
bin/logstash-plugin install logstash-codec-gzip_lines
or even if I turn off verify
bin/logstash-plugin install --no-verify logstash-codec-gzip_lines

I am having the same problem on both a centos server and osx laptop.


Logstash-plugin-install hangs forever
(Yongtao You) #2

+1

I'm having the same issue. In my case, it's the logstash-filter-prune plugin.


(Gavin Wei) #3

In my case, it's logstash-input-beats.
Extremely slow and always failed.
By the way, I'm from china, I've changed the gem images:
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/

anyone has an idea about this?

I work on Ubuntu 14.04


(João Duarte) #4

can you check if any of you are being affected by low levels on entropy in the /dev/random pool?
more info in: https://github.com/jruby/jruby/issues/1896 and https://github.com/jruby/jruby/wiki/Improving-startup-time#ensure-your-system-has-adequate-entropy


(Wayann) #5

I had very low entropy and logstash-plugin wasn't crashing but wasn't installing.... installing haveged did it, thanks!


(system) #6