On Thu, Jul 14, 2016 at 2:03 AM, Karel Gardas <gard...@gmail.com> 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:

$ doas chsh _elasticsearch
# Changing user database information for _elasticsearch.
Login: _elasticsearch
Encrypted password: *************
Uid [#]: 748
Gid [# or name]: 748
Change [month day year]:
Expire [month day year]:
Class: daemon
Home directory: /nonexistent
Shell: /sbin/nologin
Full Name: Elasticsearch Account
Office Location:
Office Phone:
Home Phone:

I tried increasing any memory limits I could find:

daemon:\
        :ignorenologin:\
        :datasize=infinity:\
        :memorylocked=infinity:\
        :memoryuse=infinity:\
        :vmemoryuse:infinity:\
        :maxproc=infinity:\
        :openfiles-cur=128:\
        :stacksize-cur=infinity:\
        :stacksize=infinity:\
        :localcipher=blowfish,9:\
        :tc=default:

However, I still can't get it to work.

Any further suggestions?

Thanks,
David

Reply via email to