Having the same issue myself.

Xorg process gradually consumes more and more RAM over time until the
desktop becomes unusable and either crashes, or needs to be rebooted to
get going again.

== In my case below, PID 2012 is currently up to 2.1GB of RAM again.

root@host:~# free -m
             total       used       free     shared    buffers     cached
Mem:         16039      15843        195         40        397       9416
-/+ buffers/cache:       6029      10010
Swap:        11585          3      11582

root@host:~# top -p 2012
top - 12:28:54 up 20:49,  5 users,  load average: 2.61, 2.53, 2.57
Tasks:   1 total,   0 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.8 us,  1.8 sy,  0.0 ni, 82.5 id, 12.6 wa,  0.3 hi,  0.0 si,  0.0 st
KiB Mem:  16424276 total, 16235752 used,   188524 free,   408120 buffers
KiB Swap: 11863964 total,     3544 used, 11860420 free.  9652088 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
 2012 root      20   0 2572068 2.062g 205736 S   3.7 13.2 167:01.86 Xorg  


root@host:~# ps -lf 2012
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY        TIME CMD
4 S root      2012  1930 13  80   0 - 641118 poll_s Aug12 tty7    166:31 
/usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp 
vt7 -novtswitch

root@host:~# ps -o pid=,args=,rss=,size=,vsize= 2012 
 2012 /usr/bin/X -core :0 -seat s 2169192 1961620 2579280

==
root@host:~# uname -a
Linux host 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 
x86_64 x86_64 GNU/Linux

root@host:~# dpkg-query -l "*xorg*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                               Version                Architecture      
     Description
+++-==================================-======================-======================-=========================================================================
ii  xorg                               1:7.7+1ubuntu8         amd64             
     X.Org X Window System
..
ii  xserver-xorg                       1:7.7+1ubuntu8         amd64             
     X.Org X server
ii  xserver-xorg-core                  2:1.15.1-0ubuntu2      amd64             
     Xorg X server - core server
..

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1272338

Title:
  Xorg memory leak on trusty

Status in “xserver-xorg-video-intel” package in Ubuntu:
  Fix Released

Bug description:
  After a few hours Xorg process was consuming a GB of RAM, after a day
  or so it was 2GB, now after 2 days it's over 4GB. I'd rather X wasn't
  eating all my RAM.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND   
                                                       
   1710 root      20   0 5270636 4.300g 277872 S  14.2 27.6 229:09.97 Xorg

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xorg 1:7.7+1ubuntu7
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.13.1-0ubuntu1
  Architecture: amd64
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,grid,imgpng,gnomecompat,scale,workarounds,mousepoll,regex,wall,move,place,vpswitch,resize,unitymtgrabhandles,snap,session,expo,ezoom,unityshell]
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Fri Jan 24 13:36:48 2014
  DistUpgraded: 2014-01-20 08:54:25,315 DEBUG enabling apt cron job
  DistroCodename: trusty
  DistroVariant: ubuntu
  EcryptfsInUse: Yes
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:21da]
  InstallationDate: Installed on 2012-06-29 (573 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MachineType: LENOVO 4287CTO
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-5-generic 
root=UUID=6088859e-4fc3-4ec8-903f-5b52cdc1d0eb ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: Upgraded to trusty on 2014-01-20 (4 days ago)
  dmi.bios.date: 12/05/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8DET67WW (1.37 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4287CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr8DET67WW(1.37):bd12/05/2012:svnLENOVO:pn4287CTO:pvrThinkPadX220:rvnLENOVO:rn4287CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4287CTO
  dmi.product.version: ThinkPad X220
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.51-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 10.0.1-1ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 10.0.1-1ubuntu2
  version.xserver-xorg-core: xserver-xorg-core 2:1.14.5-1ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu11
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.907-0ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.10-1ubuntu1
  xserver.bootTime: Wed Jan 22 12:54:42 2014
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id                                 728 
   vendor                                     LGD
  xserver.version: 2:1.14.5-1ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1272338/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to