← Back to team overview

kernel-packages team mailing list archive

[Bug 1401817] Re: memory leak with unknown reason after upgrade to utopic

 

top after some hours of idle:

top - 22:37:02 up 1 day, 13:29,  1 user,  load average: 0.00, 0.01, 0.05
Tasks: 268 total,   3 running, 265 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.6 us,  0.3 sy,  0.0 ni, 98.7 id,  0.4 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  49452964 total, 45896468 used,  3556496 free,    19260 buffers
KiB Swap: 50320380 total, 15316760 used, 35003620 free. 43644124 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                        
16739 root       1 -19   76904  18980   4304 S   0.1  0.0   0:06.64 bs_worker                                                                                                                                      
16745 root       1 -19   76904  18980   4304 S   0.0  0.0   0:06.91 bs_worker                                                                                                                                      
16746 root       1 -19   76904  18980   4304 S   0.0  0.0   0:06.80 bs_worker                                                                                                                                      
16736 root       1 -19   76832  18976   4304 S   0.1  0.0   0:06.90 bs_worker                                                                                                                                      
16731 root       1 -19   76904  18960   4284 S   0.0  0.0   0:06.90 bs_worker                                                                                                                                      
16740 root       1 -19   76884  18952   4292 S   0.1  0.0   0:06.98 bs_worker                                                                                                                                      
16737 root       1 -19   76832  18936   4264 S   0.0  0.0   0:06.83 bs_worker                                                                                                                                      
16741 root       1 -19   76904  18932   4256 S   0.0  0.0   0:06.42 bs_worker                                                                                                                                      
16743 root       1 -19   76904  18932   4256 S   0.1  0.0   0:06.67 bs_worker                                                                                                                                      
16744 root       1 -19   76904  18892   4212 S   0.0  0.0   0:06.87 bs_worker                                                                                                                                      
16742 root       1 -19   76836  18888   4216 S   0.0  0.0   0:06.79 bs_worker                                                                                                                                      
16725 root       1 -19   76884  18872   4216 S   0.0  0.0   0:06.77 bs_worker                                                                                                                                      
16735 root       1 -19   76832  18872   4200 S   0.0  0.0   0:06.98 bs_worker                                                                                                                                      
16726 root       1 -19   76836  18844   4168 S   0.0  0.0   0:07.01 bs_worker                                                                                                                                      
16738 root       1 -19   76904  18840   4164 S   0.0  0.0   0:06.81 bs_worker                                                                                                                                      
16728 root       1 -19   76884  18828   4168 S   0.0  0.0   0:06.91 bs_worker                                                                                                                                      
16732 root       1 -19   76884  18824   4160 S   0.0  0.0   0:06.86 bs_worker                                                                                                                                      
16734 root       1 -19   76904  18808   4128 S   0.0  0.0   0:06.92 bs_worker                                                                                                                                      
16730 root       1 -19   76912  18800   4128 S   0.0  0.0   0:06.77 bs_worker                                                                                                                                      
16733 root       1 -19   76864  18792   4128 S   0.0  0.0   0:06.96 bs_worker                                                                                                                                      
16727 root       1 -19   76836  18784   4168 S   0.1  0.0   0:06.56 bs_worker                                                                                                                                      
16729 root       1 -19   76904  18780   4128 S   0.0  0.0   0:06.66 bs_worker                                                                                                                                      
  805 root      20   0   52780  13564   3540 S   0.0  0.0   0:05.05 munin-node                                                                                                                                     
 3351 root      20   0   99532   6456   5480 S   0.1  0.0   0:00.03 sshd                                                                                                                                           
16724 root      20   0   34896   5704   1644 S   0.0  0.0   1:58.17 screen                                                                                                                                         
 3385 root      20   0   26640   5072   3188 S   0.0  0.0   0:00.03 bash                                                                                                                                           
 1496 root      20   0  123748   3976   3376 S   0.0  0.0   0:06.23 thermald                                                                                                                                       
 1243 root      20   0   10272   3928   1620 S   0.0  0.0   0:00.34 dhclient                                                                                                                                       
 1532 root      20   0   59580   3672   2984 S   0.0  0.0   0:00.01 sshd                                                                                                                                           
 1679 ntp       20   0   31488   3336   2728 S   0.0  0.0   0:06.35 ntpd                                                                                                                                           
  628 syslog    20   0  255864   3164   1916 S   0.0  0.0   0:00.59 rsyslogd                                                                                                                                       
    1 root      20   0   29048   3160   1936 S   0.0  0.0   0:04.24 init                                                                                                                                           
 3399 root      20   0   29260   3052   2404 R   0.0  0.0   0:00.01 top                                                                                                                                            
 3038 root      20   0   36764   3028   2712 S   0.0  0.0   0:00.03 systemd-logind                                                                                                                                 
  698 message+  20   0   43992   2644   2156 S   0.0  0.0   0:00.12 dbus-daemon                                                                                                                                    
  405 root      20   0   23704   2588   2340 S   0.0  0.0   0:00.09 cgmanager                                                                                                                                      
  438 root      20   0   34772   2584   2088 S   0.0  0.0   0:00.64 systemd-udevd                                                                                                                                  
 1554 root      20   0   26032   2380   2112 S   0.0  0.0   0:00.20 cron                                                                                                                                           
 1604 root      20   0   19500   1892   1612 S   0.0  0.0   0:12.49 irqbalance                                                                                                                                     
 1495 root      20   0   20000   1844   1684 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1492 root      20   0   20000   1824   1660 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1503 root      20   0   20000   1824   1672 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1809 root      20   0   20000   1808   1656 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1500 root      20   0   20000   1784   1624 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1501 root      20   0   20000   1764   1600 S   0.0  0.0   0:00.00 getty                                                                                                                                          
  431 root      20   0   24092   1412   1144 S   0.0  0.0   0:00.22 upstart-udev-br

-- 
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/1401817

Title:
  memory leak with unknown reason after upgrade to utopic

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm not sure if this is the right component/package. We are not able
  to identify a package/program which could be responsible for this bug,
  so we assume it is the kernel or at least a kernel configuration.

  Since the upgrade from trusty to utopic at October 27., our three
  servers for package building are massively swapping. This leads to by
  a factor of four slower build times. There were no configuration
  changes at all.

  Munin graphs of one of the affected servers are attached.

  The system has 48GB memory, and we have configured several ramdisks:

  root@cx1000-02:~# mount | grep -E "tmpfs|ramfs"
  none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
  udev on /dev type devtmpfs (rw,mode=0755)
  tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
  none on /run/shm type tmpfs (rw,nosuid,nodev)
  none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
  tmpfs on /var/tmp/obs type tmpfs (rw,size=36G)
  tmpfs on /run/obs type tmpfs (rw,relatime,size=1G)
  ramfs on /var/obscache type ramfs (rw)
  tmpfs on /run/obs type tmpfs (rw,relatime,size=1048576k)

  The build service uses several chroot environments to build packages
  for several distributions (http://openbuildservice.org/).

  You don't see any process which allocates so much memory with 'top'.
  Even after stopping the build service and unmounting /var/tmp/obs you
  are not able to deactivate the swap via swapoff -a:

  root@cx1000-02:~# swapoff -a
  swapoff: /dev/sda5: swapoff failed: Cannot allocate memory

  We also tested the latest kernel (3.16.0-28) and an old trusty kernel
  (3.13.0-40) without success. Also patching perl to exclude the perl
  bug https://rt.perl.org/Public/Bug/Display.html?id=123198 as root
  cause doesn't help.

  We don't have any idea what's the cause for this problem...

  We can deploy debug packages or anything else on the system, so please
  hesitate to ask for any information or help.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-26-generic 3.16.0-26.35
  ProcVersionSignature: Ubuntu 3.16.0-26.35-generic 3.16.7-ckt1
  Uname: Linux 3.16.0-26-generic x86_64
  AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  Date: Fri Dec 12 09:54:36 2014
  HibernationDevice: RESUME=UUID=531cb8f2-e194-45a7-a13c-3167aacf89bf
  InstallationDate: Installed on 2011-09-20 (1178 days ago)
  InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
  IwConfig:
   eth0      no wireless extensions.
   
   eth1      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: FUJITSU PRIMERGY CX122 S1
  PciMultimedia:
   
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-26-generic root=UUID=6e5b9bee-ccdf-4e6f-b09d-759312aeb3e0 ro quiet
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-26-generic N/A
   linux-backports-modules-3.16.0-26-generic  N/A
   linux-firmware                             1.138
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: Upgraded to utopic on 2014-10-27 (45 days ago)
  dmi.bios.date: 05/24/2011
  dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
  dmi.bios.version: 6.00 Rev. 1.10.2899.A1
  dmi.board.asset.tag: -
  dmi.board.name: D2899
  dmi.board.vendor: FUJITSU
  dmi.board.version: S26361-D2899-A11 WGS02 GS01
  dmi.chassis.asset.tag: YLAM001377
  dmi.chassis.type: 23
  dmi.chassis.vendor: FUJITSU
  dmi.chassis.version: CX122S1R
  dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvr6.00Rev.1.10.2899.A1:bd05/24/2011:svnFUJITSU:pnPRIMERGYCX122S1:pvrGS01:rvnFUJITSU:rnD2899:rvrS26361-D2899-A11WGS02GS01:cvnFUJITSU:ct23:cvrCX122S1R:
  dmi.product.name: PRIMERGY CX122 S1
  dmi.product.version: GS01
  dmi.sys.vendor: FUJITSU

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


References