← Back to team overview

desktop-packages team mailing list archive

[Bug 1314787] Re: Memory leak

 

Hi,

Just downgraded kernel 3-16 -> 3.14.39 and I followed GVS's instruction above.
And after that I installed
http://www2.ati.com/drivers/linux/amd-catalyst-omega-14.12-linux-run-installers.zip

See this Xorg process's memory comsumption:

nuhapumppu Desktop # uptime; pmap 1564 | grep total
 18:53:00 up  1:08,  2 users,  load average: 1,07, 1,01, 1,14
 total           291664K
nuhapumppu Desktop # uptime; pmap 1564 | grep total
 19:02:55 up  1:18,  2 users,  load average: 0,32, 0,33, 0,69
 total           291664K
nuhapumppu Desktop # uptime; pmap 1564 | grep total
 19:06:10 up  1:21,  2 users,  load average: 0,24, 0,39, 0,65
 total           291664K
nuhapumppu Desktop # uptime; pmap 1564 | grep total
 19:26:15 up  1:41,  2 users,  load average: 0,25, 0,30, 0,40
 total           326224K
nuhapumppu Desktop # uptime; pmap 1564 | grep total
 19:35:14 up  1:50,  2 users,  load average: 0,74, 0,51, 0,44
 total           326224K
nuhapumppu Desktop # uptime; pmap 1564 | grep total
 20:03:14 up  2:18,  2 users,  load average: 1,29, 1,13, 0,83
 total           326224K
nuhapumppu Desktop # uptime; pmap 1564 | grep total
 05:06:16 up 11:21,  2 users,  load average: 0,05, 0,05, 0,05
 total           326224K

As you see, there is no memory at all. Uptime is over 11 hours.
This is kernel related issue definitely.
When huge Xorg memory leak was exist, the memory consumption was several GBs so far (11 hours)

So kernel 3.14.39 cured my system.
Need to know which kernel commit(s) fix this memory leak.
So I don't update kernel to 3.16 until this leak is fixed. I stay 3.14.xx branch.

Big thanks to GVS!!!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1314787

Title:
  Memory leak

Status in fglrx-installer package in Ubuntu:
  Confirmed

Bug description:
  I upgraded my PC from Ubuntu 13.10 to 14.04 (released one). After
  upgrade I found the PC slows down soon even without apps running on
  it. When checking with system monitor I found all the physical memory
  was full and the swap file was in use (which never happened with
  13.10). I restarted the PC and left it alone. After six hours memory
  consumption of xorg went from original 250MB to 1,3GB. I guess there
  is a memory leak in the process.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xorg 1:7.7+1ubuntu8
  ProcVersionSignature: Ubuntu 3.11.0-20.34-generic 3.11.10.6
  Uname: Linux 3.11.0-20-generic x86_64
  NonfreeKernelModules: fglrx
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  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: Wed Apr 30 23:05:47 2014
  DistUpgraded: 2014-04-26 21:44:20,660 DEBUG enabling apt cron job
  DistroCodename: trusty
  DistroVariant: ubuntu
  DkmsStatus: fglrx, 13.350.1, 3.11.0-20-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9] (prog-if 00 [VGA controller])
     Subsystem: Hightech Information System Ltd. Device [1787:2291]
  InstallationDate: Installed on 2013-10-29 (183 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 004 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: System manufacturer System Product Name
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-20-generic root=UUID=a4de809d-e263-4318-8bf0-1bd1422076e3 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: Upgraded to trusty on 2014-04-26 (4 days ago)
  dmi.bios.date: 09/11/2009
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1105
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: M4N78 SE
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1105:bd09/11/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4N78SE:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  version.compiz: compiz 1:0.9.11+14.04.20140409-0ubuntu1
  version.fglrx-installer: fglrx-installer N/A
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.52-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0-4ubuntu5
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0-4ubuntu5
  version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
  xserver.bootTime: Wed Apr 30 22:53:24 2014
  xserver.configfile: default
  xserver.devices:
   input        Power Button         KEYBOARD, id 6
   input        Power Button         KEYBOARD, id 7
   input        Logitech USB Optical Mouse MOUSE, id 8
   input        AT Translated Set 2 keyboard KEYBOARD, id 9
  xserver.errors:
   open /dev/dri/card0: No such file or directory
   AIGLX error: failed to open /usr/X11R6/lib64/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
   AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
   AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
  xserver.logfile: /var/log/Xorg.0.log
  xserver.version: 2:1.15.1-0ubuntu2
  xserver.video_driver: fglrx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1314787/+subscriptions


Follow ups