Re: How to bump ulimit?

2017-03-17 Thread Jacek Nykis
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 s

Re: How to bump ulimit?

2017-03-16 Thread Michi Henning
> 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.

Re: How to bump ulimit?

2017-03-16 Thread Jacek Nykis
Hi, 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. -- Jacek

Re: How to bump ulimit?

2017-03-16 Thread Michi Henning
Typing "ubuntu more than 4096 file descriptors” into Google worked well for me. Michi. > On 15 Mar 2017, at 21:56 , Jacek Nykis wrote: > > Hello, > > 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 bu

How to bump ulimit?

2017-03-15 Thread Jacek Nykis
Hello, 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) I