LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-17-2010, 03:09 AM   #1
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 0
Angry Fedora 13 hangs from time to time


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
 
Old 10-17-2010, 02:09 PM   #2
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
Does it hang much after startup? Does it hang during startup? What was running when it happened?

I have F13 running flawlessly since day 1.

Please send information so we can pass ideas about what to look for.
 
Old 10-17-2010, 11:32 PM   #3
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Quote:
Originally Posted by eliassal View Post
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

also, try changing to console 1
(ctrl + alt + f1)

then try a

(ctrl + c) - that will kill Xwindows

then try from bash

start x


That should start your X Window Session Again
 
Old 10-20-2010, 08:25 AM   #4
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
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
 
Old 10-20-2010, 01:56 PM   #5
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
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.
 
Old 10-21-2010, 04:34 AM   #6
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
Chnaged inittab but

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.

Thanks
 
Old 10-21-2010, 05:06 AM   #7
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
Hanged again

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.
 
Old 10-23-2010, 07:04 AM   #8
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
Angry Urgent help urgent help

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?
 
Old 10-23-2010, 07:09 AM   #9
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
Urgent help urgent help

Not able to log in whatever mode
 
Old 10-23-2010, 10:17 AM   #10
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
More details

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"
 
Old 10-23-2010, 11:32 AM   #11
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
sorted out

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.

Thanks
 
Old 11-04-2010, 06:47 PM   #12
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
Discovered what is freezing

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
 
Old 11-06-2010, 07:55 PM   #13
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
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.

Thanks for your help
 
Old 11-06-2010, 09:10 PM   #14
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
A couple of suggestions:

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:

https://addons.mozilla.org/en-US/firefox/addon/433/

3. Finally, try "kill -9" (instead of just "kill") to see if that helps.

"init 3" might also help.
 
Old 11-07-2010, 02:31 AM   #15
eliassal
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 0
Thanks for your response.
I have 2Gig physical RAM, 4G of swap
I rebooted may machine since yesterday, Here is output of free

Quote:
total used free shared buffers cached
Mem: 2057208 2016888 40320 0 196588 808616
-/+ buffers/cache: 1011684 1045524
Swap: 4095992 0 4095992
here is the output with -l
Quote:
total used free shared buffers cached
Mem: 2057208 1993208 64000 0 191384 805288
Low: 2057208 1993208 64000
High: 0 0 0
-/+ buffers/cache: 996536 1060672
Swap: 4095992 0 4095992
Yers, I have frefox but not flash, I never succeeded in adding Flash to my machine
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to understand user time, sys time, wait time, idle time of CPU guixingyi Linux - Server 1 08-24-2010 10:10 AM
Kill process with high CPU usage after X time? touser Linux - Newbie 4 12-27-2009 09:52 PM
pdflush daemon consuming 100% CPU usage for longer time makrandelex Linux - Server 1 09-15-2009 09:43 PM
LXer: Measuring Heavy CPU Usage Over Time On Linux And Unix LXer Syndicated Linux News 0 03-31-2009 07:00 AM
cpu usage stuck to 100% all the time mohama Linux - Software 0 03-05-2006 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration