Re: /tmp is too small
On Mon, Jun 11, 2012 at 04:09:01AM -0700, Rick Thomas wrote:
>
> On Jun 7, 2012, at 6:48 AM, Hendrik Boom wrote:
>
> >Or alternatively, how can I enlarge the tmpfs? I need it enlarged
> >from
> >anout 200M to about 2G for this week's project. Yes, that's a lot
> >bigger
> >than my RAM.
>
> Increase your swap to 4GB -- even if you plan never to swap. The
> space will be available to act as backing store for tmpfs.
>
> I *think* the algorithm for setting the size of tmpfs is one half of
> RAM + SWAP. Hence the 4GB. If that doesn't work, you can set the
> size explicitly in /etc/fstab.
The tmpfs (kernel filesystem) default is 50% RAM. The initscripts
default is 20% VM.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
Reply to: