Debugging X server's CPU burning

Daniel Stone daniel at fooishbar.org
Thu May 3 13:33:42 PDT 2007


On Thu, May 03, 2007 at 03:26:52PM -0400, Ross Vandegrift wrote:
> We have a web page on our intranet - it's an employee photo gallery.
> The page isn't terribly complicated and loads in Mozilla in a second
> or two.
> 
> While the page is open, the X server burns 100% of CPU even if no
> scrolling is happening.  If I had to guess, there may be something
> rendering on the page.  I noticed this when a co-worker commented that
> it behaves normally with Mozilla on Windows.
> 
> I'm not really familiar with debugging X applications - how would you
> guys suggest I start tracking down what the bad behavior here is?

The main thing to do is to run oprofile (google for instructions), to
see what the culprit is.  A session with gdb might help figure out what
in Mozilla is going wrong.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070503/1d4c9acc/attachment.pgp>


More information about the xorg mailing list