Windows Client downloads something from nginx for Windows is too slow

B.R. reallfqq-nginx at yahoo.fr
Tue Oct 30 02:14:26 UTC 2012


I guess the problem come from buffers.
For big files, using asynchronous serving is recommended.

Take a look at:
http://nginx.org/en/docs/http/ngx_http_core_module.html#aio
http://wiki.nginx.org/HttpCoreModule#aio
---
*B. R.*


On Mon, Oct 29, 2012 at 9:58 PM, Liang Suilong <liangsuilong at gmail.com>wrote:

> On Mon, Oct 29, 2012 at 5:36 PM, Sharl Jimh Tsin <amoiz.shine at gmail.com>wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> ? 2012?10?29? 17:24, Liang Suilong ??:
>> > Hi, all.
>> >
>> > I am a newbie. I am using nginx for Windows to host static big
>> > files. I find out a strange problem. When Windows client downloads
>> > files from nginx for Windows server, the download rate is very very
>> > slow. The files are bigger than 200MB.
>> >
>> > Network: 100Mbps LAN
>> >
>> > Server SIde: Windows XP 32bit, nginx for Windows, I test 1.0.15,
>> > 1.2.4 and 1.3.7. They are the same.
>> >
>> > Windows Client Side: WIndows XP 32bit, Firefox, IE, Chrome and curl
>> > are the same. The download rate is not more than 300KB/s
>> >
>> > Linux Client Side: Linux, Fedora 17 x86_64 and Ubuntu, Firefox and
>> > Chrome and curl are the same. The download rate are more than
>> > 8MB/s. Almost 10MB/s.
>> >
>> > The same network 100Mbps LAN
>> >
>> > Server Side: Fedora 17 x86_64, nginx 1.0.15
>> >
>> > Windows Client Side: WIndows XP 32bit, Firefox, IE, Chrome and curl
>> > are the same. The download rate is more than 8MB/s. Almost 10MB/s
>> >
>> > Linux Client Side: Linux, Fedora 17 x86_64 and Ubuntu, Firefox and
>> > Chrome and curl are the same. The download rate are more than
>> > 8MB/s. Almost 10MB/s.
>> >
>> > It looks quite strange. I just use the default configure file for
>> > nginx and put the files into nginx root directory. I do not change
>> > anything. I checked HTTP Header. I try to change Firefox user-agent
>> > on Windows to Linux edition. It could not change download rate,
>> > still very very slow. I try to use Apache on Windows to host the
>> > files. The download rate is normal, about 8~10MB/s.
>> >
>> > How could I debug the problem? Which logs and configure files
>> > should I provide? If you have some good advices, Please tell me
>> > soon.
>> >
>> > Thank you
>> >
>> > Liang Suilong
>> >
>> > Sent From My Heart My Page: http://
>> > <http://www.liangsuilong.info>www.liangsuilong.info
>> > <http://www.liangsuilong.info>
>> >
>> >
>> >
>> > _______________________________________________ nginx mailing list
>> > nginx at nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
>> >
>>
>> sounds impossible,is it caused by client configuration?
>>
>>
> Thank you, Sharl
>
> I think the problem should be impossible, however it is exactly existed. I
> test nginx for Windows on Windows Server 2008, and the client side is
> Windows 7. In the same 100Mbps LAN network environment, the download rate
> seems to have a little improvement, about 400KB/s. It is still very slow.
>
> I tried to reinstall new Windows. There is no change on nginx for Windows.
>
> - --
>> Best regards,
>> Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*)
>>
>> Using Gmail? Please read this important notice:
>> http://www.fsf.org/campaigns/jstrap/gmail?10073.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>>
>> iQEcBAEBAgAGBQJQjk4pAAoJEEYmNy4jisTj8+sH/2bcodbpexhjoywZW2T8M8DD
>> c+N5LHjRuKU5zVoOV8tcsU0guhbt4VG+1nGJtOtLV0fn0qgHUKSpVnLriZnpMXpy
>> 1n0I76Uu3O4fsL0T2iYswmMl10ycEJLZwtf5WIPLlNVVGzz0J2gp3FjzkvTVy4Da
>> FKt/qMsqKRMjb6tsCCdL/AXoTyDjFXmNef8jrjMLfdxot87qvipxVRaXgiOKYAtM
>> uClfMP50/1d89qt+DrdJrB7CBDWOUUYaUSKFhj3622/s5J1CouF/EdkXI6sZlshl
>> uH93RQKoYGuSAJN8z/kPSiXVc9XCSAEvDXtKno3iTljO8LjqN+T8T1GKQDxoXks=
>> =Un5o
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121029/f369e78b/attachment.html>


More information about the nginx mailing list