This post originated from an RSS feed registered with Ruby Buzz
by Paul Gross.
Original Post: Sendfile does not work on Live CDs
Feed Title: Paul Gross's Blog - Home
Feed URL: http://feeds.feedburner.com/pgrs
Feed Description: Posts mainly about ruby on rails.
Kent Spillner and I were trying to set up an Ubuntu Live CD with a full rails stack running our current project. We were seeing weird issues with nginx, such as connections being unexpectedly terminated and file uploads not working.
We asked around and Chris Read pointed out that Live CDs use the UnionFS filesystem which does not support sendfile.
”...the sendfile system call requires a matching file structure and address space structure. As Unionfs presently has no address space structure, we cannot properly implement sendfile, which is required for loop device mounts and improves performance for Web and NFS servers.”