Code Monkey home page Code Monkey logo

Comments (2)

yuvipanda avatar yuvipanda commented on July 26, 2024

An additional point here is that while $HOME usually has a lot of space, /tmp does not. As an example, if I run the command that prints out disk usage (df -h) in a terminal on the openscapes hub, I get:

(notebook) jovyan@jupyter-yuvipanda:~$ df -h
Filesystem                                               Size  Used Avail Use% Mounted on
overlay                                                   80G   24G   57G  30% /
tmpfs                                                     64M     0   64M   0% /dev
tmpfs                                                     16G     0   16G   0% /sys/fs/cgroup
fs-b25253b5.efs.us-west-2.amazonaws.com:/prod/yuvipanda  8.0E  3.2T  8.0E   1% /home/jovyan
shm                                                       64M     0   64M   0% /dev/shm
/dev/nvme0n1p1                                            80G   24G   57G  30% /etc/hosts
fs-b25253b5.efs.us-west-2.amazonaws.com:/prod/_shared    8.0E  3.2T  8.0E   1% /home/jovyan/shared-readwrite
fs-b25253b5.efs.us-west-2.amazonaws.com:/prod/_shared    8.0E  3.2T  8.0E   1% /home/rstudio/shared
fs-b25253b5.efs.us-west-2.amazonaws.com:/prod/_shared    8.0E  3.2T  8.0E   1% /home/rstudio/shared-readwrite
fs-b25253b5.efs.us-west-2.amazonaws.com:/prod/_shared    8.0E  3.2T  8.0E   1% /home/jovyan/shared
tmpfs                                                     30G   16K   30G   1% /mnt/ghsa-w3vc-fx9p-wp4v/check-patch-run
tmpfs                                                     30G   12K   30G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs                                                     30G  4.0K   30G   1% /run/secrets/eks.amazonaws.com/serviceaccount
tmpfs                                                     16G     0   16G   0% /proc/acpi
tmpfs                                                     16G     0   16G   0% /sys/firmware

There's a bunch of extra stuff here (including stuff that says tmpfs but you can ignore that), but primary use to us is two:

Filesystem                                               Size  Used Avail Use% Mounted on
overlay                                                   80G   24G   57G  30% /
fs-b25253b5.efs.us-west-2.amazonaws.com:/prod/yuvipanda  8.0E  3.2T  8.0E   1% /home/jovyan

We can tell that the temporary directory is under / because of the following python code:

>>> import tempfile
>>> tempfile.gettempdir()
'/tmp'
>>> 

And looking at the list of various mountpoints in the df -h output, you can see that / is the one that /tmp is under. If there was a specific mount for /tmp it would show up there!

Anyway, the thing to note here is that there is 57G available for all users on a single node when using /tmp. You can't see other people's /tmp, but it does take up space! And which two users are placed on a node is not upto the users, so it is possible for a user to use up all the space available for /tmp in a particular node.

from docs.

yuvipanda avatar yuvipanda commented on July 26, 2024

I've discussed some potential solutions in 2i2c-org/infrastructure#3833, but don't believe we should put more effort into them at this point.

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.