httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12893] - Invalid argument in core when access large file in ntfs partition
Date Fri, 04 Oct 2002 00:02:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12893>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12893

Invalid argument in core when access large file in ntfs partition





------- Additional Comments From trawick@apache.org  2002-10-04 00:02 -------
In the first case, we didn't try sendfile.  In the second case, we did, and
apparently there is some characteristic of your NTFS filesystem that
prevents sendfile() from working.

sendfile(8, 9, [0], 9804)               = -1 EINVAL (Invalid argument)

I think your workaround is to specify 

  --without-sendfile 

on ./configure invocation.  That will tell APR (and thus Apache) not to 
use sendfile().

Long term, one of the developers needs to recreate the problem, verify that
sendfile() simply can't be used with some filesystems, and add a directive
for sendfile such as EnableSendfile (analogous to the existing EnableMMap 
directive).

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message