We are using es 7.1. We have an error “Too many dynamic script compilations within”。
It can be fixed by increase some params：
My question is ：
Es 7.1 Supports a monitoring metric, can see the script caching evictions.
This is result:
All scripts are cached by default so that they only need to be recompiled when updates occur. By default, scripts do not have a time-based expiration, but you can change this behavior by using the
the scripts caching ttl is infinite,so it will evict by limit,but from the result, we dont't see it reach limit.
So what is the compilations and cache_evictions mean? * What other situations would clean up this cache?