[katello-devel] How to decrease elasticsearch memory

Lukas Zapletal lzap at redhat.com
Tue Feb 21 13:51:04 UTC 2012


Hey,

until a ES related BZ gets resolved I recommend to do this BEFORE
running katello-configure if you are blocked with this.

echo "index.number_of_shards: 1" >> /etc/elasticsearch/elasticsearch.yml
sed -i "s'^ES_MAX_MEM=.*'ES_MAX_MEM=64m'"
/usr/share/java/elasticsearch/bin/elasticsearch.in.sh
sed -i "s'^ES_MIN_MEM=.*'ES_MIN_MEM=64m'"
/usr/share/java/elasticsearch/bin/elasticsearch.in.sh

katello-configure

-- 
Later,

 Lukas Zapletal | E32E400A
 RHN Satellite Engineering
 Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list