Tip of the day: Apache and VxFS

Apache, when used on a VxFS filesystem, will only serve files that are smaller than 256 bytes. You can manipulate said files any way you would like to using the operating system, however, Apache refuses to serve them, instead serving up zero-byte files. An strace will reveal that the read() syscall is returning EAGAIN.

Well, it seems from the VxFS release notes that the sendfile() syscall is not supported on VxFS filesystems. The simple solution is to add 'EnableSendfile Off' to the httpd.conf, and everything will be working fine again.

UPDATE - I have received word from Symantec support that this is scheduled to be corrected in 5.0MP2, but no timelines yet.

No TrackBacks

TrackBack URL: http://blog.jds2001.org/cgi-bin/mt-tb.cgi/199

Leave a comment

Name

Email Address

URL

Remember personal info?

Comments
(You may use HTML tags for style)

Search

About this Entry

This page contains a single entry by Jon Stanley published on October 9, 2007 7:13 PM.