Re: TMPDIR - Do we also need a drive backed TPMDIR ?
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 2016-07-21 at 16:06 +0300, Dmitry Bogatov wrote:
> > > Should there be another TPMDIR? Like DTMPDIR, pointing to the
> > > underneath disk, where size is limited by the capacity available to
> > > partition/disk ?
> Why? How would you define line between 'TMPDIR' and 'DTMPDIR'?
I am exploring if we can/should have another one. I still haven't found any
environment variable to reference /var/tmp/
> For example, I, as happy owner of 8GB RAM, is perfectly fine with 3GB
> in /tmp, because I actually use less then 1Gb. On other hand, would I
> start 50 instances of Firefox, Gimp and other stuff, I would object
> putting 3GB in my /tmp, since it would make system swap.
What about machines where RAM is much lesser ?
> In summary, only I, as user, can decide whether is fine to put several
> gigabytes in tmpfs, and it depends not only on RAM size. And I have such
> control by 'export TMPDIR=$HOME/.tmp'.
> So regarding problem about debdelta, I think the right solution would
> be to put note in manpage, like 'debdelta need several gigabytes in
> TMPDIR for proper operation. Adjust TMPDIR accordingly.' and to *not*
> complicate programs.
I don't think this is a debdelta problem. If the defaults is to have TMPDIR as a
tmpfs, and if the defaults are to bind 50% of RAM for TMPDIR, then there can be
multiple apps breaking. It just depends on how much RAM your machine has.
I think a more sensible approach would be to allocate 50% of Virtual Memory for
TMPDIR, as the defaults.
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----