** Description changed:

- I have seen similiar bug reports,but these are really old and are not
- related to version 16.10. This is way I'm opening a new one.
+ # Impact
+ The bad behavior of owncloud-client, combined with a design issue in Qt 5, 
and with unity-panel-service not cleaning up after old indicators, cause huge 
memory consumption of unity-panel-service. The consumption grows in arithmetic 
progression and can quickly reach several GBs.
+ 
+ For technical explanation of why this happens, see my comments #17 and
+ #19.
+ 
+ I could not figure out how to explore the Unity panel contents in the
+ GTK+ inspector. If that is possible, then the big row of the dead hidden
+ indicators should be shown there.
+ 
+ # Proposed Fix
+ Fixing either unity-panel-service or owncloud-client will both work. In 
owncloud-client the fix is just one line, so it is easier. It disables the 
upstream workaround which was only needed for Qt 5.5. Upstream has also limited 
the workaround to Qt 5.5.0 only in newer code, so this patch will no longer 
needed with the next major owncloud-client release.
+ 
+ The same patch has been applied in Zesty version 2.2.4+dfsg-2ubuntu1.
+ 
+ # Regression Potential
+ Both bugs that the workaround took care of are fixed in Qt 5.6:
+ - https://bugreports.qt.io/browse/QTBUG-47863 — fixed in 5.5.1, 5.6.1
+ - https://bugreports.qt.io/browse/QTBUG-48068 — fixed in 5.6.0
+ 
+ So this should not cause any regressions.
+ 
+ # Test Case
+ Just start owncloud-client under Unity (and make sure it shows the tray 
icon). Logging in is not necessary, though that increases the memory 
consumption rate (as there are more menu items).
+ 
+ =============================================================================
+ I have seen similiar bug reports,but these are really old and are not related 
to version 16.10. This is way I'm opening a new one.
  
  Currently the unity-panel-service process uses about 11GB of RAM which
  is definitely too much
  
  top - 11:33:45 up 7 days,  4:09,  2 users,  load average: 0,74, 1,08, 1,48
  Tasks: 332 gesamt,   1 laufend, 331 schlafend,   0 gestoppt,   0 Zombie
  %CPU(s):  3,7 be,  1,6 sy,  0,1 ni, 92,3 un,  2,2 wa,  0,0 hi,  0,0 si,  0,0 
st
  KiB Spch : 16309660 gesamt,   211552 frei, 14872856 belegt,  1225252 
Puff/Cache
- KiB Swap:  8266748 gesamt,  6138576 frei,  2128172 belegt.   609444 verfü 
Spch 
+ KiB Swap:  8266748 gesamt,  6138576 frei,  2128172 belegt.   609444 verfü Spch
  
-   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     ZEIT+ BEFEHL    
                                                                                
                                                                                
                             
-  4339 abuesch+  20   0 11,590g 0,010t  12892 S   0,0 69,0 340:54.64 
unity-panel-ser
+   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     ZEIT+ BEFEHL
+  4339 abuesch+  20   0 11,590g 0,010t  12892 S   0,0 69,0 340:54.64 
unity-panel-ser
  
  Additionally to all standard indicators I have used the owncloud and
  cpufreq indicator. Don't know if this is related to it.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: unity 7.5.0+16.10.20160906.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
  Uname: Linux 4.8.0-22-generic x86_64
  .tmp.unity_support_test.0:
-  
+ 
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  BootLog: /dev/sda6: clean, 1281257/10911744 files, 22096310/43622400 blocks
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Fri Oct 21 11:27:57 2016
  DistUpgraded: Fresh install
  DistroCodename: yakkety
  DistroVariant: ubuntu
  DkmsStatus:
-  virtualbox, 5.1.6, 4.8.0-22-generic, x86_64: installed
-  virtualbox, 5.1.6, 4.8.0-26-generic, x86_64: installed
+  virtualbox, 5.1.6, 4.8.0-22-generic, x86_64: installed
+  virtualbox, 5.1.6, 4.8.0-26-generic, x86_64: installed
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/compiz
  GraphicsCard:
-  Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
-    Subsystem: Dell 2nd Generation Core Processor Family Integrated Graphics 
Controller [1028:04a9]
+  Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
+    Subsystem: Dell 2nd Generation Core Processor Family Integrated Graphics 
Controller [1028:04a9]
  InstallationDate: Installed on 2013-11-10 (1075 days ago)
  InstallationMedia: elementary OS 0.2 "Luna" - Stable amd64 (20130810)
  MachineType: Dell Inc. Latitude E6220
  ProcEnviron:
-  LANG=de_DE.UTF-8
-  LANGUAGE=de_DE
-  PATH=(custom, user)
-  SHELL=/usr/bin/zsh
-  XDG_RUNTIME_DIR=<set>
+  LANG=de_DE.UTF-8
+  LANGUAGE=de_DE
+  PATH=(custom, user)
+  SHELL=/usr/bin/zsh
+  XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-22-generic 
root=UUID=f1d78d25-23cf-4217-9db2-0750a8eb2b53 ro quiet splash vt.handoff=7
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/17/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0R97MN
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd05/17/2012:svnDellInc.:pnLatitudeE6220:pvr01:rvnDellInc.:rn0R97MN:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6220
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.13.0+16.10.20160818.2-0ubuntu2
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.70-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 12.0.3-1ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 12.0.3-1ubuntu2
  version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-1ubuntu6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20160706-1ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1635577

Title:
  memory leak in unity-panel-service

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/owncloud-client/+bug/1635577/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to