On Tue, Apr 5, 2011 at 5:34 PM, Kasia Tuszynska <ktuszynska@xxxxxxxx> wrote: > Hello Admin Group: > > We are configuring Postgres on Ubuntu (LLynx) and trying to figure out what > is the best way of dealing with swap since, Ubuntu does not automatically > come with swap storage assigned. > > Nothing but Postgres will be running on the machine. > > I have read that we should assign twice the available RAM to swap, that > seems like a lot. > > Would Postgres ever use so much space? I understand if I were to load > records that were gigs in size but that is very rare or at least I do not > expect it in my case. > > > > Any recommendations or best practices? We have two machines each with 128G, and we had to turn off swap due to the kswapd going crazy and constantly trying to use swap it didn't need. Brought our production dbs to a crawl. My recommendation is to have enough memory to not ever need swap space if you can afford it. -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin