On 17/03/17 02:40, Michi Henning wrote: > >> 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@laptop:~$ ulimit -n 10240 >> jacek@laptop:~$ ulimit -n >> 10240 >> >> But when I try the same when confined I can only go as high as 4096. > > $ cat /proc/sys/fs/file-max > 1624349 > $ ulimit -Hn > 65536 > $ ulimit -Sn > 1024 > $ ulimit -Sn 65536 > $ ulimit -Sn > 65536 > > This works for me when running a confined shell: > > $ snap run —shell mysnap.mycommand
Interesting. This worked for me too with snap run --shell. I wonder if hard limit for my daemon is different than the one I get when I snap run --shell? Anyway I'll dig a big deeper and file a bug if needed, thanks for help. -- Jacek
signature.asc
Description: OpenPGP digital signature
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft