RE: System hang problem.

Tom Sightler <ttsig-mn7Ydl480yfqlBn2x/[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <1159968660.2989.13.camel@iso-8590-lx>
On Tue, 2006-10-03 at 20:03 -0700, Manish Neema wrote:
> We develop EDA S/W and most of our tools are pretty memory hungry.
> Most
> of our systems are 2CPU, 16GB RAM, 32GB SWAP. Small percent of
> machines
> have 32GB, 64GB and 128GB RAM.

OK, some others asked good questions, is this the 32 or 64bit version or
RHEL?

How is the application allocating memory?  Is it attempting to lock the
memory using mlock?

> Is there any /proc knobs that can help limit process SIZE? I know
> "limits.conf" allows controlling 'RSS' but we need a control for total
> SIZE.

I have what will probably sound like a stupid suggestion, try running
with a much smaller swap file.  If you have 16GB of RAM and 32GB swap,
and the system is really under memory pressure, it will likely grind to
a halt long before the OOM killer kicks in because as long as it has
swap free, it will continue to think that it doesn't need to kill
anything.

Since you want the OOM killer to kick in earlier, you need the system to
recognize it's out of memory earlier, so try something like 2GB of swap
and see if the behavior changes.

Later,
Tom



--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.