# Logstash won't execute unless i delete hsperfdata\_root in tmp folder

**URL:** <https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096>\
**Category:** Logstash\
**Created:** [May 5, 2020, 7:54am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096 "2020-05-05T07:54:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![haythem](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@haythem](https://discuss.elastic.co/u/haythem)\
**Post date:** [May 5, 2020, 7:54am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/1 "2020-05-05T07:54:01Z")

</div>

Hello guys , lately i've had a problem with logstash not executing correctly , so the first time it happend i've found that the cause of the problem was that i did not have enough space in my disk so i freed um some space but the problem persists , so i tried deleting all files in tmp directory and it worked once , and i was bach to the same eroor again , so i went to tmp directory and deleted hsperfdata\_root which was the only folder and it worked again , everytime i delete that folder it works !!! any idea how to deal with this problem ☹ , i'm really stuck here , any guidance would be appreciated .

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/0/9/090356fad937c44794538cdf7cf76715f420879f.png)

logstash version 7.4.0

Thanks in advance

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 5, 2020, 8:27am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/2 "2020-05-05T08:27:40Z")

</div>

Hi,  
Could you check the permission of the hsperfdata\_root folder and the all items in this folder the next time and share it with us?  
Not sure, but maybe ist a permission problem on this folder.  
Are you using a linux? If yes, you could also check the syslog, maybe you can find some hints.

Regards,  
Simon

---

<div class="post-metadata">

**Author:** ![haythem](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@haythem](https://discuss.elastic.co/u/haythem)\
**Post date:** [May 5, 2020, 10:06am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/3 "2020-05-05T10:06:37Z")

</div>

@KoettingSimon thanks for your answer, so the tmp directory has all the permissions so i don't think that's what causing the problem , and i got another problem now ☹

 ![Capture2](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3eb71f846d131765d3d026afce03bc878c46679d.png)

any idea ?

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 5, 2020, 11:15am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/4 "2020-05-05T11:15:18Z")

</div>

How many space do you have free in /tmp ? Could you share the output of df -h ? There are some other threads with this problem and it was the space problem.  
Otherwise i would try with reinstalling logstash completly as its partly recommend in the first error,  
save the config files and try to purge logstash and reinstall it, if possible.

---

<div class="post-metadata">

**Author:** ![haythem](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@haythem](https://discuss.elastic.co/u/haythem)\
**Post date:** [May 5, 2020, 11:43am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/5 "2020-05-05T11:43:07Z")

</div>

yes you're right it's a space problem !! it works now 😃  
Thank you so much

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 5, 2020, 11:46am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/6 "2020-05-05T11:46:43Z")

</div>

Hi @haythem, great!  
Please consider to mark the comment as solution in this post, so other user can faster find the solution for the problem.

Regards,  
Simon

---

<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:** [June 2, 2020, 11:46am UTC](https://discuss.elastic.co/t/logstash-wont-execute-unless-i-delete-hsperfdata-root-in-tmp-folder/231096/7 "2020-06-02T11:46:50Z")

</div>

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