-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Podman 5.2.x hangs on heavy data loads #23681
Comments
do you have a 3GB data file you can point to? |
@baude unfortunately, I cannot provide a DB file since none of the projects that experience the problem are open source. This is still happening, however, even with the upgrade to 5.2.2. I am happy to run any type of additional diagnostics, I am just not sure where to go from here to provide more information. |
What does load even mean here? Load how, piped into podman exec, file load from a volume or copied into the container first, etc...? You can try to kill -ABRT that will give us a stack trace and we see where it hangs. If you know the downgrade fixes the issue then you can also compile from source and run git bisect to find the root cause commit which would help us a lot. |
Sorry for the late reply. I did some extra investigating and will provide more detail. It seems like it's the connection between a local command and the podman container that stops accepting data. What I mean by a heavy load, is that this happens when I load data into the running container. To do this, I run
This communicates to the container running via:
When I run this command, it loads the first few statements. Then when it gets to a table with over 100k rows, it just hangs, I can't even I tried running
I also tried running I will try to git bisect to get to the root cause next. |
@Luap99 I did confirm that it's a connection issue. If I load the data from inside the container, using |
You have to kill the podman command as golang provides useful stack trace. However as you mentioned transfer via the network it is not a podman issue but rather a pasta issue. You should try using the most recent pasta version. |
Thanks for pointing me in the right direction! This was a |
Issue Description
When running a heavy data load, in my case loading a sql file into a postgres database, podman just completely hangs in the middle of the run, after running normally for a short time. There are no memory or CPU during the hang, and I cannot
ctrl-c
out of the process. I have to runpodman stop ...
which can stop the container.I tried this with multiple data files, across different projects, and different versions of postgres. Downgrading to 5.1.2 completely fixes the issue. Using 5.2.0 seems to avoid the issue on smaller workloads but still has issues with loads bigger that 3GB.
Steps to reproduce the issue
Steps to reproduce the issue
podman run -dt --name test -e POSTGRES_PASSWORD='test' -p 5432:5432 docker.io/postgres:16
.Describe the results you received
The container hangs in the middle of loading the data. I cannot
ctrl-c
out of the container and there are no CPU or memory spikes when it hangs.Describe the results you expected
I expect it to run to completion.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Here is podman info for the version that runs the workload without issues:
The text was updated successfully, but these errors were encountered: