[Nix-dev] ulimit

peter.romfeld.hk at gmail.com peter.romfeld.hk at gmail.com
Tue Jan 6 04:13:28 CET 2015


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;
     };
   };
};


cheers,
peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150106/d904453d/attachment-0001.html 


More information about the nix-dev mailing list