RE: System hang problem.

Tom Sightler <ttsig-mn7Ydl480yfqlBn2x/[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <1160018109.3275.6.camel@iso-8590-lx>
On Wed, 2006-10-04 at 14:58 -0700, Manish Neema wrote:
> It is not uncommon for us to see a process size ~40GB on 16 GB machines.
> I know, the simple answer would be to buy machines with more RAM.
> 
> Anyway, I'll ask my last question again. Under the given circumstances,
> is there any way for me to limit the jobs based on SIZE (and NOT RSS;
> their RAM footprint)?

I know of no way to do this off of the top of my head, however, I fail
to understand what you think this will do.  Isn't lowering the amount of
swap effectively doing the same thing?

If you limit the size of the process to say, 24GB, then won't the
application simply fail and error out when it can no longer allocate
memory?  How is this different than the OOM killer kicking in on a
system with 16GB + 8GB of swap?

Can you explain why one behavior is better than the other?

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.