Re: [OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-28 Thread richard . purdie
On Wed, 2019-08-28 at 09:29 +0800, Kang Kai wrote: > On 2019/8/28 上午7:29, richard.pur...@linuxfoundation.org wrote: > > On Tue, 2019-08-27 at 17:43 +0800, Kang Kai wrote: > > > Hi Richard, > > > > > > This patch could fix the test_image failure with systemd. Would > > > like > > > to > > > try

Re: [OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-27 Thread Kang Kai
On 2019/8/28 上午7:29, richard.pur...@linuxfoundation.org wrote: On Tue, 2019-08-27 at 17:43 +0800, Kang Kai wrote: Hi Richard, This patch could fix the test_image failure with systemd. Would like to try systemd as default init manager on yocto build again to check whether any more blocking

Re: [OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-27 Thread richard . purdie
On Tue, 2019-08-27 at 17:43 +0800, Kang Kai wrote: > Hi Richard, > > This patch could fix the test_image failure with systemd. Would like > to > try systemd as default init manager on yocto build again > to check whether any more blocking issues? There is at least one issue:

Re: [OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-27 Thread Kang Kai
On 2019/8/20 下午1:45, Hongxu Jia wrote: On systemd, it set RLIMIT_NOFILE to 512k, since do_testimage for core-image-sato-sdk has memory limitation (256Mib) which caused rpc.statd failed with out of memory. [ 531.306146] Out of memory: Kill process 193 (rpc.statd) score 200 or sacrifice child

[OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-19 Thread Hongxu Jia
On systemd, it set RLIMIT_NOFILE to 512k, since do_testimage for core-image-sato-sdk has memory limitation (256Mib) which caused rpc.statd failed with out of memory. [ 531.306146] Out of memory: Kill process 193 (rpc.statd) score 200 or sacrifice child The rpc.statd and rpc.mountd allocates