Gentoo suddenly gone slow...

Associate
Joined
5 Jan 2003
Posts
757
Location
Norfolk
I've recently migrated from windows, after a drive failure, and I thought I'd have a go with Gentoo again.
That was roughly two weeks ago and the system + kde was running along nicely and I was well chuffed with it.
The other night, however, I emerged VNC, using this guide on the gentoo wiki.

Everything emerged fine and I got no error messages. The testing part didn't go too well, but I figured I'd look at it in the morning a it was a port/res thing, so I turned it off....

Next day I came home turned it on, nvidia splash screen came up then the backgound to the login manager.... then I wait.... I waited some more.... ~1and half minutes later the login screen appear and I can log in.
Again I log in, then I have to wait for about 5 minutes for everything to load. Once it does and I attempt to open a program/taskbar/menu it slows right down again.
I've ssh'd into the box via my laptop and some processes are jumping up to 99%cpu and staying there for a while (top). Normally they jumped up and went down again, with everything loaded. ps -A doesn't show anything that shouldn't be there.

Anyone got any ideas what goin on?

I've tried changing the login manager (even to none at all), and installing Gnome to see if that's okay, but its not and is just as bad, leading me to think I've buggered up some part of the system somewhere....
Kernel loads up fine and hasn't been changed.

Cheers :D

edit:
I've 'emerge unmerge vnc' and disable xinitd, but it doesn't help :(
And basically tried to reverse everything I done on the guide...
 
Last edited:
Can you give the output of 'top' and see which processes are eating all the cpu up. Check the logs as well, see if you got any daemons going crazy.
 
Hi,
top gives the following, but the actual cpu spikes up to 99% whenever an app is launched and is the name of the app, i.e. firefox is firefox-bin. The kde kicker creeps to 99% when kde loads and they stay at 99% for quite a while.

Code:
localhost ~ # top
top - 21:12:21 up 9 min,  2 users,  load average: 0.01, 0.38, 0.31
Tasks:  64 total,   3 running,  61 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 99.7% id,  0.0% wa,  0.0% hi,  0.3% si
Mem:    905380k total,   346424k used,   558956k free,    10552k buffers
Swap:  2070424k total,        0k used,  2070424k free,   116460k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      16   0  1508  544  472 S  0.0  0.1   0:00.32 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 khelper
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
    7 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kblockd/0
    8 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
  124 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
  127 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
  209 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  210 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  211 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
  212 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  213 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 cifsoplockd
  214 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 cifsdnotifyd
  215 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 xfslogd/0
  216 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 xfsdatad/0

ifconfig shows the looback is up and running.
I'm getting no error messages anywhere :(

I might remove bar the base system and try again. If that doesn't work I'll have to do a overhaul again and start from scratch :(

Cheers
 
I had no luck and after bangin' my head against the wall I've done a fresh install :p

only another 16ish hours for emerge kde :eek:

Cheers though.
 
Back
Top Bottom