Welcome! Log In Create A New Profile

Advanced

Re: Windows Client downloads something from nginx for Windows is too slow

B.R.
October 30, 2012 10:06AM
You needed specific configuration for your specific usage with specific
requirements.
Why should that become the default?

Keep it light and clean for the most common usage: serving lightweight
files, as every standard web page should be.
---
*B. R.*


On Tue, Oct 30, 2012 at 4:26 AM, Liang Suilong <liangsuilong@gmail.com>wrote:

> Thank you, B.R.
>
> I add output_buffers 1 128k option into nginx.conf. It has a great
> improvement. The download rate raise from 400KB/s to 4~5MB/s.
>
> I think the problem may affect all version nginx on Windows. Should it add
> output_buffer option into nginx.conf by default?
>
> Sent From My Heart
> My Page: http://www.liangsuilong.info
>
>
>
>
>
> On Tue, Oct 30, 2012 at 10:14 AM, B.R. <reallfqq-nginx@yahoo.fr> wrote:
>
>> 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@gmail.com>wrote:
>>
>>> On Mon, Oct 29, 2012 at 5:36 PM, Sharl Jimh Tsin <amoiz.shine@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.infowww.liangsuilong.info
>>>> > http://www.liangsuilong.info
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________ nginx mailing list
>>>> > nginx@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@nginx.org
>>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>>
>>>
>>>
>>> _______________________________________________
>>> nginx mailing list
>>> nginx@nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Windows Client downloads something from nginx for Windows is too slow

Liang Suilong October 29, 2012 05:26AM

Re: Windows Client downloads something from nginx for Windows is too slow

Sharl Jimh Tsin October 29, 2012 05:38AM

Re: Windows Client downloads something from nginx for Windows is too slow

Liang Suilong October 29, 2012 10:00PM

Re: Windows Client downloads something from nginx for Windows is too slow

B.R. October 29, 2012 10:16PM

Re: Windows Client downloads something from nginx for Windows is too slow

Liang Suilong October 30, 2012 04:28AM

Re: Windows Client downloads something from nginx for Windows is too slow

B.R. October 30, 2012 10:06AM

Re: Windows Client downloads something from nginx for Windows is too slow

unclepieman October 29, 2012 10:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 132
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready