[Bug 65686] sendfile() doesn't work

2021-11-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 Gary Stanley changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug 65686] sendfile() doesn't work

2021-11-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #7 from Stefan Eissing --- If I read this correctly, everything is working without TLS. The thing is that a TLS encrypted connection cannot make use of sendfile() on common operation systems. There have been efforts by Netflix in

[Bug 65686] sendfile() doesn't work

2021-11-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #6 from Gary S --- Interesting discovery. a breakpoint on sendfile64/sendfile without SSL (in a virtualhost), sendfile is working: (gdb) c Continuing. Breakpoint 1, sendfile64 () at ../sysdeps/unix/syscall-template.S:81 81 T

[Bug 65686] sendfile() doesn't work

2021-11-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #5 from Ruediger Pluem --- (In reply to Gary S from comment #4) > (In reply to Ruediger Pluem from comment #2) > > How large are the static files? Are they delivered directly by Apache? > > File buckets below 256 byte of size are no

[Bug 65686] sendfile() doesn't work

2021-11-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #4 from Gary S --- (In reply to Ruediger Pluem from comment #2) > How large are the static files? Are they delivered directly by Apache? > File buckets below 256 byte of size are not sent via sendfile. > > If would be helpful if yo

[Bug 65686] sendfile() doesn't work

2021-11-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #3 from Gary S --- I've tried static files that range in size from 512 bytes to 16,000 bytes in size (html files) (In reply to Ruediger Pluem from comment #2) > How large are the static files? Are they delivered directly by Apache

[Bug 65686] sendfile() doesn't work

2021-11-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #2 from Ruediger Pluem --- How large are the static files? Are they delivered directly by Apache? File buckets below 256 byte of size are not sent via sendfile. If would be helpful if you could break with gdb in can_sendfile_bucket

[Bug 65686] sendfile() doesn't work

2021-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65686 --- Comment #1 from Gary S --- This may not be related; But after each writev() call, mmap() is called and throws INVAL. An strace of an active connection to a dummy index.html page: 7006 mmap(NULL, 7950, PROT_READ, MAP_SHARED, 17, 0) = 0x2