Re: Re: [Bug 201699] New: kmemleak in memcg_create_kmem_cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Cc Roman - the email thread starts
http://lkml.kernel.org/r/20181115130646.6de1029eb1f3b8d7276c3543@xxxxxxxxxxxxxxxxxxxx]

On Mon 19-11-18 11:30:45, Vladimir Davydov wrote:
> On Sun, Nov 18, 2018 at 08:44:14AM +0800, dong wrote:
> > First of all,I can see memory leak when I run ‘free -g’ command.
> 
> This doesn't mean there's a leak. The kernel may postpone freeing memory
> until there's memory pressure. In particular cgroup objects are not
> released until there are objects allocated from the corresponding kmem
> caches. Those objects may be inodes or dentries, which are freed lazily.
> Looks like restarting a service causes recreation of a memory cgroup and
> hence piling up dead cgroups. Try to drop caches.

This seems similar to what Roman was looking recently. All the fixes
should be merged in the current Linus tree IIRC.
-- 
Michal Hocko
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux