Re: CPU and Memory usage of XFree86
On Wed, 2003-10-01 at 00:42, Nirmal Govind wrote:
> Hi.. I've noticed that the XFree86 process on my ibook is taking up a
> decent chunk of memory and some CPU and this seems to be slowing down my
> machine a bit .. when I do 'top', XFree86 is a process that's constantly
> at the top of the list..
X server memory consumption is a FAQ and has recently been discussed
here, but the X server should normally never hog the CPU (and it doesn't
here) unless there are clients flooding it with requests. If there are
no suspect clients, does the CPU hogging prevail over an X server
restart? Does it feel responsive?
> the process itself, when I do a ps shows up as:
> /usr/bin/X11/X -dpi 100 -nolisten tcp
> The above process has been started by root apparently.. But I started X
> using the startx command as myself, not root.. is this how it should be?
Yes, the X server can only work as root, the Xwrapper (/usr/X11R6/bin/X)
is needed for mere mortals to be able to startx.
Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer