LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-06-2004, 11:53 AM   #1
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
Question Why did Linux and X Crash?


Yesterday, my Linux PC started running very slowly after I loaded aMSN. The hard drive started working and continued to thrash for 45 minutes until I turned the power off. At first I was able to switch to a Konsole window that I already had open and used the top command and discovered that wish and X were both operating at about 20% CPU but nothing else seemed to be using much. After a few minutes, I was unable to switch between programs and was unable to issue any commands in Konsole. I used control+alt+f1 to get to a terminal login prompt but it took over 1 minute to bring up the prompt. I tried to login but it kept timing out and wouldn't even let me enter my password. I finally had to turn off the machine. Today, everything seems to be working fine.

Here are some more details:
--Red Hat 9 on a P2-350 with 300MB RAM
--the system had been up about a week without a reboot
--programs running included Mozilla, Evolution, Konsole, and aMSN
--desktop is KDE

Do you have any ideas on what might have caused this? Are there any log files that could provide some insight on what went wrong?

I looked at some of the files in /var/log but couldn't find anything helpful.

Last edited by andrewstr; 02-06-2004 at 11:55 AM.
 
Old 02-06-2004, 12:49 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
personally just given your info, my first guess would be that you have too much of a load in comparison to what your system specs are ....
i know if i was running a p2-350, the first thing i would ditch is KDE, cause as we know its a hog (on slower machines that is)..

i am sure you'll get other suggestions, but just to start you off i would suggest you try a lightweight window manager such as fluxbox ...
 
Old 02-06-2004, 01:12 PM   #3
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
My system doesn't exactly run quickly but is does work. Prior to the crash, all the applications I mentioned above had been running for over a week. With Evolution, Mozilla, and Konsole running on KDE, the top command says my CPU is 90-97% idle. I don't think that this explains the crash.

I installed fluxbox a couple of weeks ago. After using it a bit, I missed the "start" button and went back to KDE. I should probably run flux a bit more to get used to it but I must admit that I do like the feel of KDE even though I wish it ran quicker.
 
Old 02-06-2004, 02:07 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
try xfce-4. you may not miss kde.
 
Old 02-06-2004, 02:22 PM   #5
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
h/w,

What window manager do you use?
 
Old 02-06-2004, 02:37 PM   #6
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Sounds like a memory leak.

It shouldn't happen regardless of whether or not you run KDE. And your hardware isn't that deficient IMO, I've used slower hardware with similarly modern apps without any real problems.

Next time in top, hit shift-M to sort by memory usage in descending order (warning, deceptive results due to shared libraries and other factors) to get an idea of whether or not something's hogging massive unexplained amounts of memory.

Also run free just to see whether memory usage really is the problem.

In my experience Mozilla is most likely to blame here, but maybe I'm biased...
 
Old 02-06-2004, 03:27 PM   #7
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
Assuming a memory leak is to blame and I am able to find the application causing the leak, will stopping the application "release" the memory?
 
Old 02-06-2004, 03:35 PM   #8
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
Quote:
Originally posted by andrewstr
h/w,

What window manager do you use?
http://cs1.cs.nyu.edu/~prm225/img/scrshot/

thats my xfce-4.
 
Old 02-06-2004, 03:38 PM   #9
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
and to add to what snacky said, aMsn (the latest ver) does have some issues. i have seen it suddenly hang after peaking mem usage, but it doesnt crash my system.
 
Old 02-06-2004, 04:09 PM   #10
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
You have quite an interesting desktop! How is you terminal window transparent and so colorful? What program do you use that graphically shows the system statistics?

BTW...I am currently running xfce-4 and I like it. It is much nicer than Fluxbox (at least easier to configure). Is there a way to put lauchers into a hierarchy like KDE does with the "button" so I can have groupings of programs?
 
Old 02-06-2004, 04:27 PM   #11
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Quote:
Originally posted by h/w
http://cs1.cs.nyu.edu/~prm225/img/scrshot/

thats my xfce-4.
I use XFce 4 too and I've noticed less memory being used. This window manager rocks!
 
Old 02-06-2004, 04:29 PM   #12
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
window xparency - it's part of the options for the terminal. im using gnome-terminal and Eterm(for the system messages at the bottom) in that. you can either pass the args when u start it, or do it from the menubar options.
i dont know which one u talkin bout @ system stats.

as for groupings, as u saw, i have my messengers in one group, my office suite in another, multimedia in another ... like gnome/kde. right-click, add.
 
Old 02-06-2004, 05:10 PM   #13
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
OK Thanks! By system stats I meant the program running on the right side with all the meters showing memory, CPU, etc.
 
Old 02-06-2004, 05:14 PM   #14
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
ahh, thats gkrellm.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 09:34 AM
How to crash Linux? gammaray Linux - Newbie 20 06-10-2005 12:36 PM
Does Linux ever crash?! cvt Linux - General 16 02-28-2005 07:11 PM
kde crash, then other crash, now weird problems true_atlantis Linux - Laptop and Netbook 1 04-28-2004 12:01 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:48 AM.

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