-
Notifications
You must be signed in to change notification settings - Fork 760
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
harbor-database pod is failing to start with bus error #1789
Comments
There are some more details of the solution / workaround regarding this The
In that case, the
|
Thanks @zyyw. I am using the image goharbor/harbor-db:v2.8.0, so correct file is /usr/pgsql/13/share/postgresql/postgresql.conf.sample. |
Hello @JagatguruMishra, I'm currently facing the same issue and looking into not having to modify the image nor disabling hugepages on the host system, were you able to find a suitable solution? Thanks. |
Hi @gera-aldama I was able to apply below workaround.
|
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. |
I am installing harbor with helm chart version 1.12.0 (https://github.com/goharbor/harbor-helm/archive/refs/tags/v1.12.0.tar.gz).
Pod 'harbor-database-0' is going in CrashLoopBackOff status and some other pods dependent on this are going to the same state.
Below are the logs.
The issue is with the huge pages. If I provide the hugepages resource to the pod like 'hugepages-1Gi: 1' or disable the huge pages on the node, it works.
Is there any way to provide the configuration in harbor-db pod/statefulset to disable hugepages (setting huge_pages = off ) in .conf file.
The text was updated successfully, but these errors were encountered: