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

Question about changing EnableSendfile to On? #21

Open
ghost opened this issue Aug 8, 2019 · 0 comments
Open

Question about changing EnableSendfile to On? #21

ghost opened this issue Aug 8, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 8, 2019

Thanks for providing the container!
I am doing a research aiming at finding issues in configuration files. After pulling the image we notice that EnableSendfile is set to on here, whose default is Off.

However, the HttpD official document recommends to set EnableSendfile to Off to avoid operational problems when:

  • Some platforms may have broken sendfile support that the build system did not detect, especially if the binaries were built on another box and moved to such a machine with broken sendfile support.
  • On Linux the use of sendfile triggers TCP-checksum offloading bugs on certain networking cards when using IPv6.
  • On Linux on Itanium, sendfile may be unable to handle files over 2GB in size.
  • With a network-mounted DocumentRoot (e.g., NFS, SMB, CIFS, FUSE), the kernel may be unable to serve the network file through its own cache.

Maybe it's better to set EnableSendfile should be changed back to off as default.

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

0 participants