-
Notifications
You must be signed in to change notification settings - Fork 191
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
avp-helm-container spawns bash processes which do not get terminated #460
Comments
@krausemi I think this would be a question for Argo CD. As we do not control how the custom plugins get executed, we just tell Argo CD the command to run on init and generate. I imagine they would be responsible to those processes You can see a similar issue here argoproj/argo-cd#8689 |
@werne2j: Thanks for the hint. I'll open up an issue there. Let's see how it goes. :) I'll leave this issue open until I got some feedback from Argo CD team. Edit: link to the opened issue argoproj/argo-cd#13026 |
Hi again, The issue could be fixed with the input I got from the parent ticket I've opened. Edit: PR created - #485 |
Bug description
After the execution of the defined generate process for helm charts (avp-helm) the executed bash sub-processes are stuck in state "defunct" instead of being terminated.
The number of zombie processes is increasing rapidly and after some hours the process limits within the underlying node gets reached. By reaching the limit the node itself is unusable.
Logs
Using the --verbose-sensitive-output parameter did not log more than the logs above (or I did something wrong :D).
Installation setup
Used Dockerfile for image creation
Used values for argocd-vault-plugin sidecar installation
Used config for the avp-helm-sidecar-container
ArgoCD example application
How to reproduce
kubectl exec -it -n <namespace> <pod name> -c <container name (in my case avp-helm)> -- bash -c "ps -ef | head"
Expected behavior
I would expect that the sub-processes of the argocd-cmp-server, which are spawned within the avp-helm-sidecar-container, will be terminated after execution instead of being zombies.
Workaround
For a temporary workaround we implemented a cronjob which restarts the argocd-repo-server-pod (which contains the avp-helm-sidecar-container) on a daily basis. Therefore the spawned zombie processes will be killed and the node itself will not reach its process limit.
The text was updated successfully, but these errors were encountered: