-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 2.0.5 pod dies after a few days of staying idle #9663
Comments
Have you verified if the tmpfiles.d entry resolves the problem, or is it still occurring? |
I've applied the fix but I cannot fully determine if that is solved or not - after introducing a file I tried starting
The status of this service is as follows (one of the servers):
|
Hm. I note that you're running Podman rootless - can you get a |
Also - have you enabled lingering on for the user in question ( |
The user I've created for running Kafka is created by
|
I haven't used
|
Ah, think I found it. Your Podman is using the following temporary directory: But the tmpfiles.d entry is only blocking: I think you need to add another line to handle your temporary dir - |
Yes, that's true. I am wondering why I haven't seen that before. Of course the path is wrong. Thank you for spotting this. |
Is this solved? Can I close? |
Yes, I believe it's solved. Thank you. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman pod running for a longer time dies. When trying to get pod status with
podman ps -a
, the error is:Pod is running with
podman play kube
and a simple YAML definition of container, ports mappings and a few volumes mounted to/var
partition.Running a
podman pod stop kafka-pod && podman pod rm kafka-pod
with Ansible against hosts:Steps to reproduce the issue:
Run Podman 2.0.5.
Run Kafka image via
podman play kube
, leave it running for > 5 days.Describe the results you received:
Pod is dying after a few days (> 5 days). After some time, the pod is killed,
podman ps
doesn't list it but underlying ports are still listening on a ports that have been set up in pod definition.Describe the results you expected:
Pod is not dying after a few days and is able to live for a longer time w/o being killed.
Additional information you deem important (e.g. issue happens only occasionally):
Issue happens after a few days and it's hard for me to debug why it happens like this.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
No, but I've applied the fix after a suggestion on my Stackoverflow post: https://stackoverflow.com/questions/66324225/podman-pod-disappears-after-a-few-days-but-process-is-still-running-and-listeni about tmp files being deleted. I know that Podman 2.2.1 seems to solve some of it, but I still haven't tested that.
File for
tmpfiles.d
config:Additional environment details (AWS, VirtualBox, physical, etc.):
Virtual machines, 3 node cluster set-up of Podman running Kafka.
The text was updated successfully, but these errors were encountered: