LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2005, 06:22 AM   #1
titusind
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
analyzing freezes


Hi

I am having some trouble with my linuxserver. Sometimes it just freezes and i have to shut it down and reboot it.
I am wondering wether there exits some kind of software that can monitor the server or read the logs and give me an indication of the kind of problem i am having. If the freezes have something in common, for example an request to a specific application or so.

Best regards,
Lasse
 
Old 11-14-2005, 11:48 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
this is a hard one because the causes can be many and logging often stops.
sometimes the cause is hardware -- temperature and memory and harddrive come to mind
http://www.memtest86.com/
but thats not to say Linux software won't lock it certainly will especially with the more commercial race to see whos fastest to put out the lastest untested build type distributions. Sometimes they are total crap.
did you change something lately ? driver os version hardware/software upgrade something or like that ?
make sure you are not just running out of memory without adequate swap.
make a big (2G) extra swapfile to see
See "man mkswap", "man dd", "man swapon" for more info on swapfiles
then i guess try to get some clue from the logs at least at what level the race/lock condition or segmentation fault or whatever is hapening (low level like kernel of higher level like gui like x)
or a fight between x and the kernel
pstree
is a fun command to see what's related to what.
and strace
http://sourceforge.net/projects/strace/
can sometimes help
and enable System Request (SysRq) keys might help you figure it out with some thought about how you want to use it
http://www.novell.com/coolsolutions/feature/15751.html

wish i knew more -- it's a hard thing to diagnose
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Analyzing Protein Sequences Lostlucidty Linux - Software 7 05-24-2005 10:14 AM
analyzing /proc/net/route output cranium2004 Linux - Networking 2 10-27-2004 07:48 AM
Any tool for analyzing Samba logfiles? mark1 Linux - Networking 2 08-07-2004 11:14 AM
analyzing crash dumps on rhel 3.0 u2 jazzn1doog Linux - Enterprise 0 07-28-2004 05:08 PM
Analyzing Apache Logs dm0nkz Slackware 2 04-26-2004 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 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