-
Notifications
You must be signed in to change notification settings - Fork 695
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
pgadmin is OOMKilled by kubernetes when querying big-ish tables (6.5 million rows) #8402
Labels
Comments
I managed to reproduce like this with 1 million rows and 1 Gi of memory limit: CREATE TEMP TABLE t AS SELECT generate_series(1, 3e7) x;
select * from t; kubernetes describe pod:
weird thing is also that it is killed at 700Mi of usage: I am not 100% how this works exactly, possibly pgadmin requests more than 300Mi at once and this is denied and instead met with a OOMKill? |
Related to #5797 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
In the past we could query this table without pgadmin using so much memory, so it is unclear to me whether there is a limit in pgadmin how many rows can be fetched at a time and the table grew too large or if this is an regression. I tried versions 8.13 and 8.14 though and remember this working in the past so I am leaning towards the table being too big.
We tried increasing pgadmin memory limits in kubernetes from 500Mi to 4096Mi and it still would be OOMKilled so this points towards some limit within pgadmin.
To Reproduce
I cannot share the table with the data, but I will try to add some SQL that creates a table of a similar size that can be used
Expected behavior
Error message
If possible, include the full, unedited text of any error messages displayed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Kubernetes server
Kernel Version: 5.15.0-1075-azure
OS Image: Ubuntu 22.04.5 LTS
Operating System: linux
Architecture: amd64
Container Runtime Version: containerd://1.7.23-1
Kubelet Version: v1.29.11
Kube-Proxy Version: v1.29.11
Version: 8.14
Mode: server
Browser (if running in server mode): chrome
Package type: Container dpage/pgadmin4:8.14
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: