Skip to contentSkip to conversation

New: [-next-20121129] memory leak/page allocator fragmentation?

Bug 51301 [email protected] 1 participant 7 messages Dec 4, 2012 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=51301

           Summary: [-next-20121129] memory leak/page allocator
                    fragmentation?
           Product: Virtualization
           Version: unspecified
    Kernel Version: -next-20121129
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

With a single 2Gb/4-core VM on a 10Gb/8-core host, the _host_ ran out of 32kb page blocks. I can't be certain that it was kvm because the OOM condition triggered a GP fault in the SLUB allocator. (The other suspect is nouveau.)

I have attached the kernel log and a SysRq Show Memory dump of the machine shortly after boot without running kvm.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

https://bugzilla.kernel.org/show_bug.cgi?id=51301

--- Comment #1 from Peter Hurley <[email protected]> 2012-12-04 16:09:26 --- Created an attachment (id=88441)
--> (https://bugzilla.kernel.org/attachment.cgi?id=88441)
kernel log showing OOM condition

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51301

--- Comment #2 from Peter Hurley <[email protected]> 2012-12-04 16:11:10 --- Created an attachment (id=88451)
--> (https://bugzilla.kernel.org/attachment.cgi?id=88451)
sysrq/show memory without kvm shortly after boot

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51301

--- Comment #3 from Peter Hurley <[email protected]> 2012-12-04 16:23:47 --- Created an attachment (id=88461)
--> (https://bugzilla.kernel.org/attachment.cgi?id=88461)
sysrq/show memory with kvm running a single 2gb vm

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#4 lore raw

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51301

--- Comment #4 from Peter Hurley <[email protected]> 2012-12-04 16:48:22 --- Not sure why I picked kvm/nouveau for this OOM ;)

Could be any number of apps over a 3.5 period...

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#5 lore raw

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51301

Marcelo Tosatti <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Marcelo Tosatti <[email protected]> 2012-12-04 21:42:00 ---

Dec  4 09:38:25 thor kernel: [322576.251464] firefox: page allocation failure:

order:4, mode:0x80c0d0

This is an order-4 allocation failure. This is due to kernel failure to allocate physically contiguous region of memory. Please reassign to "Memory Management" component.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#6 lore raw

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=51301

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|kvm                         |Page Allocator
            Version|unspecified                 |2.5
         AssignedTo|virtualization_kvm@kernel-b |[email protected]
                   |ugs.osdl.org                |
            Product|Virtualization              |Memory Management
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.