Hi, I have nginx serve as image cached, here is the main config : proxy_cache_path /etc/nginx/cache-media levels=1:2 keys_zone=media:1000m inactive=2y max_size=100g; proxy_temp_path /etc/nginx/cache-media/tmp; /dev/sdc1 is an intel SSD with ext4 mounted (-o noatime, nodiratime). It looks like that the nginx do not evict the old cached files : Disk usage on /dev/sdc1 : # df -h /dby atrus - Nginx Mailing List - English
Found this : http://www.linuxbyexamples.net/linux/nginx/nginx-post-action-to-trigger-successfully-download Thanks. Atrus@by atrus - Nginx Mailing List - English
Thanks. I'll try the post_action term. Atrus@by atrus - Nginx Mailing List - English
Guy ! Anyone show me the solution plz. Thanks so much. Atrus@by atrus - Nginx Mailing List - English
Hi Guys, I have nginx server host some static files. How can I catch (trigger) when users successfully download a file ?! That means the size of downloaded file equals to the size of the file on server. I mean user have fully downloaded a file. Sorry for my bad english. Thank you. Atrus@by atrus - Nginx Mailing List - English
Thanks Bartenev. I have clear cache of the browser but it still using the old banner ! Atrus.by atrus - Nginx Mailing List - English
Guy ! Is there any one have fix this issue ?!!! Thanks so much.by atrus - Nginx Mailing List - English
Hi guys, I know that nginx proxy_cache is based on url (page). The cache file is something like this : ./c/a00b4dce27af1b06075339f598a4050c and it includes all the content of that page : text, image, banner, ... Suppose that I have a site map (on real server) like this : /page1.html /page2.html /page3.html /banner.jpeg all the three pages are include the banner.jpeg by tag <imgby atrus - Nginx Mailing List - English
Thanks guys. I'll have a try and result later. Brs. Atrus@by atrus - Nginx Mailing List - English
Hi guys, I have an entry cache with nginx : head -n10 /tmp/nginx/f/a78359efac162eed0807e0d85761441f 8?O��������(1O]� �D� KEY: http://www.bbc.co.uk/ HTTP/1.1 200 OK Server: Apache Vary: X-Country,Accept-Encoding,X-Ip_is_advertise_combined,X-Ip_is_uk_combined, X-GeoIP X-Cache-Action: PASS (non-cacheable) Cache-Control: private, max-age=60 X-Cache-Age: 0 Cby atrus - Nginx Mailing List - English
Thanks Yogui. Is there any other ways to do this automatically instead of manually subtract ?! I want to see in live.by atrus - Nginx Mailing List - English
Hi Guys, I have enable stub module and location /status/ in nginx.conf All I see just : Active connections: 1 server accepts handled requests 478077 478077 478271 Reading: 0 Writing: 1 Waiting: 0 How can I know which values is the rps of the nginx server ? Thanks guys.by atrus - Nginx Mailing List - English
I have tried : sendfile, aio, directIO with the same scenario, same buffer size, ... But it seems that directIO is the best, when I turn to Aio or sendfile, the output bandwidth become less than directIO (about 200Mbps, just 10% compares to directIO ) Is there anything tweak that relates to this problem ? Thanks all guys. Atrus@by atrus - Nginx Mailing List - English
Oh yes I've read it before, but in my situation, the traffic is already reach to 2Gbps and may be more. It's just bad when a lot client access on the same file. And what is your point ? Atrus@by atrus - Nginx Mailing List - English
Guys !! Is there anybody help me overcomes this ?by atrus - Nginx Mailing List - English
Hi guys, I have some file hosting servers running nginx, serving static files which size average from 500MB to 6GB. The servers use Lustre1.8 as cluster filesystem. Files stay on some raid6 array with stripe size = 512KB. At normal situation, nginx works very well. _ The disk i/o : Device: tps MB_read/s MB_wrtn/s MB_read MB_wrtn sdc 727.00 136by atrus - Nginx Mailing List - English