CPU usage shooting almost aFC 13 hangs from time to time
FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
Hi, I have a fresh new install of FC 13 64 bit, it seems working fine until 1 moment where everyhting freezes and the only rebooting is the possible solution.
I see a siren when I log as root, it has some information of which services started with status OK/Failed but no indication what went wrong How can this be investigated as I am not so system, I am more application and developer
Hi, I have a fresh new install of FC 13 64 bit, it seems working fine until 1 moment where everyhting freezes and the only rebooting is the possible solution.
I see a siren when I log as root, it has some information of which services started with status OK/Failed but no indication what went wrong How can this be investigated as I am not so system, I am more application and developer
check your logs and see what might be the culprit...
cat /var/log/messages
It is not at startup nor boot time. I log, use it for a certain amount of time, then all of a sudden it hangs and can do nothing.
For instance, this morning when I was reading your responses, it hanged, I tried to follow zer0signal's steps, nothing was happeneing and I needed to reboot.
I went through /var/log/messages, I could not find any hint (maybe because I am not expert in linux system :-))
Thanks for your help
try booting into run level 3
vi /etc/inittab
change the value from 5 to 3
save and reboot machine;
when you get to the logon prompt - in run level 3
logon as you
then type startx
if it hangs again in X
do - ctl + alt + f1
it should bring you back to command line
then hit clt + c that will kill the current X session thats running;
try to startx again
also when it hangs note what you were doing when it happened - might be able to draw a conclusion on where to look further; IE: listening to music, firefox, movie, empathy
Last edited by zer0signal; 10-20-2010 at 02:00 PM.
I changed the inittab to 3, rebooted, logged as root, then typed startx, everything went fine except when I tried to do "switch user", I got a message box indicating
Unable to start new display
The name org.gnome.displaymanager was not provided by any .service files
So how can I switch to another users. I always need to have a session opened with my user name as well as root. That is because VLC doesnt run in root context, and my user, after givingh him all necessary privileges can not do a lot of things that can be done by root user.
After changing inittab, logged as root, logged out , changed logon
su myuser
did startx, a new graphical session opened, launched evolution, deleted acouple of emails, then tried to delete other emails and HOP, FEDORA HANGED AGAIN, doing CTRL + ALT + F1 does absolutly nothing.
Since this morning, I had my FC 13 freezed, I rebooted, since that time FC tries to boot grapically and hangs on a blue page with a white appel iun the center, sometimes it manages (the apple) to have the letter F written inside and nothing else possible except Ctrl+Alt+Del
What is happening?
I want to add the following
One of the main things I changed this morning by folloing was the addition of a neww Virtual host to apache to listen to port 4431, which seems failing to start.
I followed instructions found at (Setting up an SSL-enabled Web site with Apache 2.2.4
) http://techrepublic.com.com/2415-3513_11-167032.html
I didnt mention this as I didnt imagine that a service not being able to start would bring to a halt the whole system.
I rebooted the suystem using Ctrl + Alt + del, I noticed an error opposite to mod_ssl which indicates that "Private key not found"
I managed to boot with runlevel 1, then logged as root, I was requested a passphrase for my certificate that I installed this morning, then I was able to do startx,
it seems that httpd, mod_ssl was making it hanging. Now I reconfigured httpd to run automatically only on runlevel 4 anf 5 so in text mode does not run and allows me to run it manually
Now the question is how it is possible to make httpd run without requesting this passphrase, or at least give it to him not manually.
In fact after deep investigation, when FC hangs, I am able to access FC box with remote desktop which lead me to think that it is something else.
In fact it is the keyboard that freezes and does not respond anymore.
I tried several keyboards, it works sometimes for 1 day, sometimes 2 and sometimes 1 hour and it hangs.
What can be the root of this issue?
Thanks for your help
CPU usage shooting almost aFC 13 hangs from time to time
I have my FC 13 hangs from time to time while I am logged as root and opened a thread (http://www.linuxquestions.org/questi...o-time-838599/).
Until today, I thought it was keyboard that freezed.
I manage top connect remotly using xrdp from another machine with a user other than root, everything executes very slowly.
I discovered that Both CPUs on my box are 95% and more, they never get below.
In a terminal session, when I issue "Top" command I get this
Quote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1827 root 20 0 164m 28m 5492 R 97.2 1.4 41:43.08 Xorg
19426 root 20 0 4224 484 116 R 32.4 0.0 131:04.93 gzip
2141 root 20 0 44564 404 312 S 22.1 0.0 6:04.05 udisks-daemon
19033 root 20 0 11052 2452 444 S 11.2 0.1 36:41.05 mount.ntfs
27030 salam 20 0 431m 18m 13m R 5.8 0.9 0:10.53 gnome-system-mo
18949 salam 20 0 921m 145m 13m S 5.1 7.2 51:01.49 firefox
26839 root 20 0 15096 1352 900 R 3.2 0.1 0:14.64 top
17629 salam 20 0 131m 46m 7088 S 1.9 2.3 9:58.78 Xvnc
19102 salam 20 0 278m 4480 2896 S 1.0 0.2 21:12.08 gtk-gnash
19185 salam 20 0 278m 3392 2440 S 1.0 0.2 19:29.02 gtk-gnash
24972 salam 20 0 278m 6068 3992 S 1.0 0.3 0:46.10 gtk-gnash
25054 salam 20 0 280m 7644 4588 S 1.0 0.4 1:20.65 gtk-gnash
34 root 20 0 0 0 0 S 0.6 0.0 3:46.83 kswapd0
19140 salam 20 0 279m 3316 2428 S 0.6 0.2 14:51.63 gtk-gnash
19178 salam 20 0 280m 3384 2432 S 0.6 0.2 19:39.58 gtk-gnash
19425 root 20 0 20492 1240 360 S 0.6 0.1 3:41.45 tar
24983 salam 20 0 278m 5540 3776 S 0.6 0.3 0:22.49 gtk-gnash
It seems that the xOrg (for root session) consuming 95 to 98 %.
I tried killing the xOrg as follows using the process id
Code:
kill 1827
it doesnt wor
I need to reboot my machine in order to be able to work directly again.
1. You might need more RAM
You didn't show any of the statistics at the top of your "top" output, but I'll bet "swap" is non-zero. Which could easily account for the side effects of "high CPU" and "system freezing".
You MIGHT be able to solve the whole problem with more RAM.
2. You're running Firefox (good), and Flash can be a major problem, too.
Consider installing the Flash blocker and see if that helps:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.