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

Closed
snowmanstark opened this issue May 15, 2024 · 6 comments
Closed

GC not working properly #20431

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

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

Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Jul 21, 2024
Copy link

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
@snowmanstark
Copy link
Author

@wy65701436 Can you please reopen this issue.

@Vad1mo
Copy link
Member

Vad1mo commented Aug 21, 2024

I'll keep that closed as it is related to #12948

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 Stale
Projects
Status: Completed
Development

No branches or pull requests

3 participants