Hi., to All.
Good Evening.
Generally elasticsearch occupies a lot of pagecache, does it safe to use the command
'echo 3 > /proc/sys/vm/drop_caches'
to clear pagecache? even when data is indexing?
Thanks to you all.
regards
Hi., to All.
Good Evening.
Generally elasticsearch occupies a lot of pagecache, does it safe to use the command
'echo 3 > /proc/sys/vm/drop_caches'
to clear pagecache? even when data is indexing?
Thanks to you all.
regards
This is intended. Elasticsearch performance relies a lot on OS level filesystem cache for indexing but mostly for querying. If that cache is not available then performance will certainly degrade.
ok
then
when the memory usage is high ,for example higher than 99%,
is it necessary (or safe?) to clear filesystem cache use the command above?
thanks
You should leave as is, do not clear filesystem pagecache. It's cache, so if something else critical to OS health needs memory, OS will release the cache anyway.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.