https://bz.apache.org/bugzilla/show_bug.cgi?id=65686

--- Comment #5 from Ruediger Pluem <rpl...@apache.org> ---
(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 not sent via sendfile.
> > 
> > If would be helpful if you could break with gdb in can_sendfile_bucket and 
> > do
> > 
> > dump_bucket(b)
> > 
> > 
> > (requires the .gdbinit delivered with the source code to be loaded in gdb).
> 
> Here's the requested information: 
> 
> Breakpoint 1, can_sendfile_bucket (b=0x558cded27068) at core_filters.c:621
> 621       if (APR_BUCKET_IS_FILE(b) && b->length >= AP_MIN_SENDFILE_BYTES) {
> (gdb) dump_bucket(b)
>  bucket=HEAP     (558cded27068) length=1555   data=558cded26de8
>      contents=[~~~~z~~~v~~~~~l~Z...] rc=1

Thanks. The above is a heap bucket which cannot be sent via sendfile, but this
does not mean that there is no issue. I think I just used a bad breakpoint. Can
you please break in send_brigade_nonblocking and do

dump_brigade(bb)

? As a the response might be split over multiple brigades you need to do this
until the file is delivered.

Another thing: Can you check (probably via strace) if that happens as well for
a virtual host that is

- http/1.1 (no ssl)
- Has no PHP, content compression or alike setup, but just delivers static
files?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to