← Back to team overview

kernel-packages team mailing list archive

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

 

top after stopping the buildservice:

top - 22:37:55 up 1 day, 13:30,  1 user,  load average: 0.00, 0.01, 0.05
Tasks: 245 total,   2 running, 243 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  49452964 total, 45567572 used,  3885392 free,    19424 buffers
KiB Swap: 50320380 total, 15316644 used, 35003736 free. 43645264 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                        
  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.0  0.0   0:00.03 sshd                                                                                                                                           
 3385 root      20   0   26716   5344   3376 S   0.0  0.0   0:00.05 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                                                                                                                                           
 3987 root      20   0   29148   3288   2664 R   0.1  0.0   0:00.02 top                                                                                                                                            
  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                                                                                                                                           
 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                                                                                                                                
  624 root      20   0   15308    196      0 S   0.0  0.0   0:00.08 upstart-file-br                                                                                                                                
  675 root      20   0   15292    196      0 S   0.0  0.0   0:00.05 upstart-socket-                                                                                                                                
 1555 daemon    20   0   19156    168      0 S   0.0  0.0   0:00.00 atd                                                                                                                                            
 1629 root      20   0   12736    132      0 S   0.0  0.0   0:00.00 uuidd                                                                                                                                          
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.03 kthreadd                                                                                                                                       
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.62 ksoftirqd/0                                                                                                                                    
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H                                                                                                                                   
    8 root      20   0       0      0      0 R   0.0  0.0   2:14.58 rcu_sched                                                                                                                                      
    9 root      20   0       0      0      0 S   0.0  0.0   1:00.05 rcuos/0                                                                                                                                        
   10 root      20   0       0      0      0 S   0.0  0.0   0:58.60 rcuos/1                                                                                                                                        
   11 root      20   0       0      0      0 S   0.0  0.0   1:01.30 rcuos/2                                                                                                                                        
   12 root      20   0       0      0      0 S   0.0  0.0   1:00.72 rcuos/3                                                                                                                                        
   13 root      20   0       0      0      0 S   0.0  0.0   1:01.94 rcuos/4                                                                                                                                        
   14 root      20   0       0      0      0 S   0.0  0.0   1:05.52 rcuos/5                                                                                                                                        
   15 root      20   0       0      0      0 S   0.0  0.0   0:59.67 rcuos/6                                                                                                                                        
   16 root      20   0       0      0      0 S   0.0  0.0   1:02.63 rcuos/7                                                                                                                                        
   17 root      20   0       0      0      0 S   0.0  0.0   0:55.07 rcuos/8                                                                                                                                        
   18 root      20   0       0      0      0 S   0.0  0.0   1:18.29 rcuos/9                                                                                                                                        
   19 root      20   0       0      0      0 S   0.0  0.0   1:02.64 rcuos/10                                                                                                                                       
   20 root      20   0       0      0      0 S   0.0  0.0   1:05.45 rcuos/11                                                                                                                                       
   21 root      20   0       0      0      0 S   0.0  0.0   1:05.11 rcuos/12                                                                                                                                       
   22 root      20   0       0      0      0 S   0.0  0.0   1:20.56 rcuos/13                                                                                                                                       
   23 root      20   0       0      0      0 S   0.0  0.0   1:03.92 rcuos/14

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