Differences between revisions 2 and 3
Revision 2 as of 2008-03-03 03:12:25
Size: 1265
Editor: bas1-montrealak-1128581698
Comment: Add some background
Revision 3 as of 2009-09-20 22:13:35
Size: 1265
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

(38)Function not implemented: core_output_filter: writing data to the network

The Apache HTTP Server tries to use the sendfile syscall to let the operating system take care of delivering files to the network in the most efficient way possible. When this works, it often makes responses faster and allows the server to scale to a much higher number of simultaneous requests.

Apache tries to determine at compile time whether sendfile is available and functional. Regrettably, there are occasions where sendfile will be found at compile time but not work when Apache tries to use it. This happens, in particular, when serving files from certain network file-systems (NFS or SMB, for example) or other non-standard file-systems.

In cases like these, you may see the above error message. You can instruct Apache to fall back to the slower but more reliable method of serving files by disabling sendfile using the following directive in httpd.conf:

EnableSendfile off

When sendfile is not available, Apache attempts to memory-map files for quicker serving using the mmap syscall. This syscall can sometimes have similar problems, and can be similarly disabled with:

EnableMMAP off

SendfileNotImplemented (last edited 2009-09-20 22:13:35 by localhost)