Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use memory for the /tmp directory #1672

Merged
merged 4 commits into from
Nov 17, 2023
Merged

Conversation

craddm
Copy link
Contributor

@craddm craddm commented Nov 17, 2023

✅ Checklist

  • You have given your pull request a meaningful title (e.g. Enable foobar integration rather than 515 foobar).
  • You are targeting the appropriate branch. If you're not certain which one this is, it should be develop.
  • Your branch is up-to-date with the target branch (it probably was when you started, but it may have changed since then).
  • You have marked this pull request as a draft and added '[WIP]' to the title if needed (if you're not yet ready to merge).
  • You have formatted your code using appropriate automated tools (for example ./tests/AutoFormat_Powershell.ps1 -TargetPath <path to file or directory> for Powershell).

⤴️ Summary

Mounts tmp using tmpfs, so that it uses memory instead of disk space for temporary files.

Currently uses 50% of RAM, and will use disk space if needed (e.g. files too big). Not sure if it will prevent disk lock-up or how to test that.

🌂 Related issues

Relates to #1071.

🔬 Tests

Deployed an SRD with tmp mounted on tmpfs

@JimMadge JimMadge merged commit edd7a9a into alan-turing-institute:develop Nov 17, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants