On Wed, Sep 10, 2008 at 11:05:19AM +0300, Ishay wrote: > Hi > > I created custom Ubuntu livecd using remastersys. > The customization includes lighthttpd installation. > When trying to use the lighthttpd from the livecd, I get the following > errors: > > 2008-09-10 07:16:29: (network_linux_sendfile.c.171) sendfile failed: > Invalid argument 7 > 2008-09-10 07:16:29: (connections.c.603) connection closed: write failed > on fd 7 > > After full installation from the livecd every thing is OK.
With DebianLive and Apache I had to set: EnableSendfile off Note that this only applies for files of at least 256 bytes which got me off-track for a while. Otherwise apache does not use sendfile. Aparantly sendfile does not work on a unionfs. I'm not sure what's the respective directive for lighttpd. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]