Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread tristanb
Thanks for your message, I applyed your patched, restarted varnish, nginx and php5-fpm and it's still the same. Browing with browser cache off feels like the image are downloaded and displayed in a progressive way because of the slowlyness. Another example too is this PDF of 3Mo who takes 3

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread Lucas Rolff
Takes me 2.65 seconds to load the PDF with no caching. tristanb wrote: Thanks for your message, I applyed your patched, restarted varnish, nginx and php5-fpm and it's still the same. Browing with browser cache off feels like the image are downloaded and displayed in a progressive way because

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread tristanb
Damn, I tested this on 3 different connection from 3 different providers (all based in France though, where the server are) - 20mbps ADSL by Orange - 1Gbps fiber by Free - 50 Mbps fiber by SFR Where are you based, what are you connexion specs please ? Posted at Nginx Forum:

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread Lucas Rolff
I've been testing from a 10 megabit connection in Netherlands, 100mbit connection in netherlands, 500 mbit connection in netherlands, 500mbit connection in France, 100mbit connection in france and a 250 megabit connection in france, a 20 megabit connection in UK. Can ask people from Denmark to

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread tristanb
Thanks, you really helped me, i'm gonna call my hosting provider to figure it out. I'm glad the nginx is not the cause here ;-) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252816,252827#msg-252827 ___ nginx mailing list nginx@nginx.org

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread tristanb
A last thing, can you provide a traceroute please ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252816,252828#msg-252828 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread Lucas Rolff
NL example: mtr admin.yproximite.fr HOST: server1Loss% Snt Last Avg Best Wrst StDev 1. hosted.by.leaseweb.com0.0% 20.5 0.5 0.5 0.5 0.0 2. te0-7-0-3.hvc3.evo.leaseweb. 0.0% 20.7 0.7 0.6 0.7 0.1 3. ix-5-1-1-0.thar1.HNN-Amsterd 0.0%

Re: Image serving via nginx are too slow, why ?

2014-08-26 Thread tristanb
Thank you so much ;-) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252816,252831#msg-252831 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Image serving via nginx are too slow, why ?

2014-08-25 Thread tristanb
Hello, Before posting, i've done a lot of google search, and i found other similar issue without any solutions. So, Why nginx is slow serving files in my case ? Part 1. The hardware Intel Xeon E5-1620v2 4c/8t 3,7 GHz 32 Go DDR3 ECC 1600MHz 3xSSD Intel 160Go 1 Gbps The load average is 0.13 I've

Re: Image serving via nginx are too slow, why ?

2014-08-25 Thread Dewangga
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you try using aio? Try turn off sendfile and tcp_nopush also. Here is my patch http://fpaste.org/128456/40901547/raw/ On 8/26/2014 03:51, tristanb wrote: Hello, Before posting, i've done a lot of google search, and i found other similar