[Nix-dev] ulimit
peter.romfeld.hk at gmail.com
peter.romfeld.hk at gmail.com
Tue Jan 6 08:03:51 CET 2015
perfect, thats what i looked for!
thanks,
peter
On 01/06/2015 02:55 PM, Bjørn Forsman wrote:
> On 6 January 2015 at 04:13, peter.romfeld.hk at gmail.com
> <peter.romfeld.hk at gmail.com> wrote:
>> Hey,
>>
>> i did search through the options but could not find anything. did i miss
>> something? i also cant find /etc/security/limits.d/ on my system
>>
>> i want to set the ulimits in nix style.
>> for example ejabberd user open files 65536
>>
>> security.ulimits = {
>> ejabberd = {
>> soft = {
>> nofile = 65536;
>> nproc = 65536;
>> };
>> hard = {
>> nofile = 65536;
>> nproc = 65536;
>> };
>> };
>> };
> There is a security.pam.loginLimits option. Does that suit your need?
>
> Best regards,
> Bjørn Forsman
More information about the nix-dev
mailing list