app-search-php icon indicating copy to clipboard operation
app-search-php copied to clipboard

How to free disk space for enterprise search ?

Open Messaoudi-Nagib opened this issue 3 years ago • 0 comments

Hi, I'm currently facing an issue and I don't really know how to fix it. Recently, my script for updating my engines is returning errors while I'm trying to delete/update documents on my engines. I saw into logs the current errors messages that keeps repeating itself everytime a new action is ran :

Exception: Exception while performing Work::Cron::RefreshFritoPieContentSources.perform()!: Swiftype::ES::ReadOnlyModeWriteError: index [.ent-search-db-lock] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];

It looks like App search is putting my indexes in readonly due to a small amount of disk space.

I've seen online that there are some command lines : curl -X PUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}

but these are for ElasticSearch, so I don't know if I can use it here as App-search uses ElasticSearch too...

Thank you

Messaoudi-Nagib avatar Feb 17 '22 09:02 Messaoudi-Nagib