Welcome! Log In Create A New Profile

Advanced

Odd cache behavior

All files from this thread

File Name File Size   Posted by Date  
localhost-df-day.png 16.5 KB open | download Jim Ohlstein 10/02/2009 Read message
localhost-df-month.png 20.1 KB open | download Jim Ohlstein 10/02/2009 Read message
localhost-df_inode-day.png 16.3 KB open | download Jim Ohlstein 10/03/2009 Read message
localhost-df_inode-month.png 19.6 KB open | download Jim Ohlstein 10/03/2009 Read message
October 02, 2009 01:14PM
Hello,

I'm seeing odd disk usage statistics for my cache. The cache is
primarily of small files (images, javascript, and css) and sits on a
128GB SSD using ext2 file system mounted with "noatime" option. The
cache is all that the the drive is being used for at this time.

The attached graphs were generated by Munin using df. The data from du
correlates closely with df when run manually.

As you can see, periodically, with no set interval, disk usage rises
gradually, and then drops precipitously. I don't see anything out of the
ordinary in the error log. The cache serves about 2.8-3 million requests
per day, up from ~2.2-2.4 million one month ago.

The cache config is:

fastcgi_cache_path /falcon/cache levels=1:2 keys_zone=one:1024m
inactive=1d max_size=80g;

where the SSD is mounted as /falcon.


--
Jim Ohlstein
Attachments:
open | download - localhost-df-day.png (16.5 KB)
open | download - localhost-df-month.png (20.1 KB)
Subject Author Posted

Odd cache behavior Attachments

Jim Ohlstein October 02, 2009 01:14PM

Re: Odd cache behavior

Igor Sysoev October 03, 2009 05:28AM

Re: Odd cache behavior Attachments

Jim Ohlstein October 03, 2009 10:02AM

Re: Odd cache behavior

Igor Sysoev October 06, 2009 07:56AM

Re: Odd cache behavior

Igor Sysoev October 06, 2009 08:04AM

Re: Odd cache behavior

Igor Sysoev October 06, 2009 09:00AM

Re: Odd cache behavior

Jim Ohlstein October 06, 2009 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
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