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

fdescfs is no longer necessary #762

Open
asomers opened this issue Jul 27, 2020 · 1 comment
Open

fdescfs is no longer necessary #762

asomers opened this issue Jul 27, 2020 · 1 comment

Comments

@asomers
Copy link

asomers commented Jul 27, 2020

iocage's documentation recommends mounting fdescfs on the host to workaround a well-known Python performance bug: closing all file descriptors in between fork and exec one at a time takes forever.

However, Python has now finally fixed the bug the correct way! If you use FreeBSD's Python packages, the minimum versions containing the fix are 3.8.1_2, 3.7.5_1, 3.6.9_1, 3.5.9_3, or 2.7.17_1 . All of the ports in FreeBSD's ports tree, in both head and the last two quarterly branches, include the fix. So it's safe to say that any user with an up-to-date Python version no longer needs fdescfs to use iocage. I think you should remove it from the documentation.

See also:

@igalic
Copy link
Collaborator

igalic commented Jul 27, 2020

whoah!
thank you for this report

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

2 participants