On Thu, Jun 10, 2010 at 1:50 PM, Kelly Burkhart
<kelly.burkh...@gmail.com> wrote:
> Is there some minimum proportion of swap to physical memory that linux
> or postgresql likes to have?  Is it OK for all
>

Dunno about linux, but the BSD types like to have swap = physical mem
+ delta.  If a machine crashes and you want crashdumps, it writes the
content of memory to the swap partition.  The crashdump is recreated
from the data in swap at the next boot.  For this to work you need as
much swap as RAM plus a bit more.

If you don't care for crashdumps, then what you have is plenty.  If
you run out of memory then you're probably overloading that machine
given that much RAM.  Having swap will not save you much.

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

Reply via email to