← Back to team overview

kernel-packages team mailing list archive

[Bug 1499203] [NEW] memory leak in hv_storvsc (3.13.0-63-generic)

 

Public bug reported:

Slab and SUnreclaim values in /proc/meminfo keep increasing. On one
servers it reached 85% of physical memory after 14 days - but on most
other servers it increases more slowly. I checked /proc/slabinfo and
almost all allocations were in kmalloc-512. So I enabled
"slub_debug=U,kmalloc-512" on one server, and after only 24h of uptime
11% of the memory was used by kmalloc-512 and unreclaimable. With
debugging enabled I could see the following in
/sys/kernel/slab/kmalloc-512/alloc_calls:

521294 storvsc_queuecommand+0x359/0x790 [hv_storvsc]
age=161922/955116/20882927 pid=1-41545

All other counters were below 2000. In
/sys/kernel/slab/kmalloc-512/free_calls I see the following:

516823 <not-available> age=4315783846 pid=0

The hv_storvsc module is for Hyper-V. We are (unfortunately) running
Hyper-V 6.3.9600.16384 with Microsoft System Center 2012 R2 Update
rollup 3 for all the servers with this issue.

Kernels are stock linux-image-3.13.0-63-generic, 3.13.0-63.103, x86_64,
from Ubuntu 14.04 LTS . /proc/version_signature contains:

  Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25

No output from lspci -vnvn. The problem described above happens on both
single and multicore virtual machines. CPU in hypervisors are E5-2630 v2
@ 2.60GHz. Let me know if you need more info or if I can do more
debugging.

Regards,

Oskar Liljeblad

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1499203

Title:
  memory leak in hv_storvsc (3.13.0-63-generic)

Status in linux package in Ubuntu:
  New

Bug description:
  Slab and SUnreclaim values in /proc/meminfo keep increasing. On one
  servers it reached 85% of physical memory after 14 days - but on most
  other servers it increases more slowly. I checked /proc/slabinfo and
  almost all allocations were in kmalloc-512. So I enabled
  "slub_debug=U,kmalloc-512" on one server, and after only 24h of uptime
  11% of the memory was used by kmalloc-512 and unreclaimable. With
  debugging enabled I could see the following in
  /sys/kernel/slab/kmalloc-512/alloc_calls:

  521294 storvsc_queuecommand+0x359/0x790 [hv_storvsc]
  age=161922/955116/20882927 pid=1-41545

  All other counters were below 2000. In
  /sys/kernel/slab/kmalloc-512/free_calls I see the following:

  516823 <not-available> age=4315783846 pid=0

  The hv_storvsc module is for Hyper-V. We are (unfortunately) running
  Hyper-V 6.3.9600.16384 with Microsoft System Center 2012 R2 Update
  rollup 3 for all the servers with this issue.

  Kernels are stock linux-image-3.13.0-63-generic, 3.13.0-63.103,
  x86_64, from Ubuntu 14.04 LTS . /proc/version_signature contains:

    Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25

  No output from lspci -vnvn. The problem described above happens on
  both single and multicore virtual machines. CPU in hypervisors are
  E5-2630 v2 @ 2.60GHz. Let me know if you need more info or if I can do
  more debugging.

  Regards,

  Oskar Liljeblad

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1499203/+subscriptions


Follow ups