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

CPU and Memory full on Harbor database server #21248

Open
rhegde2 opened this issue Nov 26, 2024 · 0 comments
Open

CPU and Memory full on Harbor database server #21248

rhegde2 opened this issue Nov 26, 2024 · 0 comments

Comments

@rhegde2
Copy link

rhegde2 commented Nov 26, 2024

Hi Team,

We are using Harbor Version v2.9.1

When we trigger the image scan, we are experiancing sudden increase in number of database connections which inturn uses most of the CPU and Memory. It turns the DB server to hung state.

We tried increasing the CPU and RAM, and no luck.

There is no error on Postgres logs, however it was showing lot of "UPDATE waiting" message during the issue.

Below updates were running during the activity


UPDATE TAK

UPDATE "schedule" SET "revision"

UPDATE "repository" SET "pull_count" = "pull_count" + $1, "update_time" = $2 WHERE "repository_id" IN ( SELECT T0."repository_id" FROM "repository" T0 WHERE T0."repository_id" = $3;


Kindly suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant