Re: X (xorg 7.3) consumes all the CPU

2007-10-10 Thread Mel
On Wednesday 10 October 2007 05:01:50 Paul Schmehl wrote:
 Is there a way to start a process so that memory and CPU usage can be
 tracked closely enough to determine what the cause of 100% CPU use would
 be?  I've got a box, recently installed 6.2 RELEASE with xorg 7.3
 installed, and when X is started, CPU goes to 100% and stays there.

 Here's the bad machine
  1510 pauls 1   00   277M  7076K rdnrel 0  13:41 100.05% Xorg

To shoot the obvious: it's not running as root here.
No idea what rdnrel is for CPU state.

ktrace(1) should show what it's doing. If that's not enough info, you could 
always attach gdb to it.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X (xorg 7.3) consumes all the CPU

2007-10-10 Thread Giorgos Keramidas
On 2007-10-09 22:01, Paul Schmehl [EMAIL PROTECTED] wrote:
 Is there a way to start a process so that memory and CPU usage can be
 tracked closely enough to determine what the cause of 100% CPU use
 would be?  I've got a box, recently installed 6.2 RELEASE with xorg
 7.3 installed, and when X is started, CPU goes to 100% and stays
 there.
 
 Here's the bad machine
 1510 pauls 1   00   277M  7076K rdnrel 0  13:41 100.05% Xorg
 
 Here's my desktop
  868 root  1  960   202M   134M select 119:09  0.00% Xorg
 
 As you can see, memory and CPU use is sky high on the bad box.
 Rather than blow it away and reinstall, I'd like to try to figure out
 what's wrong and fix it.  What utilities could I use to do that?

Are you running `powerd' in `adaptive' mode on the 100%-CPU system?

I've seen this happening on FreeBSD 7.0-CURRENT a few times, when
powerd(8) lowered the CPU frequency to a minimum and X.org started
consuming 100% CPU.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]