System hang problem. 2006-10-04 - By Tom Sightler
Back 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 Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|