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

Having Performance issues and Harbor always crashes on REDHAT8 #20990

Open
SoaadMahmoud opened this issue Oct 1, 2024 · 3 comments
Open

Having Performance issues and Harbor always crashes on REDHAT8 #20990

SoaadMahmoud opened this issue Oct 1, 2024 · 3 comments
Labels
help wanted The issues that is valid but needs help from community kind/question

Comments

@SoaadMahmoud
Copy link

we Have performance issue with Harbor and it always crashes and get Panic error in core logs on daily basis as below :

2024/09/27 12:05:06.602 [C] [panic.go:884] /usr/local/go/src/net/http/server.go:2109
2024/09/27 12:05:06.602 [C] [panic.go:884] /harbor/src/server/middleware/metric/metric.go:67
2024/09/27 12:05:06.602 [C] [panic.go:884] /usr/local/go/src/net/http/server.go:2109
2024/09/27 12:05:06.602 [C] [panic.go:884] /harbor/src/server/middleware/trace/trace.go:28
2024/09/27 12:05:06.602 [C] [panic.go:884] /usr/local/go/src/net/http/server.go:2109
2024/09/27 12:05:06.602 [C] [panic.go:884] /harbor/src/server/middleware/mergeslash/mergeslash.go:17
2024/09/27 12:05:06.602 [C] [panic.go:884] /harbor/src/server/middleware/middleware.go:57
2024/09/27 12:05:06.602 [C] [panic.go:884] /usr/local/go/src/net/http/server.go:2109
2024/09/27 12:05:06.602 [C] [panic.go:884] /harbor/src/server/middleware/url/parse.go:22

Here is the setup of Harbor with V2.6.4 on redhat 8 in podman rootless environment on VM with size 6 cpu & 16 Ram and we are using external_database postgres version 13 installled on the same Host and we configure max_connections=200 in postgres

what can be the issue and what are the suggestion to enhance the performance as harbor GUI is very slow and also pushing image took much time ?

@Vad1mo
Copy link
Member

Vad1mo commented Oct 2, 2024

you need to provide more context regarding your set-up, configuration, and infrastructure.

@SoaadMahmoud
Copy link
Author

Harbor version : V2.6.4
Operating system : redhat 8 in podman rootless environment
Server specifications : 6 cpu & 16 Ram
trivy scanner: using bundled one and we have around 11000 image
External Database : Postgres version 13 installed on the same server and we configure max_connections=200 in postgres
Is there any recommendation for postgres configuration ?
and please let me know if you need further information

@MinerYang MinerYang added the help wanted The issues that is valid but needs help from community label Oct 14, 2024
@reasonerjt
Copy link
Contributor

btw, v2.6.4 is not a version that the community is still maintaining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The issues that is valid but needs help from community kind/question
Projects
None yet
Development

No branches or pull requests

4 participants