omkar_jadhav_20 Wrote: ------------------------------------------------------- > Hi, > > We have used tmpfs to mount frequently used media application cache > serving. We have also mounted rest applications on disk where we are > facing similar issues of max_size being breached . Please find below > details for your reference : > > # du -sh /cache/* > 245G /cache/12007 > 161G /cache/12152 > > # grep a12007 /etc/nginx/nginx.conf > proxy_cache_path /cache/12007 keys_zone=a12007:200m levels=1:2 > max_size=200g inactive=10d; > # grep a12152 /etc/nginx/nginx.conf > proxy_cache_path /cache/12152 keys_zone=a12152:200m levels=1:2 > max_size=100g inactive=10d; > > # df -Th > Filesystem Type Size Used Avail Use% Mounted > on > /dev/mapper/vg_os-lv_root ext4 99G 1.5G 92G 2% / > devtmpfs devtmpfs 756G 0 756G 0% /dev > tmpfs tmpfs 756G 0 756G 0% > /dev/shm > tmpfs tmpfs 756G 50M 756G 1% /run > tmpfs tmpfs 756G 0 756G 0% > /sys/fs/cgroup > /dev/mapper/vg_os-lv_usr ext4 99G 1.4G 92G 2% /usr > /dev/sda1 ext4 477M 106M 343M 24% /boot > /dev/mapper/vg_cache-lv_cache ext4 1.5T 1.4T 0 100% /cache > > Please let us what went wrong here and how this can be corrected. In addition we are getting 90% of cache hit ratio. as suggested by Steve , will just making below mounting option changes in fstab will resolve this issue or I am missing/misscalculating anything : nodev,noexec,nosuid,noatime,async,size=xxxM,mode=0755,uid=xx,gid=xx
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271842,272137#msg-272137 _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
