Search Postgresql Archives

Re: Preventing OOM kills

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 24, 2011 at 7:01 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:
> On 05/24/11 5:50 PM, Andrej wrote:
>>
>> Add more RAM?  Look at tunables for other processes on
>> the machine?  At the end of the day making the kernel shoot
>> anything out of despair shouldn't be the done thing.
>
> somehow, 'real' unix has neither a OOMkiller nor does it flat out die under
> heavy loads, it just degrades gracefully.  I've seen Solaris and AIX and BSD
> servers happily chugging along with load factors in the 100s, significant
> portions of memory paging, etc, without completely crumbling to a halt.
>  Soimetimes I wonder why Linux even pretends to support virtual memory, as
> you sure don't want it to be paging.

I've found that on servers with multiple drives and the page file
spread across them linux does pretty well when swapping out.  Even
going pretty far back, when I had 6 9G SCSI drives on an old Sparc 20
running RHEL with 256M ram the swapping was quite speedy with a 100M
or so on each drive.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux