答复: 答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-27 Thread Fangxiuning (Jack, EulerOS)
@Xiuning Would you please take a look and give some suggestion? I don't suggest this solution for using in long term which skip call pam-systemd.so to fix this issue, Sftp sends files and call pam-systemd.so to create session which manage resources more reasonable, this is evolution direction of

RE: 答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-26 Thread jingrui
Cc Fangxiuning On Fri 24-07-20 09:35:26, jingrui wrote: > > On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > > > What is the reason to run under !root cgroup in those sessions if you do > > not care about accounting anyway? > > The systemd not support run those sessions under root cgro

Re: 答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-24 Thread Michal Hocko
On Fri 24-07-20 09:35:26, jingrui wrote: > > On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > > > What is the reason to run under !root cgroup in those sessions if you do > > not care about accounting anyway? > > The systemd not support run those sessions under root cgroup, disable > pa

答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-24 Thread jingrui
On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > What is the reason to run under !root cgroup in those sessions if you do not > care about accounting anyway? The systemd not support run those sessions under root cgroup, disable pam-systemd will not create session/cgroup, but this is not