# Logstash install plugin extremely slow?

**URL:** <https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642>\
**Category:** Logstash\
**Created:** [May 22, 2016, 12:06pm UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642 "2016-05-22T12:06:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xdzhou](https://avatars.discourse-cdn.com/v4/letter/x/9de053/32.png) [@xdzhou](https://discuss.elastic.co/u/xdzhou)\
**Post date:** [May 22, 2016, 12:06pm UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642/1 "2016-05-22T12:06:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![yongtao](https://avatars.discourse-cdn.com/v4/letter/y/e99b99/32.png) [@yongtao](https://discuss.elastic.co/u/yongtao)\
**Post date:** [December 2, 2016, 6:53pm UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642/2 "2016-12-02T18:53:08Z")

</div>

+1

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

---

<div class="post-metadata">

**Author:** ![Cancellala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cancellala/32/14010_2.png) [@Cancellala](https://discuss.elastic.co/u/Cancellala)\
**Post date:** [December 20, 2016, 10:40am UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642/3 "2016-12-20T10:40:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jsvd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsvd/32/6203_2.png) [@jsvd](https://discuss.elastic.co/u/jsvd)\
**Post date:** [December 20, 2016, 11:21am UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642/4 "2016-12-20T11:21:13Z")

</div>

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](https://github.com/jruby/jruby/issues/1896) and [https://github.com/jruby/jruby/wiki/Improving-startup-time#ensure-your-system-has-adequate-entropy](https://github.com/jruby/jruby/wiki/Improving-startup-time#ensure-your-system-has-adequate-entropy)

---

<div class="post-metadata">

**Author:** ![wayann](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@wayann](https://discuss.elastic.co/u/wayann)\
**Post date:** [April 12, 2017, 6:07pm UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642/5 "2017-04-12T18:07:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:27am UTC](https://discuss.elastic.co/t/logstash-install-plugin-extremely-slow/50642/6 "2017-07-06T04:27:07Z")

</div>


