Re: Pre-allocation of shared memory ... - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Re: Pre-allocation of shared memory ...
Date
Msg-id 3EEC9B13.3586.45A335@localhost
Whole thread Raw
In response to Re: Pre-allocation of shared memory ...  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-hackers
On 14 Jun 2003 at 16:38, Andrew Dunstan wrote:
> Summary: don't take shortcuts looking for this - Read the Source, Luke. It's
> important not to give people false expectations. For now, I'm leaning in
> Tom's direction of advising people to avoid Linux for mission-critical
> situations that could run into an OOM.

While I agree that vanilla linux does not handle the situation gracefully 
enough, anybody running a mission critical application should spec. the machine 
and the demads on the same carefully enough. For certain linux won't start 
doing OOM kill because it started going low on buffer memory. ( At least I hope 
so.)

If on expects to throw uncalculated amount of load on a mission critical box, 
till it reaches swap for every malloc in a strcpy, there are things need to be 
checked before which kernel/OS you are running.

And BTW whas that original comment for vanilla liux or linux in general..:-)


ByeShridhar

--
Adore, v.:    To venerate expectantly.        -- Ambrose Bierce, "The Devil's 
Dictionary"



pgsql-hackers by date:

Previous
From: Dennis Björklund
Date:
Subject: client encodings
Next
From: "Andrew Dunstan"
Date:
Subject: Re: Pre-allocation of shared memory ...