On Tue, Aug 9, 2022 at 12:16 PM Laurent Bercot <[email protected]> wrote:
> > >... Yes, > >my system uses s6-linux-init and I am using s6-rc as a service manager. > > ... > With s6-l-i, since the supervision tree is started very early, and > s6-svscan is pid 1, all the services are started with the default > resource limits set by the kernel. ... > > In order to change this default, you need to modify stage 1. ... > Then reboot. > Outstanding. I am going to link this to a posting I made on Artix s6 forum board about the same topic. > > After that, if your services still cannot create coredumps, then it > means the kernel sets the hard limit at 0, and that will be more > difficult to work around. (Might be time to give an option back to > s6-softlimit so it can modify hard limits as well...) > Hard limit is unlimited, AFAICT.
