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

Francois Tigeot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Thu May 17 02:50:05 PDT 2012

Issue #2368 has been updated by Francois Tigeot.

Status changed from New to Closed
% Done changed from 0 to 100

This bug is caused by the use of TCP_NOPUSH in association with sendfile(2) in the Apache-2.4 code.

Thanks for Sepherosa Ziehau for pointing it.

Bug reports will be filled with pkgsrc and the upstream project.
Bug #2368: sendfile(2) freezes for a few seconds

Author: Francois Tigeot
Status: Closed
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