Comment 23 for bug 1272338

Revision history for this message
Stephen Venter (stephen-venter) wrote :

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