在 apache 的 core document 中的 EnableMMAP Directive 有提到 ,
With an NFS-mounted DocumentRoot, the httpd may crash due to a segmentation fault if a file is deleted or truncated while the httpd has it memory-mapped.
- With a network-mounted
DocumentRoot(e.g., NFS or SMB), the kernel may be unable to serve the network file through its own cache.
For server configurations that are vulnerable to these problems, you should disable this feature by specifying: