Bug 21349 - X hogging memory - swap space full after ~4 hours of runtime
Summary: X hogging memory - swap space full after ~4 hours of runtime
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: high major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 01:51 UTC by Rahul Jain
Modified: 2009-04-28 07:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Rahul Jain 2009-04-23 01:51:18 UTC
rahul@googly ~ $ uname -a
Linux googly 2.6.30-rc2-zen0-08372-gb1961bf #5 SMP PREEMPT Thu Apr 23 00:51:34 CEST 2009 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz GenuineIntel GNU/Linux

Intel 945 GM
Gentoo Linux
xorg-server-1.6.0
xf86-intel-driver-2.6.99.902 (2.7 gives corrupted font layout - will report that after this bug)
KDE-4.2.2
KMS: yes
Compositing: yes (Kwin)

rahul@googly ~ $ uptime
 10:45:41 up  1:18,  5 users,  load average: 0.25, 0.45, 0.71

rahul@googly ~ $ free -m
             total       used       free     shared    buffers     cached
Mem:          1001        984         16          0          6        753
-/+ buffers/cache:        224        777
Swap:         1027        373        653

rahul@googly ~ $ ps -eo pid,rss,vsize,pcpu,pmem,cmd -ww --sort=-vsize | head
  PID   RSS    VSZ %CPU %MEM CMD
 3705 335072 799072 6.9 32.6 /usr/bin/X -br -novtswitch -quiet -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-M0ioU8
 4069 23148 303952  3.0  2.2 /usr/bin/plasma
 6643 90688 250304  6.3  8.8 /usr/lib/mozilla-firefox/firefox
 4095  8300 241624  0.3  0.8 /usr/bin/krunner
 4072 15008 235980  0.1  1.4 /usr/bin/lancelot
 6574 36620 160152  1.2  3.5 /usr/bin/kmail -caption KMail
 4068  4628 142328  0.0  0.4 /usr/bin/knotify4
 4061  4304  80096  0.0  0.4 ksmserver
 4012  9232  70500  0.0  0.9 kded4

Section "Device"
        Identifier      "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
        Driver          "intel"
        BusID           "PCI:0:2:0"
        Option          "AccelMethod"                   "UXA"
        Option          "FramebufferCompression"        "False"
        Option          "XvMC"                          "True"
EndSection


Downside - If I do not restart the X server before the swap space is full (restarting the X server clears it) then the computer freezes and I have to do a force shut down. This has basically rendered the X environment useless for me.
Comment 1 Magnus Kessler 2009-04-28 06:09:42 UTC
This memory leak is fixed by commit 7b6400a1b8d2f228fcbedf17c30a7e3924e4dd2a (http://cgit.freedesktop.org/xorg/xserver/commit/?id=7b6400a1b8d2f228fcbedf17c30a7e3924e4dd2a) on git master.
Comment 2 Rahul Jain 2009-04-28 07:06:38 UTC
Am new to the world of bug reporting in Xorg. Can you answer a couple of questions please.

1. So, to test the the fix should I install the live build of xorg-server or will it appear in 1.6.2 or 1.7 ?
2. Should the bug be marked as closed/fixed?
Comment 3 Rahul Jain 2009-04-28 07:07:22 UTC
Ok, my bad. The bug is already marked as fixed. Didn't see it properly. :P
Comment 4 Rahul Jain 2009-04-28 07:08:16 UTC
This is going to sound stupid - I marked it as fixed... guess I am still figuring out things. :)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.