Re: No swap for Debian preseed automated installation
On Sat, Aug 25, 2012 at 8:47 AM, Bob Proulx <bob@proulx.com> wrote:
> Christofer C. Bell wrote:
>
> That depends upon the Linux kernel setting of vm.overcommit_memory. I
> have ranted about this on a number of occasions. But the Linux kernel
> default is to overcommit. In which case swap is not used in the
> traditional way. Of course that setting isn't sane for serious
> systems, the OOM killer might kill processes I don't want killed, and
> so I always set it to not allow overcommit which is the traditional
> Unix behavior. In which case swap is used in the traditional way.
>
> And newly part of the environment is now a /tmp mounted as a tmpfs.
> That use of tmpfs will probably need swap as a backing store for it.
> So now swap is doubly important.
>
> http://lists.debian.org/debian-user/2007/08/msg00022.html
>
> http://lists.debian.org/debian-user/2008/04/msg02554.html
Bob, thanks for posting these links again. You've reminded me of the
default setting of 0 and I've once again followed your advice and set
it to 2 (just in the last few minutes). I don't like the current
default, either! :)
--
Chris
Reply to: