LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-05-2012, 12:24 PM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 146
Blog Entries: 1

Rep: Reputation: 12
Freezes while unattended: where to start looking


I'm running Debian stable on quite old hardware.
When I leave my PC in Debian however, it will occasionally freeze. (Alt SysRq not working.) When running Windows XP, it never happens.
So where do I start diagnosing the problem?
 
Old 10-05-2012, 03:25 PM   #2
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 138Reputation: 138
Do you sue a screensaver or power management? If so try turning them off first and see if it solves the problem.
 
Old 10-06-2012, 04:28 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You should check the logs in '/var/log/messages' and syslog.
 
Old 10-06-2012, 05:32 AM   #4
elmig
LQ Newbie
 
Registered: Aug 2012
Distribution: Debian
Posts: 12

Rep: Reputation: Disabled
also the processes that are running:

~# ps aux
 
Old 10-06-2012, 08:56 AM   #5
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 146
Blog Entries: 1

Original Poster
Rep: Reputation: 12
Thanks for the replies. Screensaver and power management were not enabled. I've checked the root partition with e2fsck -ccfkv; no disk errors.
It might have to do with doing things at 100% CPU. Thunar apparently occasionally crashes when that's true. (I didn't have conky before, but did notice (silent) crashes. Now that I have Conky that seems to be a criterium.)
Quote:
You should check the logs in '/var/log/messages' and syslog.
I had a look. The things that jump out are "quirks" reported: my mobo uses some old vt82c686 chipset or something; and apparently wicd segfaulted once.
Should I remember the times of the crashes, or is there another way to search through those logs? :-/ Searching for "rsyslogd" seems to look up the start of the log (among other things).
BTW hopefully unrelated is that I get a kernel failure or something when I try to mount a cdrom (not auto-detected, blurts out "dunno what iso9660 is" if I try manually). Could it just be the old guy is going to kick the bucket soon? :-/ Maybe I should do a little stress testing in Windows, to exclude that...
 
Old 10-06-2012, 09:12 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You should look at the log right before the last boot, this was when in crashed. So, just go to the end of the file, then scroll up until you find the beginning of the last boot, when the times suddenly change. When it crashes there likely will be no more output to the logs until the next boot, so look for this time gap.
 
Old 10-12-2012, 11:36 AM   #7
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 146
Blog Entries: 1

Original Poster
Rep: Reputation: 12
Thanks for your suggestions. It turned out my memory was failing. The condition for hanging system is quite random and more prone to happen when doing disk paging.
Eventually I also encountered trouble in Windows. I should have run memtest earlier... :-X

Last edited by Weapon S; 10-12-2012 at 11:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Red Hat 8.0 Freezes up when left unattended over night hibrahimkhail Red Hat 2 08-03-2012 06:07 PM
Start up freezes in 10.0 stevest Suse/Novell 2 05-06-2006 08:12 PM
usb freezes on start up master Linux - Hardware 16 09-11-2004 05:16 AM
RedHat 9.0 freezes on start-up Ilushka Linux - Newbie 1 04-07-2004 10:43 PM
My GAIM freezes every time I start it!!! Kramer Linux - Software 2 11-12-2003 12:02 AM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration