Re: Static files bad loading time

2015-05-07 Thread grigory
Hi Francis, > Can you tell from nginx logs whether the slowness is due to > slow-read-from-disk, or slow-write-to-client, or something else? Could you please tell me how to check this out? My nginx logs do not contain this sort of information. > Can you find any pattern in the requests which res

Re: Static files bad loading time

2015-04-27 Thread grigory
So, Francis... Do you have any idea on my problem? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258372,258406#msg-258406 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Static files bad loading time

2015-04-26 Thread grigory
Sorry, I forgot to add the following part of the config (from server's block): # Static files location location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$ { if ($args ~* "^download") { add_heade

Re: Static files bad loading time

2015-04-25 Thread grigory
I use CentOS 6.6. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258372,258373#msg-258373 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Static files bad loading time

2015-04-25 Thread grigory
Hey guys, I have a dedicated server at iWeb.com (i3-540 + 8GB RAM). It has free bandwidth, average load is around 0.05-0.2 during the day and I/O wait ratio is very low now. However, sometimes my Nginx 1.4.2 loads in a browser 1MB image for like 10-30 seconds. Sometimes it takes 2 seconds like it