LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2014, 05:01 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
100% CPU usage from Xorg process, how to to troubleshoot?


System was very sluggish and top revealed Xorg was using 99-100% of the CPU. OS is CentOS 5.8. I just have the desktop up, no windows besides a terminal are running. pstack trace of Xorg is below. Any ideas what the issue is?

Code:
[root@localhost ~]# ps -ef | grep Xorg
root      8786  6472 13 Jul25 tty7     02:26:04 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
[root@localhost ~]# pstack 8786
#0  0x00002ba945e9d0bb in ?? () from /usr/lib64/xorg/modules/libfb.so
#1  0x00002ba945e9dbaf in fb24_32GetImage () from /usr/lib64/xorg/modules/libfb.so
#2  0x00002ba9460dbdc7 in ?? () from /usr/lib64/xorg/modules/libxaa.so
#3  0x00000000004cfc7e in ?? ()
#4  0x000000000051def9 in ?? ()
#5  0x00000000004e30ec in ?? ()
#6  0x00000000004f8a69 in ?? ()
#7  0x00000000004f9249 in ?? ()
#8  0x000000000044b45a in Dispatch ()
#9  0x000000000043376e in main ()
[root@localhost ~]#
 
Old 07-26-2014, 07:44 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Normally, if their isn't a functionality problem (if the software does what it's supposed to do without throwing errors or bombing out) I've found issues related to performance are often related to drivers, or driver "type" emulations.
Looking at your list, the frame buffer driver (libfb.so) appears to fit that description. One way to check is to go here and let the web server test your frame buffer performance.
 
Old 07-26-2014, 09:35 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
High CPU usage from X usually indicates that you run on some kind of software rendering instead of using the GPU. What video hardware do you have and which driver is in use?
Please provide the output of
Code:
lspci | grep VGA
glxinfo | grep render

Last edited by TobiSGD; 07-26-2014 at 01:57 PM.
 
Old 07-26-2014, 10:14 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
From a terminal you can run this command:
Code:
top
That should give you an idea on who's hogging your memory/cpu.
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid 3 near 100% cpu usage and high RAM usage piman Linux - Software 1 11-16-2013 03:20 AM
How To Troubleshoot High CPU Usage richtestani Linux - Server 11 06-04-2013 09:23 AM
renice process to allow it 100% cpu usage rey Linux - Software 1 11-22-2012 05:45 PM
Process gnome-appearance-properties causing 100 percent CPU Usage Rob793 Linux - Newbie 3 03-23-2011 08:27 PM
cpu usage 100% ahhkyyda Linux - Enterprise 2 09-03-2009 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration