- Elasticsearch 7.0 Cookbook(Fourth Edition)
- Alberto Paro
- 119字
- 2021-06-24 14:51:51
Setting up Linux systems
If you are using a Linux system (generally in a production environment), you need to manage extra setup to improve performance or to resolve production problems with many indices.
This recipe covers the following two common errors that happen in production:
- Too many open files that can corrupt your indices and your data
- Slow performance in search and indexing due to the garbage collector
Big problems arise when you run out of disk space. In this scenario, some files can get corrupted. To prevent your indices from corruption and possible data, it is best to monitor the storage spaces. Default settings prevent index writing and block the cluster if your storage is over 80% full.