Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-26 Thread Arkadiusz Miśkiewicz
On 26/01/2019 12:09, Tetsuo Handa wrote: > Arkadiusz, will you try this patch? Works. Several tries and always getting 0 pids.current after ~1s. Please use Reported-by: Arkadiusz Miśkiewicz (using gmail for transport only since vger postmasters aren't reasonable) And also Tested-by:

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-26 Thread Tetsuo Handa
Arkadiusz, will you try this patch? >From 48744b6339cf649a69b55997e138c17df1ecc897 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Sat, 26 Jan 2019 20:00:51 +0900 Subject: [PATCH] oom, oom_reaper: do not enqueue same task twice Arkadiusz reported that enabling memcg's group oom killing causes

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 15:10, Tetsuo Handa wrote: > On 2019/01/26 11:41, Arkadiusz Miśkiewicz wrote: >> dmesg: >> http://ixion.pld-linux.org/~arekm/cgroup-oom-2.txt OK. There is a refcount leak bug in wake_oom_reaper() which became visible by enabling oom_group setting. static void wake_oom_reaper(struct

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 11:41, Arkadiusz Miśkiewicz wrote: > dmesg: > http://ixion.pld-linux.org/~arekm/cgroup-oom-2.txt What is wrong with this output? It seems to me that the OOM killer is killing processes as soon as python 3 fork()s one. Although "potentially unexpected fatal signal 7." messages due to

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Arkadiusz Miśkiewicz
On 26/01/2019 02:27, Tetsuo Handa wrote: > On 2019/01/26 4:47, Arkadiusz Miśkiewicz wrote: >>> Can you please see whether the problem can be reproduced on the >>> current linux-next? >>> >>> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git >> >> I can reproduce on next

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Arkadiusz Miśkiewicz
On 26/01/2019 02:41, Roman Gushchin wrote: > On Fri, Jan 25, 2019 at 08:47:57PM +0100, Arkadiusz Miśkiewicz wrote: >> On 25/01/2019 17:37, Tejun Heo wrote: >>> On Fri, Jan 25, 2019 at 08:52:11AM +0100, Arkadiusz Miśkiewicz wrote: On 24/01/2019 12:21, Arkadiusz Miśkiewicz wrote: > On

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Roman Gushchin
On Fri, Jan 25, 2019 at 08:47:57PM +0100, Arkadiusz Miśkiewicz wrote: > On 25/01/2019 17:37, Tejun Heo wrote: > > On Fri, Jan 25, 2019 at 08:52:11AM +0100, Arkadiusz Miśkiewicz wrote: > >> On 24/01/2019 12:21, Arkadiusz Miśkiewicz wrote: > >>> On 17/01/2019 14:17, Arkadiusz Miśkiewicz wrote: >

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tetsuo Handa
On 2019/01/26 4:47, Arkadiusz Miśkiewicz wrote: >> Can you please see whether the problem can be reproduced on the >> current linux-next? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > I can reproduce on next (5.0.0-rc3-next-20190125), too: > Please try this patch.

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Arkadiusz Miśkiewicz
On 25/01/2019 17:37, Tejun Heo wrote: > On Fri, Jan 25, 2019 at 08:52:11AM +0100, Arkadiusz Miśkiewicz wrote: >> On 24/01/2019 12:21, Arkadiusz Miśkiewicz wrote: >>> On 17/01/2019 14:17, Arkadiusz Miśkiewicz wrote: On 17/01/2019 13:25, Aleksa Sarai wrote: > On 2019-01-17, Arkadiusz

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-25 Thread Tejun Heo
On Fri, Jan 25, 2019 at 08:52:11AM +0100, Arkadiusz Miśkiewicz wrote: > On 24/01/2019 12:21, Arkadiusz Miśkiewicz wrote: > > On 17/01/2019 14:17, Arkadiusz Miśkiewicz wrote: > >> On 17/01/2019 13:25, Aleksa Sarai wrote: > >>> On 2019-01-17, Arkadiusz Miśkiewicz wrote: > Using kernel 4.19.13.

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-24 Thread Arkadiusz Miśkiewicz
On 24/01/2019 12:21, Arkadiusz Miśkiewicz wrote: > On 17/01/2019 14:17, Arkadiusz Miśkiewicz wrote: >> On 17/01/2019 13:25, Aleksa Sarai wrote: >>> On 2019-01-17, Arkadiusz Miśkiewicz wrote: Using kernel 4.19.13. For one cgroup I noticed weird behaviour: # cat