# Bad file descriptor when I do the snapshot

**URL:** <https://discuss.elastic.co/t/bad-file-descriptor-when-i-do-the-snapshot/150278>\
**Category:** Elasticsearch\
**Created:** [September 28, 2018, 2:13am UTC](https://discuss.elastic.co/t/bad-file-descriptor-when-i-do-the-snapshot/150278 "2018-09-28T02:13:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xF0rk](https://avatars.discourse-cdn.com/v4/letter/x/e274bd/32.png) [@xF0rk](https://discuss.elastic.co/u/xF0rk)\
**Post date:** [September 28, 2018, 2:13am UTC](https://discuss.elastic.co/t/bad-file-descriptor-when-i-do-the-snapshot/150278/1 "2018-09-28T02:13:11Z")

</div>

Elasticsearch version is 6.3.0，when I do the snapshot，there was always an error.

```
"reason": "IndexShardSnapshotFailedException[Failed to perform snapshot (index files)]; nested: IOException[错误的文件描述符]; "

```

If I keep deleteing the snapshot file and repeating it several times, it may be successful finally. What can result in it ?

---

<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:** [October 26, 2018, 6:27am UTC](https://discuss.elastic.co/t/bad-file-descriptor-when-i-do-the-snapshot/150278/3 "2018-10-26T06:27:58Z")

</div>

Closed on October 26, 2018, 6:27am UTC

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