标签:emd memlock mitm cat systemctl can oca not load
#Memory: error=12,reason=Cannot allocate memorysed -i ‘s/^#MAX_LOCKED_MEMORY./MAX_LOCKED_MEMORY=unlimited/‘ /etc/sysconfig/elasticsearch
sed -i ‘$a* soft memlock unlimited‘ /etc/security/limits.conf
sed -i ‘$a\ hard memlock unlimited‘ /etc/security/limits.conf
sed -i ‘/[Service]/aLimitMEMLOCK=infinity‘ /usr/lib/systemd/system/elasticsearch.service
systemctl daemon-reload
systemctl restart elasticsearch
标签:emd memlock mitm cat systemctl can oca not load
原文地址:http://blog.51cto.com/2183087/2160857