Skip to content
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

Zombie efs-proxy Processes Depleting All Available Ports #1412

Closed
mskanth972 opened this issue Jul 17, 2024 · 0 comments
Closed

Zombie efs-proxy Processes Depleting All Available Ports #1412

mskanth972 opened this issue Jul 17, 2024 · 0 comments

Comments

@mskanth972
Copy link
Contributor

Issue Description:
In versions 2.0.0 to v2.0.3 of the EFS CSI Driver, there is an bug where efs-proxy processes are not properly cleaned after EFS volumes are unmounted. This leads to an accumulation of zombie processes that eventually use up all ports in the designated range ([20049, 20449]), causing port exhaustion and blocking the mounting of new EFS volumes.

Error Message:
Output: Failed to locate an available port in the range [20049, 20449]. Try specifying a different port range in /etc/amazon/efs/efs-utils.conf.

Workaround:
The current reaper code primarily focuses on cleaning up Stunnel PIDs post-unmount. A potential solution is to update the reaper.go file to extend its functionality to include the cleanup of efs-proxy PIDs as well. This ensures all associated efs-proxy processes are properly terminated, thereby freeing up ports for new mounts.

This issue is being created for visibility even though it has been resolved by PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant