So I built a new 5.9 box with amd64. Elasticsearch starts fine, no
login.conf changes needed. I even increased the max heap size to 4g:
/etc/elasticsearch/elasticsearch.in.sh:
if [ "x$ES_MAX_MEM" = "x" ]; then
ES_MAX_MEM=4g
17358 p1 S 0:05.44 /usr/local/jdk-1.8.0/bin/java -Xms256m -Xmx
On Thu, Jul 14, 2016 at 2:03 AM, Karel Gardas wrote:
> See /etc/login.conf for limits. That your machine does have 4GB of RAM
> does not mean anything.
>
I thought it was something simple.
However, I can't figure out which limit to increase.
I can see the "daemon" login class is being used:
$
See /etc/login.conf for limits. That your machine does have 4GB of RAM
does not mean anything.
On Thu, Jul 14, 2016 at 12:37 AM, David Alten wrote:
> Hello,
>
> On a new setup, 5,9, i386, I'm getting Java memory errors when starting
> elasticsearch:
>
> $ doas /etc/rc.d/elasticsearch -d start
> d