Re: System hang problem.

Jeffrey Siegal <[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
Ed Wilts wrote:
> On 10/4/2006 3:07 PM, Manish Neema wrote:
>>> I have what will probably sound like a stupid suggestion, try running 
>>> with a much smaller swap file. 
>>
>> You are right. Up to 6GB SWAP (on a 16GB RAM system), the machine never
>> hangs and always generates an OOM kill upon memory exhaustion. However,
>> we need large SWAP as most of our tools (EDA) are memory hungry.
> 
> I think you have a misunderstanding as to what swap is for - it's not 
> for memory-hungry applications.  Swap is not a replacement for memory. 
> It's good in cases where you have a lot of applications and many of them 
> are idle and you can afford the swapin/swapout.  Swap is a very bad 
> substitute for memory-hungry applications.  You need to buy more memory.

Well, to be fair you can't really know that without actually 
understanding what his applications are doing.  It could be they 
allocate a lot of memory but most of that memory is usually inactive, 
which would be a reasonable use for swap.

There's a good chance your advice is correct but I'm just saying not 
necessarily.

--
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.