<font color="#333399"><font>You needed specific configuration for y<font>our specific usage with specific requirements.<br><font>Why should that become the default?<br><br><font>Keep it light and clean for the most common usage: serving lightweight files, as every standard web page should be.</font></font></font></font></font><br clear="all">
<font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font><br>
<br><br><div class="gmail_quote">On Tue, Oct 30, 2012 at 4:26 AM, Liang Suilong <span dir="ltr"><<a href="mailto:liangsuilong@gmail.com" target="_blank">liangsuilong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you, B.R.<div><br></div><div>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.</div><div><br></div><div>I think the problem may affect all version nginx on Windows. Should it add output_buffer option into nginx.conf by default?</div>
<div><br clear="all">Sent From My Heart<br>My Page: <a href="http://www.liangsuilong.info" target="_blank">http://www.liangsuilong.info</a><div><div class="h5"><br><br><br>
<br><br><div class="gmail_quote">On Tue, Oct 30, 2012 at 10:14 AM, B.R. <span dir="ltr"><<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#333399"><font>I guess the problem come from <font>buffers.<br><font>For big files, u<font>sing asynchronous serving is recommended.<br><br><font>Take a look at:<br><a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#aio" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html#aio</a><br>
<a href="http://wiki.nginx.org/HttpCoreModule#aio" target="_blank">http://wiki.nginx.org/HttpCoreModule#aio</a><br clear="all"></font></font></font></font></font></font><font size="1"><span style="color:rgb(102,102,102)">---<br>
</span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font><div><div><br>
<br><br><div class="gmail_quote">On Mon, Oct 29, 2012 at 9:58 PM, Liang Suilong <span dir="ltr"><<a href="mailto:liangsuilong@gmail.com" target="_blank">liangsuilong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Oct 29, 2012 at 5:36 PM, Sharl Jimh Tsin <span dir="ltr"><<a href="mailto:amoiz.shine@gmail.com" target="_blank">amoiz.shine@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
? 2012?10?29? 17:24, Liang Suilong ??:<br>
<div><div>> Hi, all.<br>
><br>
> I am a newbie. I am using nginx for Windows to host static big<br>
> files. I find out a strange problem. When Windows client downloads<br>
> files from nginx for Windows server, the download rate is very very<br>
> slow. The files are bigger than 200MB.<br>
><br>
> Network: 100Mbps LAN<br>
><br>
> Server SIde: Windows XP 32bit, nginx for Windows, I test 1.0.15,<br>
> 1.2.4 and 1.3.7. They are the same.<br>
><br>
> Windows Client Side: WIndows XP 32bit, Firefox, IE, Chrome and curl<br>
> are the same. The download rate is not more than 300KB/s<br>
><br>
> Linux Client Side: Linux, Fedora 17 x86_64 and Ubuntu, Firefox and<br>
> Chrome and curl are the same. The download rate are more than<br>
> 8MB/s. Almost 10MB/s.<br>
><br>
> The same network 100Mbps LAN<br>
><br>
> Server Side: Fedora 17 x86_64, nginx 1.0.15<br>
><br>
> Windows Client Side: WIndows XP 32bit, Firefox, IE, Chrome and curl<br>
> are the same. The download rate is more than 8MB/s. Almost 10MB/s<br>
><br>
> Linux Client Side: Linux, Fedora 17 x86_64 and Ubuntu, Firefox and<br>
> Chrome and curl are the same. The download rate are more than<br>
> 8MB/s. Almost 10MB/s.<br>
><br>
> It looks quite strange. I just use the default configure file for<br>
> nginx and put the files into nginx root directory. I do not change<br>
> anything. I checked HTTP Header. I try to change Firefox user-agent<br>
> on Windows to Linux edition. It could not change download rate,<br>
> still very very slow. I try to use Apache on Windows to host the<br>
> files. The download rate is normal, about 8~10MB/s.<br>
><br>
> How could I debug the problem? Which logs and configure files<br>
> should I provide? If you have some good advices, Please tell me<br>
> soon.<br>
><br>
> Thank you<br>
><br>
> Liang Suilong<br>
><br>
> Sent From My Heart My Page: http://<br>
</div></div>> <<a href="http://www.liangsuilong.info" target="_blank">http://www.liangsuilong.info</a>><a href="http://www.liangsuilong.info" target="_blank">www.liangsuilong.info</a><br>
> <<a href="http://www.liangsuilong.info" target="_blank">http://www.liangsuilong.info</a>><br>
><br>
><br>
><br>
> _______________________________________________ nginx mailing list<br>
> <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
><br>
<br>
sounds impossible,is it caused by client configuration?<br>
<br></blockquote><div><br></div><div>Thank you, Sharl</div><div><br></div><div>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. </div>
<div><br></div><div>I tried to reinstall new Windows. There is no change on nginx for Windows.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- --<br>
Best regards,<br>
Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*)<br>
<br>
Using Gmail? Please read this important notice:<br>
<a href="http://www.fsf.org/campaigns/jstrap/gmail?10073" target="_blank">http://www.fsf.org/campaigns/jstrap/gmail?10073</a>.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iQEcBAEBAgAGBQJQjk4pAAoJEEYmNy4jisTj8+sH/2bcodbpexhjoywZW2T8M8DD<br>
c+N5LHjRuKU5zVoOV8tcsU0guhbt4VG+1nGJtOtLV0fn0qgHUKSpVnLriZnpMXpy<br>
1n0I76Uu3O4fsL0T2iYswmMl10ycEJLZwtf5WIPLlNVVGzz0J2gp3FjzkvTVy4Da<br>
FKt/qMsqKRMjb6tsCCdL/AXoTyDjFXmNef8jrjMLfdxot87qvipxVRaXgiOKYAtM<br>
uClfMP50/1d89qt+DrdJrB7CBDWOUUYaUSKFhj3622/s5J1CouF/EdkXI6sZlshl<br>
uH93RQKoYGuSAJN8z/kPSiXVc9XCSAEvDXtKno3iTljO8LjqN+T8T1GKQDxoXks=<br>
=Un5o<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br>