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

chore: Change default temporary write directory in all e2e CI jobs from tmpfs to /home/tmp #475

Merged

Conversation

courtneypacheco
Copy link
Contributor

@courtneypacheco courtneypacheco commented Jan 10, 2025

This PR tackles the same issue originally identified in instructlab/instructlab#2866, where we noticed intermittent OOM issues during some of our e2e CI jobs.

While I have not noticed any OOM issues recently in this repo, updating the default temporary write directory from tmpfs (aka /tmp) to /home/tmp should mitigate the risk of OOM errors occurring in our e2e CI jobs since we'll now theoretically have access to 100% of the available physical memory in our EBS volume, instead of only 50%.

@mergify mergify bot added CI/CD Affects CI/CD configuration ci-failure labels Jan 10, 2025
This should avoid physical memory restrictions set in place for `tmpfs` (aka `/tmp`) that prevent us from utilzing more than 50% of the available physical memory on our EBS.

Signed-off-by: Courtney Pacheco <[email protected]>
@courtneypacheco courtneypacheco force-pushed the update-default-tmp-dir-path branch from b158de7 to 63e1d9e Compare January 10, 2025 21:06
@mergify mergify bot removed the ci-failure label Jan 10, 2025
@nathan-weinberg nathan-weinberg requested a review from a team January 10, 2025 21:24
@mergify mergify bot added the one-approval label Jan 10, 2025
Copy link
Contributor

@bbrowning bbrowning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - thanks! This should fix #442 from this repo as well, right?

@mergify mergify bot removed the one-approval label Jan 10, 2025
@mergify mergify bot merged commit c2656e5 into instructlab:main Jan 10, 2025
14 checks passed
@courtneypacheco
Copy link
Contributor Author

@bbrowning yep, it should in theory!

i think we should leave that issue open for maybe ~2 weeks to see if the issue has been resolved by this PR, or if it still occurs.

@ktam3 ktam3 linked an issue Jan 13, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Affects CI/CD configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

e2e tests occasionally flake with out of disk space
3 participants