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

GC not working properly #20431

Open
snowmanstark opened this issue May 15, 2024 · 2 comments
Open

GC not working properly #20431

snowmanstark opened this issue May 15, 2024 · 2 comments
Assignees
Labels
area/gc help wanted The issues that is valid but needs help from community

Comments

@snowmanstark
Copy link

We recently upgraded to Harbor 2.10 hoping that the GC would be working fine. Since there was a huge backlog of artifacts not cleaned, to circumvent this we created a new Harbor instance and replicated all the data. This helped us bring down our S3 bucket size from 200TB to 20TB.

After we moved to the v2.10.0, initially the GC was working fine for a month and was clearing around 300Gb every week but last couple of weeks the GC is erroring out and no GC logs show up in the Harbor UI.

Our harbor infra consists of the following:

EKS(with EFS storage) + RDS + S3

@wy65701436 wy65701436 self-assigned this May 16, 2024
@wy65701436
Copy link
Contributor

can you execute a dry-run? You can provide the incremental log of job service pod on executing an GC.

@wy65701436 wy65701436 added the help wanted The issues that is valid but needs help from community label May 20, 2024
@snowmanstark
Copy link
Author

Well after some fiddling around, I found that the GC is ongoing but there are a few issues.

  • Log file becomes too huge and it can't be viewed in the browser and you need to log into the pod to see whether it's running.
  • Since the log file is huge, listing all the files, etc. takes a hit. I circumvented it by overwriting the file(with empty string) and temporarily resolving the issue.
  • After a couple of days in the Job Service dashboard no workers seem to be allocated for GC but the GC keeps running.
  • Also the GC is really slow and it would help if we incorporated this change by @hemanth132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gc help wanted The issues that is valid but needs help from community
Projects
Status: No status
Development

No branches or pull requests

2 participants