Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-17-2003, 02:46 PM
|
#1
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Rep:
|
CPU usage 100%
Hello everybody,it's my first post because i like to solve problems myself,but now i'am really lost.When i try to move any open window cpu usage raises to 100%,i have celeron 1100Mhz,256ram and 32MB video,i really dont think that gnome is such a monster(Red Hat 9.0),i dont know there is the problem,i remember i had the same problem in Alt Linux,but it had a wonderful utility where you could set CPU priority to low,and then everything began to fly !!!,i miss that in Red Hat,please suggest what to do.
|
|
|
11-17-2003, 04:10 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
There's something wrong for sure...Please open a terminal and tun 'top' in it. It shows most processor and memory hungry processes. Then try to move any window. Please write which process uses so much power.
|
|
|
11-17-2003, 05:18 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
it's X,you know i even can draw with window,i move it,it leaves a long tail....
|
|
|
11-17-2003, 05:55 PM
|
#4
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
If you ever compiled a kernel youself try it with vanilla sources.I had a problem like that with patched sources and top wouldn't even show that CPU was at 100%.
|
|
|
11-17-2003, 06:22 PM
|
#5
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
Vanilla Sources...hmm,something interesting,i'll try that later,but now it could be good to solve this problem without compiling the kernel.
|
|
|
11-17-2003, 07:31 PM
|
#6
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Just a shot in the dark:disable acpi or just check with top as Mara pointed out.Other than that please state your video wrangler and the drivers you use.
|
|
|
11-17-2003, 08:46 PM
|
#7
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
modprobe: Can't locate module acpi,and in service configuration app i also dont see acpi,drivers:standart nvidia which came from rh9 instalation cd,i am using 1152on864 resoliution with millions of colours,i tried 1024x768 ant thousands of colors,but the result was the same,video card:riva tnt2(32MB),all the software runs well,but the feeling is that i have twice slower CPU that at real.
|
|
|
11-17-2003, 08:56 PM
|
#8
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
As Mara and crashmeister asked, what is the output of top. It will tell what apps or apps are using CPU cycles.
Last edited by darthtux; 11-17-2003 at 09:25 PM.
|
|
|
11-17-2003, 09:09 PM
|
#9
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
05:07:52 up 12:20, 3 users, load average: 1.00, 0.77, 0.67
59 processes: 56 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 47.2% user 2.8% system 0.0% nice 0.0% iowait 50.0% idle
Mem: 255248k av, 233960k used, 21288k free, 0k shrd, 9032k buff
170452k actv, 396k in_d, 3448k in_c
Swap: 522072k av, 178456k used, 343616k free 88784k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
6251 root 16 0 91464 14M 1148 R 36.7 5.6 103:13 0 X
6420 root 15 0 31652 29M 9972 S 6.7 11.7 7:28 0 mozilla-bin
6441 root 15 0 5980 5164 2896 S 3.1 2.0 8:47 0 gnome-system-
6346 root 15 0 23344 17M 3372 S 1.5 6.9 3:07 0 gnome-panel
6331 root 15 0 4300 3260 2020 S 0.5 1.2 1:10 0 metacity
9277 root 15 0 8508 8504 4740 R 0.5 3.3 0:12 0 gnome-termina
6359 root 15 0 2320 1488 1068 S 0.1 0.5 0:01 0 notification-
1 root 15 0 104 80 56 S 0.0 0.0 0:04 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd_CPU
9 root 16 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
7 root 15 0 0 0 0 SW 0.0 0.0 0:16 0 kscand/Normal
8 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/HighMe
|
|
|
11-18-2003, 04:10 AM
|
#10
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Check with the /etc/X11/XF86Config file if it uses the nvidia driver or the vesa driver.X should use about 0.5% of the Cpu while sitting around;not 45%.You can also try the nvidia driver from their website.
|
|
|
11-18-2003, 08:34 AM
|
#11
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
yes,the driver is nvidia ("nv"),what about the new ones,so i have them,but there comes another story,they require kernel-headers-2.4.20-20.9 for i686,i dont know why they are so rare because i cant find them,the most interesting thing that those floating windows became from fresh instalation,i really havent damaged my system,and is a native Red Hat 9.0 "nv" driver so bad ? p.s. even my mouse uses half processor resources when i am spining around with it.
|
|
|
11-18-2003, 12:37 PM
|
#12
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
well i have installed newest nvidia drivers without instaling kernel headers,kernel source was enough for them,the situation got better,but just better,kernel source which i have is i386 and the kernel is i686,maybe this is a problem too.The output of top now :
20:37:03 up 45 min, 2 users, load average: 0.68, 0.58, 0.54
62 processes: 55 sleeping, 6 running, 0 zombie, 1 stopped
CPU states: 45.1% user 5.0% system 0.0% nice 0.0% iowait 49.8% idle
Mem: 255248k av, 249408k used, 5840k free, 0k shrd, 15600k buff
188172k actv, 21772k in_d, 9368k in_c
Swap: 522072k av, 500k used, 521572k free 130940k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
3084 root 16 0 88020 21M 5060 R 34.2 8.7 4:00 0 X
3206 root 16 0 10988 10M 7364 R 7.2 4.3 0:08 0 gnome-termina
3204 root 15 0 9736 9732 6980 S 2.5 3.8 0:30 0 gnome-system-
3235 root 15 0 29560 28M 14436 R 1.3 11.5 0:34 0 mozilla-bin
3182 root 15 0 12324 12M 8500 S 0.7 4.8 0:03 0 gnome-panel
3192 root 15 0 15960 15M 9624 S 0.7 6.2 0:04 0 rhn-applet-gu
3178 root 15 0 6868 6868 4972 S 0.3 2.6 0:02 0 metacity
3276 root 16 0 1060 1060 856 R 0.3 0.4 0:00 0 top
3184 root 15 0 16924 16M 9824 S 0.1 6.6 0:03 0 nautilus
1 root 15 0 104 84 56 S 0.0 0.0 0:04 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 RW 0.0 0.0 0:00 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd_CPU
9 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 RW 0.0 0.0 0:00 0 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
|
|
|
11-18-2003, 04:45 PM
|
#13
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
I doubt that the difference between the kernel source is a problem.You are still way too high with the CPU for X.Check the XFree.log in /var/log/ There might be some error messages that help.
|
|
|
11-18-2003, 05:52 PM
|
#14
|
LQ Newbie
Registered: Oct 2003
Distribution: Vector Linux 4.0
Posts: 11
Original Poster
Rep:
|
now i really wish that /var/log/xfree.log had some error messages,but it hasn't,nobody tells me where is the problem,even logs look fine ,must be it's time to gather all information
,and try to compile a new kernel...
|
|
|
11-18-2003, 06:20 PM
|
#15
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
It should either be a problem with xfree or the kernel.Depending on which is less annoying with your distro I'd try another xfree version or a different kernel.
After all I consider myself as master of the known universe but I get it wrong once in a while,too
Last edited by crashmeister; 11-18-2003 at 06:22 PM.
|
|
|
All times are GMT -5. The time now is 03:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|