[DragonFlyBSD - Bug #2368] sendfile(2) freezes for a few seconds

Francois Tigeot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed May 16 23:50:58 PDT 2012

Issue #2368 has been updated by Francois Tigeot.

File tcpdump-sendfile.txt added

I've reproduced the issue with a single file (the DragonFly logo).
Complete URL is http://dl.wolfpond.org/small_logo.png

Trace attached.

Now that I'm always using the same image, I've noticed the download systematically freezes in the same place, at about 90% of the height.
Bug #2368: sendfile(2) freezes for a few seconds

Author: Francois Tigeot
Status: New
Priority: Normal
Target version: 

Having updated a web server to apache-2.4 (sendfile enabled), I noticed
some static images didn't load in one go:

- top parts are displayed instantly
- image downloads freeze for a few seconds
- missing bottom parts are then downloaded and displayed instantly

Switching EnableSendfile between on/off in httpd.conf enables or disables
this behavior 100% of the time

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list