# Logstash takes a minute to show the help

**URL:** <https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738>\
**Category:** Logstash\
**Created:** [March 4, 2019, 2:21pm UTC](https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738 "2019-03-04T14:21:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arcady](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@arcady](https://discuss.elastic.co/u/arcady)\
**Post date:** [March 4, 2019, 2:21pm UTC](https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738/1 "2019-03-04T14:21:19Z")

</div>

Hello,

I work with windows 10. When I try to run logstash it takes around 1 minute to launch. And I'm only trying to display the help message (-h). Do any of you knows what I'm doing wrong?

I tried with WSL (just un case) and I have the same behaviour.

I suspect a problem with entropy since adding:  
-Djruby.compile.invokedynamic=false  
-Djruby.compile.mode=OFF  
-XX:+TieredCompilation  
-XX:TieredStopAtLevel=1  
-client

reduces the startup time to about 30 seconds. Which is better but still very long for doing nothing.

---

<div class="post-metadata">

**Author:** ![kharvey](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kharvey](https://discuss.elastic.co/u/kharvey)\
**Post date:** [March 5, 2019, 12:05am UTC](https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738/2 "2019-03-05T00:05:00Z")

</div>

I don't think that you are doing anything wrong.  
Logstash on everything I have it installed on takes about the same amount of time. This includes Windows and several variants of Linux.

I'm not sure why it does this though.

---

<div class="post-metadata">

**Author:** ![arcady](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@arcady](https://discuss.elastic.co/u/arcady)\
**Post date:** [March 5, 2019, 10:59am UTC](https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738/3 "2019-03-05T10:59:33Z")

</div>

I'm using logstash in a scripted way (logstash -f conf.conf) to load the content of a csv file into elastic. I often make a little update to the script and/or the conf file and want to test it just after that. Having to wait 30s to 60s everytime is a real problem.

How to you work around that? Is there a way to run logstash a some kind of server that is always running and to send it the csv file through a pipe or something?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 5, 2019, 12:40pm UTC](https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738/4 "2019-03-05T12:40:42Z")

</div>

Yes, use two windows. In one run logstash with --config.reload.automatic, and in the other edit your configuration. Every time you update the configuration file logstash will restart the pipeline and re-read file inputs.

---

<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:** [April 2, 2019, 12:40pm UTC](https://discuss.elastic.co/t/logstash-takes-a-minute-to-show-the-help/170738/5 "2019-04-02T12:40:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
