# Logstash-plugin install produces \*thousands\* of ENOENTs

**URL:** <https://discuss.elastic.co/t/logstash-plugin-install-produces-thousands-of-enoents/82277>\
**Category:** Logstash\
**Created:** [April 13, 2017, 11:02am UTC](https://discuss.elastic.co/t/logstash-plugin-install-produces-thousands-of-enoents/82277 "2017-04-13T11:02:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bh9](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@bh9](https://discuss.elastic.co/u/bh9)\
**Post date:** [April 13, 2017, 11:02am UTC](https://discuss.elastic.co/t/logstash-plugin-install-produces-thousands-of-enoents/82277/1 "2017-04-13T11:02:39Z")

</div>

Version 5.2.2, OS Centos 7, default config file  
logstash-plugin install is really slow, so I ran `strace -o install-test -ff /usr/share/logstash/bin/logstash-plugin install logstash-filter-elasticsearch logstash-filter-translate` to try and find out why, in doing so, I found a thread which produces thousands of `ENOENT (No such file or directory)` errors (8836 to be precise). Most of these are searching `/usr/share/logstash/vendor` for `.jar` and `.class` files. The majority of these are only done once but some are done twice and an even smaller subset are done more than that:  
output of `sort ENOENT.txt | uniq -cd | awk '$1>2'`

```auto
     11 lstat("/root/file:", 0x7f3807e7df50) = -1 ENOENT (No such file or directory)
    108 lstat("/root/file:", 0x7f3807e7e910) = -1 ENOENT (No such file or directory)
     44 lstat("/root/file:", 0x7f3807e7f1f0) = -1 ENOENT (No such file or directory)
     12 lstat("/root/file:", 0x7f3807e7f510) = -1 ENOENT (No such file or directory)
     11 lstat("/root/file:", 0x7f3807e7f850) = -1 ENOENT (No such file or directory)
    146 lstat("/root/file:", 0x7f3807e7f8d0) = -1 ENOENT (No such file or directory)
     24 lstat("/root/file:", 0x7f3807e7f960) = -1 ENOENT (No such file or directory)
     10 lstat("/root/file:", 0x7f3807e7fad0) = -1 ENOENT (No such file or directory)
     10 lstat("/root/file:", 0x7f3807e7fff0) = -1 ENOENT (No such file or directory)
     20 lstat("/root/file:", 0x7f3807e80300) = -1 ENOENT (No such file or directory)

```

This isn't the cause of the slowness I was experiencing but is worth reporting anyway

---

<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:** [May 11, 2017, 11:03am UTC](https://discuss.elastic.co/t/logstash-plugin-install-produces-thousands-of-enoents/82277/2 "2017-05-11T11:03:39Z")

</div>

Closed on May 11, 2017, 11:03am UTC

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