On Wed, Jul 8, 2009 at 10:52 AM, Simon King<[email protected]> wrote:
>
> Hi!
>
> Two minutes ago I tried to build a package, that I planned to submitt
> this evening, but it failed since there is absolutely no free byte
> left on one partition of sage.math's disk:
> $ df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda1             71117180  67538052         0 100% /
> varrun                66150960       176  66150784   1% /var/run
> varlock               66150960         0  66150960   0% /var/lock
> udev                  66150960        56  66150904   1% /dev
> devshm                66150960         0  66150960   0% /dev/shm
> /dev/sdc1            961432072 331951896 580642176  37% /media/usb
> /dev/sdd1            1938113040 1699743040 140694804  93% /backup
> tmpfs                 10485760         0  10485760   0% /space
> disk:/tank/home      3224416256 1100299264 2124116992  35% /home
> disk:/tank/scratch   6858213376 404474880 6453738496   6% /disk/
> scratch
>
> So, /dev/sda1, which apparently also includes a directory /tmp/
> ccEwO3aP.s in which distutils aparently wanted to write, is not
> usable.
>
> What can I do? How can I  influence what temporary directory distutils
> will work with?


What might happen I think is that users create big files in /tmp, but
the OS doesn't free them until their process exits (?).  In any case,
there is no way to easily get rid of the mysterious invisible files
that waste the space except possibly by some clever trickery with
lsof.

Instead, I've just mounted /tmp on a *ramdisk* for now, which I hope
works better.  It will be superfast, and can't use up space on the
hard drive.   I also freed a little hard drive space.

In the long run, I would like to get another separate internal disk
just for /tmp.

By the way, the right place to have such discussions is on the
sagemath-users mailing list:

http://groups.google.com/group/sagemath-users

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to