LinuxQuestions.org
Visit Jeremy's Blog.
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 12-03-2007, 03:19 AM   #1
kutty_prasad
Member
 
Registered: Sep 2006
Location: Bangalore,India
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86

Rep: Reputation: 16
Question system hang ?


Hi All,

I have question regarding swap usage. Recently few of our servers were not responding to any login (rsh,ssh,telnet,etc). After sometime even ping won't respond. The logs are clean and does not show any information related to system hang. My question is, will heavy swapping cause the system to hang. (For example, running a memory hungry application). It yes, please explain why? BTW: We use RHEL4-U4 x86_64 WS.

Thanks.
 
Old 12-03-2007, 03:48 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If your machine gets memory starved it might start to perform really badly, to the point where you cannot do very much at all. Extreme memory starvation may lead to thrashing (where all the time is spent paging, and little or no work gets done). As a system administrator, you should monitor your systems and apply limits to processes to prevent this.

[edit]Of course that is a lot easier said than done...[/edit]
 
Old 12-03-2007, 04:37 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Better off looking for evidence than guessing.
RHEL should have sysstat installed - what does sar show ???.
 
Old 12-04-2007, 02:40 AM   #4
kutty_prasad
Member
 
Registered: Sep 2006
Location: Bangalore,India
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86

Original Poster
Rep: Reputation: 16
Thanks for the reply Mathew.

Syg00: We have sar installed and I actually found the high mem. usage and swapping from sar output. That's why I wanted to know "why system hangs while heavy swapping?".

Also I feel Solaris is more stable even when there is high swap usage.


Thanks
 
Old 12-04-2007, 02:55 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Good - er, I mean it's good you have hard data, not that you've got a problem ...
Is this a machine that has (recently) migrated from 2.4 to 2.6 ???.
What do the disk drives data look like - in/out rates, wait%, things like that.

Swap usage ain't necessarily bad - lots of swap movement can make a serious mess of I/O response times.
Can't talk to Solaris - never been there.
 
  


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
System Hang mether Red Hat 2 10-03-2007 06:10 AM
system hang up a_red Linux - Laptop and Netbook 1 10-29-2006 02:40 AM
My System gets hang... khattaking Linux - General 9 05-24-2006 09:21 AM
system hang ust Linux - General 2 03-05-2004 09:15 AM
System Hang BxBoy Linux - General 3 05-09-2003 02:57 PM

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

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