How to bump ulimit?
jacek.nykis at canonical.com
Thu Mar 16 13:18:10 UTC 2017
Would you mind pasting exact command that worked for you from inside a snap?
In my case ulimit works just fine outside of confinement. For example:
jacek at laptop:~$ ulimit -n 10240
jacek at laptop:~$ ulimit -n
But when I try the same when confined I can only go as high as 4096.
On 16/03/17 13:06, Michi Henning wrote:
> Typing "ubuntu more than 4096 file descriptors” into Google worked well for me.
>> On 15 Mar 2017, at 21:56 , Jacek Nykis <jacek.nykis at canonical.com> wrote:
>> I have a server application that hit max open files limit, which by
>> default is set to 1024.
>> I'd like to bump that limit significantly but it appears that I can only
>> go as high as 4096. When I try with value 4097 I'm getting this:
>> 7: ulimit: error setting limit (Operation not permitted)
>> Is there a way to increase ulimit values beyond 4096?
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 299 bytes
Desc: OpenPGP digital signature
More information about the Snapcraft