On Fri, May 13, 2016 at 11:59 AM, Tony Gaetani <tony.gaet...@gmail.com> wrote:
> I think chpst -o can only limit open files meaning reduce the number of open
> file descriptors for the process, not increase. I'm just speaking from
> memory, I have no proof to back up this conjecture. I recommend using ulimit
> -n in your run scripts per services, rather than on runsv itself.
>
It definitely can increase up to the hard limit:

[colinb@colinb1 ~]$ grep 'open files' /proc/self/limits ; chpst -o
2000 grep 'open files' /proc/self/limits ; chpst -o 100000 grep 'open
files' /proc/self/limits
Max open files            1024                 4096                 files
Max open files            2000                 4096                 files
Max open files            4096                 4096                 files

Cheers!

-- 
"If the doors of perception were cleansed every thing would appear to
man as it is, infinite. For man has closed himself up, till he sees
all things thru' narrow chinks of his cavern."
  --  William Blake

Reply via email to