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

In 'ManageResources' and 'runResourceCommand', temporary files written to '/dev/shm' may not be cleaned up, in rare cases #568

Closed
jgwest opened this issue Apr 11, 2024 · 0 comments · Fixed by #569
Assignees
Labels
bug Something isn't working

Comments

@jgwest
Copy link
Member

jgwest commented Apr 11, 2024

We've had user reports of /dev/shm running out of space due to temporary files left hanging around within the application-container of Argo CD. Within Argo CD's application-controller, the references to /dev/shm are limited to gitops-engine's TempDir in pkg/utils/io.

I've thus been auditing gitops-engine's use of /dev/shm, and discovered there are a couple (rare) cases where the temporary files that are created in /dev/shm would not be cleaned up.

#569 has been raised to fix the issue.

@jgwest jgwest self-assigned this Apr 11, 2024
@jgwest jgwest added the bug Something isn't working label Apr 11, 2024
@jgwest jgwest changed the title In 'ManageResources' and 'runResourceCommand', temporay files written to '/dev/'shm may not be cleaned up, in rare cases In 'ManageResources' and 'runResourceCommand', temporary files written to '/dev/shm' may not be cleaned up, in rare cases Apr 11, 2024
jgwest added a commit to jgwest/gitops-engine that referenced this issue Apr 11, 2024
jannfis pushed a commit that referenced this issue Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant