You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/02/05 23:47:17 UTC

DO NOT REPLY [Bug 42065] EnableSendFile can slow file transfers on Windows

https://issues.apache.org/bugzilla/show_bug.cgi?id=42065

Dominik Friedrichs <df...@forlix.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #4 from Dominik Friedrichs <df...@forlix.org> 2011-02-05 17:47:14 EST ---
If all these dont work:

EnableSendfile off
EnableMMAP off
Win32DiableAcceptEx
SendBufferSize ...

Then this is one last thing to try (worked for me on a new W2k3 R2 server):
Set in your Windows registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Afd\Parameters

DefaultSendWindow
DefaultReceiveWindow

To something like 65535. You'll probably have to create the DWORD values.
Reboot afterwards and that should do the trick.

It appears that Apache fails to set the buffer size (without printing warnings)
or its setting is ignored by Windows for some reason.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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