Skip to content

How to free disk space for enterprise search ?  #52

@Messaoudi-Nagib

Description

@Messaoudi-Nagib

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions