documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Indexing and available disk space

Open guimachiavelli opened this issue 3 years ago • 2 comments

As explained in this core issue, Meilisearch can throw a "no space left on device" error even if there is enough storage space left on a machine.

In the case described on that link, the problem is the partition storing temporary files (swap?) fills up quite quickly. Meilisearch then throws an error, even though actual storage space is more than enough for the dataset.

@Kerollmops suggests adding this info to the FAQ. Not necessarily opposed to that, but perhaps it's more efficient to expand the error description on https://docs.meilisearch.com/reference/api/error_codes.html#no-space-left-on-device?

guimachiavelli avatar Sep 27 '22 09:09 guimachiavelli

@Kerollmops, is this still an issue or have we fixed the incorrect no space left errors in the past couple of years?

Additionally, we can plug Meilisearch Cloud in the error explanation, as suggested by @gmourier.

guimachiavelli avatar Apr 15 '25 15:04 guimachiavelli

Hey @guimachiavelli, Meilisearch can still return this kind of error especially when indexing a large set of documents. The issue is often related to the TMPDIR variable that defines the path the temporary directory that Meilisearch uses.

Kerollmops avatar Apr 16 '25 10:04 Kerollmops