[CentOS] X windows is taking 99 percent of cpu

Jerry Geis

geisj at pagestation.com
Wed Nov 30 16:26:43 UTC 2005


I am running centos 4.2 on a P4 3 GIG with 2 GIG ram.
This machine has been fine for months. my laptop is fine.

X is taking 99 percent of the cpu after some time. All I was doing was 
editing code.

If I killall -9 X it comes back for a while then maxes out again.

Any ideas on something to tweek??? THanks,


jerry
------------

Tasks: 120 total,   2 running, 118 sleeping,   0 stopped,   0 zombie
Cpu(s): 50.2% us,  0.0% sy,  0.0% ni, 49.8% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   2074188k total,   742456k used,  1331732k free,    39704k buffers
Swap: 19984840k total,        0k used, 19984840k free,   527876k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5270 root      25   0  170m  21m 5808 R 99.9  1.0   7:26.25 X
    1 root      16   0  2264  556  476 S  0.0  0.0   0:00.44 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.02 migration/1
    5 root      34  19     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd/1
    6 root       5 -10     0    0    0 S  0.0  0.0   0:00.10 events/0
    7 root       5 -10     0    0    0 S  0.0  0.0   0:00.06 events/1
    8 root       6 -10     0    0    0 S  0.0  0.0   0:00.00 khelper
    9 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 kacpid
   33 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   34 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/1
   44 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
   45 root      15   0     0    0    0 S  0.0  0.0   0:00.25 pdflush
   35 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khubd
   47 root      13 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
   48 root       9 -10     0    0    0 S  0.0  0.0   0:00.00 aio/1
   46 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
  122 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
  192 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 ata/0
  193 root       7 -10     0    0    0 S  0.0  0.0   0:00.00 ata/1
  195 root      20   0     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
  196 root      19   0     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_1
  214 root      15   0     0    0    0 S  0.0  0.0   0:00.18 kjournald
 1144 root       6 -10  1560  460  380 S  0.0  0.0   0:00.02 udevd
 1348 root      18   0     0    0    0 S  0.0  0.0   0:00.00 shpchpd_event
 1828 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kauditd
 2029 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kmirrord
 2030 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kmir_mon
 2049 root      15   0     0    0    0 S  0.0  0.0   0:00.28 kjournald
 2050 root      19   0     0    0    0 S  0.0  0.0   0:00.00 kjournald
 2789 root      16   0  2408  596  508 S  0.0  0.0   0:00.06 syslogd
 2793 root      15   0  3072  472  404 S  0.0  0.0   0:00.00 klogd
 2804 root      16   0  2584  476  404 S  0.0  0.0   0:00.00 irqbalance
 2815 rpc       16   0  2980  580  484 S  0.0  0.0   0:00.00 portmap
 2835 rpcuser   16   0  2440  756  656 S  0.0  0.0   0:00.00 rpc.statd
 2868 root      16   0  5048 1016  844 S  0.0  0.0   0:00.01 rpc.idmapd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20051130/c0133b17/attachment.html>


More information about the CentOS mailing list