[GLLUG] X using too much CPU

Mark Szidik/mlc SzidikM at mlcnet.org
Thu Jul 14 15:20:50 EDT 2005





Andy,

At MLC we do not run X on any of our servers.  Instead we do what others
mentioned about running X applications on the host (your Oracle box) and
have the display sent to a remote system (usually the PC on your desk).
The remote system (your desktop PC) is runs the X server software.  Your PC
could be another *NIX box or a Windows box running an Xserver (I like
Microimages MI/X for use on Windows ($25), Cygwin/X is free but slow).

The general steps to get this going is:

-SSH to the host with X forwarding turned on   ($ ssh -X hostname)  On
Windows use the Putty SSH client
-Start X server on your PC (MI/X for example)
-Return to ssh session and start your GUI program (startkde for example)
will magically appear in the X server on your PC

---
Mark Szidik, CIO
Michigan Library Consortium
1407 Rensen Street, Suite 1,  Lansing, MI 48910-3657
Ph:800.530.9019 x117   Fax:517.394.2096
MLC - Partnerships. Solutions. Excellence.



                                                                           
             "Andy Lee"                                                    
             <ALEE at courts.mi.g                                             
             ov>                                                        To 
             Sent by:                  <linux-user at egr.msu.edu>, "Matt     
             linux-user-bounce         Graham" <danceswithcrows at usa.net>   
             s at egr.msu.edu                                              cc 
                                                                           
                                                                   Subject 
             07/14/05 03:08 PM         Re: [GLLUG] X using too much CPU    
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I've had several people question why I've got X on this server. I thought
about this a bit when I set it up and decided the extra administration
tools would be nice, also, all of the oracle setup programs are GUI. This
is still in development, and these are the sort of issues I need to resolve
before I move the production servers to Linux. Honestly, a lot of the
problem is that I'm learning how to manage servers as I go. I've used Linux
at home and as a developer, but never had to deal with server
administration before.

>>> Matt Graham <danceswithcrows at usa.net> 07/14/05 02:58PM >>>
On Thursday 14 July 2005 14:45, after a long battle with technology,
Andy Lee wrote:
> Within a couple hours of restarting X it's right back up where it
> was. strace on the process shows the following repeating:
> gettimeofday({1121365253, 535932}, NULL) = 0
[snip]
> root     31952 99.9  0.6 23264 13184 ?       R    12:12 139:18
> /usr/X11R6/bin/X

> Any thoughts?

This is exactly what people on Usenet described a while back; X calling
gettimeofday() over and over and over again.  To fix it, either don't
run X (why run an X server on a machine that's a server?) or grab the
vanilla Xorg tarballs and compile them--the vanilla Xorg doesn't have
this problem AFAIK; just the SuSE-patched version.

--
  Och Aye. Twa pounds ten, and that's cutting me puir wee throatie.
  Would ye want that haggis supersized?
        -- McDibbler (Suresh Ramasubramanian, ASR Oct. 1, 2003)
There is no Darkness in Eternity/But only Light too dim for us to see
_______________________________________________
linux-user mailing list
linux-user at egr.msu.edu
http://www.egr.msu.edu/mailman/listinfo/linux-user


_______________________________________________
linux-user mailing list
linux-user at egr.msu.edu
http://www.egr.msu.edu/mailman/listinfo/linux-user





More information about the linux-user mailing list