Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2008 15:13:22 +0800
From:      "Lin Jui-Nan Eric" <ericlin@tamama.org>
To:        stable@freebsd.org
Subject:   Re: Max size of one swap slice
Message-ID:  <47713ee10808060013h10dd3f57ma5f45e69a322743a@mail.gmail.com>
In-Reply-To: <B4738279-01FE-4AE2-9038-2E04A1BC3990@mac.com>
References:  <47713ee10808050839k5b258831x66bc52f70b2c355b@mail.gmail.com> <B4738279-01FE-4AE2-9038-2E04A1BC3990@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 6, 2008 at 12:46 AM, Chuck Swiger <cswiger@mac.com> wrote:
> It's hard to conceive of why you'd want to add so much swap space, anyway--
> if you've got programs which actually need to deal with 10s of gigabytes
> worth of data, then they ought to maintain a smaller/reasonable-sized
> working set in RAM and do disk I/O as needed themselves rather than depend
> upon the VM pager, anyways.
We are running varnish, and found that it is not stable while using mmap mode.
We don't know whether if the problem is in the code of varnish or file
system, but
we found that if we run varnish using malloc mode with big swap, it
became stable.

Thank you all for the information, I'll try to look into the kernel code.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47713ee10808060013h10dd3f57ma5f45e69a322743a>