Add the following to /etc/elasticsearch/jvm.options.d/custom.options
:
-Xms2g
-Xmx2g
According to official documentation you should avoid adding custom options directly in jvm.options
.
Add the following to /etc/elasticsearch/jvm.options.d/custom.options
:
-Xms2g
-Xmx2g
According to official documentation you should avoid adding custom options directly in jvm.options
.
Zammad can actually work very well without Elasticsearch for small amount of tickets. Please note, after disabling Elasticsearch, you may see many BackgroundJobSearchIndex
errors like this, so use it at your own risk.
zammad run rails r "Setting.set('es_url', '')" # set it empty
zammad run rake searchindex:rebuild
systemctl stop elasticsearch
systemctl disable elasticsearch
systemctl mask elasticsearch
Further reading: Set up Elasticsearch – Zammad Docs
Just adding -XX:-AssumeMP
to /etc/elasticsearch/jvm.options