Welcome! Log In Create A New Profile

Advanced

Re: nginx cache mounted on tmpf getting fulled

January 25, 2017 02:17AM
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
Subject Author Posted

nginx cache mounted on tmpf getting fulled

omkar_jadhav_20 January 06, 2017 12:40AM

Re: nginx cache mounted on tmpf getting filled 100%

omkar_jadhav_20 January 06, 2017 12:41AM

Re: nginx cache mounted on tmpf getting filled 100%

omkar_jadhav_20 January 09, 2017 04:05AM

Re: nginx cache mounted on tmpf getting fulled

ms1 January 09, 2017 04:12AM

Re: nginx cache mounted on tmpf getting fulled

omkar_jadhav_20 January 09, 2017 04:17AM

Re: nginx cache mounted on tmpf getting fulled

omkar_jadhav_20 January 16, 2017 02:00AM

Re: nginx cache mounted on tmpf getting fulled

Igor A. Ippolitov January 16, 2017 04:42AM

Re: nginx cache mounted on tmpf getting fulled

pbooth January 16, 2017 08:38PM

Re: nginx cache mounted on tmpf getting fulled

GreenGecko January 16, 2017 10:36PM

Re: nginx cache mounted on tmpf getting fulled

omkar_jadhav_20 January 25, 2017 02:05AM

Re: nginx cache mounted on tmpf getting fulled

omkar_jadhav_20 January 25, 2017 02:17AM

Re: nginx cache mounted on tmpf getting fulled

pbooth February 20, 2017 12:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 324
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready