X11 leaking?
June 3, 2008 3:24 PM
Subscribe
Does my X11 server have a memory leak?
My office workstation is a Dell Precision 390, which has a dual-core Core 2 Duo in it, with 4 GB of RAM. The workstation is running Red Hat Enterprise Linux 4:
$ uname -a
Linux ... 2.6.9-67.0.7.ELsmp #1 SMP Wed Feb 27 04:47:23 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Here's the version of X11 this workstation is running:
$ xterm -v
X.Org 6.8.2(192)
$ rpm -qa xorg-x11
xorg-x11-6.8.2-1.EL.33.0.2
Running system monitor, one monitor (GNU System Monitor 2.8) claims I have 100% of the memory in use, of which 37% is cached. Another monitor (System Monitor 2.7) suggests 2.2 GiB of 3.6 GiB is in use.
If I run
top, the process
X (or,
/usr/X11R6/bin/X) takes up the most memory and CPU, and reports a different value from the other two monitors:
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
5508 root 15 0 6 29:24.93 45.4 2503m 1.6g 9600 S X
Is it normal for the X11 server to use this much memory? What can I do to improve this?
I'm running GNOME 2.8 as the desktop manager.
My workstation has frequent "pauses" where, for example, I try to do work and the computer freezes for a moment or two, then keeps working. The IT guy already replaced RHEL 5 with RHEL 4 and that helped a lot, but my computer is still slow. Using KDE instead of GNOME hasn't helped much.
I can't really do much to change workstation settings as it is locked down. If there's a memory leak or other technical problem, I'd like to go to my IT guy with as much info as possible to save his time (and mine). I'm running some intensive work and need as much CPU and memory as I can get.
Thanks for any advice.
posted by Blazecock Pileon to computers & internet (7 comments total)
1 user marked this as a favorite
There could be other causes to the problem - a slow disk? Mapped network folders which contain important system files that are slow to access? I assume you have several NFS shares mounted - any of them have stuff you're using heavily that you can move locally?
posted by GuyZero at 3:30 PM on June 3