Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Jenkins Runs out of Space #5

Closed
patricksimonian opened this issue Feb 26, 2019 · 0 comments
Closed

Jenkins Runs out of Space #5

patricksimonian opened this issue Feb 26, 2019 · 0 comments

Comments

@patricksimonian
Copy link

It looks like it fails to clean up some log/build files after a build has suceeded or cancelled. That or log rotation hasn't been configured.

A temporary solution

oc rsh -n <project> <jenkins pod>
cd ~ && rm -rf ./builds/*

Why that solution is not a good idea

After debugging with Jeff, we found that removing these files just removed the pointers to them and there were still processes writing to the files. In essence, the files appear to be deleted but they are not.

Since the openshift pods do not have the lsof program installed it is hard to debug that issue within the pod.

@MonicaG MonicaG closed this as completed Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants