out of swap space

Jon Dama jd at ugcs.caltech.edu
Fri Jul 8 00:09:13 GMT 2005


Yes, well I assumed:

1) this was i386
2) he already had a lot of RAM and was hitting the wall

my point was primarily to point out that he shouldn't assume ram + swap
must be under 4GB.

Otherwise I agree.  Though, I typically have a large MFS /tmp directory.
Having lots of swaps helps make that configuration robust.

-Jon

On Thu, 7 Jul 2005, Kris Kennaway wrote:

> On Thu, Jul 07, 2005 at 02:57:01PM -0700, Jon Dama wrote:
> > It is also it is worthwhile to remember that on i386 you can use
> > roughly >20GB of swap space.  swap + ram need not sum to less than 4GB
> > common misunderstandings aside.
> >
> > If your memory load warrants larger swap allocations, you should just bump
> > that number up.
>
> Better to add more RAM or reduce or optimize the workload - as soon as
> you load your machine enough that it begins heavily using swap your
> machine performance will fall in the toilet.
>
> Kris
>


More information about the freebsd-current mailing list