← Back to team overview

kernel-packages team mailing list archive

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

 

top directly after reboot (of another, identical system):

top - 22:51:44 up 2 min,  1 user,  load average: 0.53, 0.72, 0.32
Tasks: 258 total,   1 running, 257 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.0 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  49453024 total,   861076 used, 48591948 free,    30064 buffers
KiB Swap: 50319356 total,        0 used, 50319356 free.    68324 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                        
 1924 root       1 -19   69752  19028   4488 S   0.0  0.0   0:00.25 bs_worker                                                                                                                                      
 1918 root       1 -19   69732  18948   4408 S   0.0  0.0   0:00.27 bs_worker                                                                                                                                      
 1910 root       1 -19   69732  18928   4396 S   0.0  0.0   0:00.22 bs_worker                                                                                                                                      
 1911 root       1 -19   69752  18924   4400 S   0.0  0.0   0:00.25 bs_worker                                                                                                                                      
 1926 root       1 -19   69752  18872   4400 S   0.0  0.0   0:00.23 bs_worker                                                                                                                                      
 1919 root       1 -19   69752  18812   4416 S   0.0  0.0   0:00.24 bs_worker                                                                                                                                      
 1915 root       1 -19   69732  18780   4388 S   0.0  0.0   0:00.22 bs_worker                                                                                                                                      
 1927 root       1 -19   69752  18772   4284 S   0.0  0.0   0:00.23 bs_worker                                                                                                                                      
 1921 root       1 -19   69752  18756   4268 S   0.0  0.0   0:00.24 bs_worker                                                                                                                                      
 1913 root       1 -19   69752  18736   4280 S   0.0  0.0   0:00.25 bs_worker                                                                                                                                      
 1923 root       1 -19   69732  18736   4268 S   0.0  0.0   0:00.24 bs_worker                                                                                                                                      
 1929 root       1 -19   69732  18736   4284 S   0.0  0.0   0:00.27 bs_worker                                                                                                                                      
 1917 root       1 -19   69752  18704   4240 S   0.0  0.0   0:00.25 bs_worker                                                                                                                                      
 1914 root       1 -19   69784  18688   4296 S   0.0  0.0   0:00.27 bs_worker                                                                                                                                      
 1912 root       1 -19   69732  18684   4240 S   0.0  0.0   0:00.25 bs_worker                                                                                                                                      
 1928 root       1 -19   69752  18680   4296 S   0.0  0.0   0:00.27 bs_worker                                                                                                                                      
 1930 root       1 -19   69732  18672   4268 S   0.0  0.0   0:00.22 bs_worker                                                                                                                                      
 1920 root       1 -19   69752  18668   4284 S   0.0  0.0   0:00.22 bs_worker                                                                                                                                      
 1916 root       1 -19   69752  18660   4240 S   0.0  0.0   0:00.21 bs_worker                                                                                                                                      
 1925 root       1 -19   69752  18660   4240 S   0.0  0.0   0:00.26 bs_worker                                                                                                                                      
 1922 root       1 -19   69732  18648   4224 S   0.0  0.0   0:00.23 bs_worker                                                                                                                                      
 1909 root       1 -19   69732  18644   4240 S   0.0  0.0   0:00.26 bs_worker                                                                                                                                      
  826 root      20   0   52644  13608   3700 S   0.0  0.0   0:00.04 munin-node                                                                                                                                     
 2015 root      20   0 4256992   8040   4904 S   0.0  0.0   0:00.02 console-kit-dae                                                                                                                                
 2082 root      20   0  271268   7588   4932 S   0.0  0.0   0:00.01 polkitd                                                                                                                                        
 1653 root      20   0  123748   6904   6332 S   0.0  0.0   0:00.01 thermald                                                                                                                                       
 2000 root      20   0  101596   6484   5488 S   0.0  0.0   0:00.03 sshd                                                                                                                                           
 1907 root      20   0   27740   6196   2172 S   0.0  0.0   0:00.01 screen                                                                                                                                         
 1697 root      20   0   59580   5492   4804 S   0.0  0.0   0:00.00 sshd                                                                                                                                           
 2117 root      20   0   25160   5064   3184 S   0.0  0.0   0:00.03 bash                                                                                                                                           
  816 syslog    20   0  255864   4844   2312 S   0.0  0.0   0:00.00 rsyslogd                                                                                                                                       
    1 root      20   0   29976   4520   2452 S   0.0  0.0   0:05.19 init                                                                                                                                           
 1840 ntp       20   0   31484   4344   3748 S   0.0  0.0   0:00.00 ntpd                                                                                                                                           
  498 root      20   0   43540   3596   2692 S   0.0  0.0   0:00.16 systemd-udevd                                                                                                                                  
 1330 root      20   0   10272   3256    952 S   0.0  0.0   0:00.00 dhclient                                                                                                                                       
 2004 root      20   0   36764   3088   2784 S   0.0  0.0   0:00.01 systemd-logind                                                                                                                                 
 2140 root      20   0   27780   3048   2412 R   0.9  0.0   0:00.01 top                                                                                                                                            
  824 message+  20   0   44112   2832   2268 S   0.0  0.0   0:00.06 dbus-daemon                                                                                                                                    
 1704 root      20   0   26032   2516   2256 S   0.0  0.0   0:00.00 cron                                                                                                                                           
  461 root      20   0   23704   2504   2264 S   0.0  0.0   0:00.01 cgmanager                                                                                                                                      
  489 root      20   0   24484   2420   1816 S   0.0  0.0   0:00.23 upstart-udev-br                                                                                                                                
 1649 root      20   0   18528   2112   1952 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1717 root      20   0   19500   2080   1804 S   0.0  0.0   0:00.01 irqbalance                                                                                                                                     
 1661 root      20   0   18528   2060   1896 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1658 root      20   0   18528   2056   1896 S   0.0  0.0   0:00.00 getty                                                                                                                                          
 1990 root      20   0   18528   2012   1852 S   0.0  0.0   0:00.00 getty

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