Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86
Rep:
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.
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]
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86
Original Poster
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.