proxy_cache_path's max_size being violated/ignored

Maxim Dounin mdounin at
Mon Apr 8 16:22:22 UTC 2013


On Mon, Apr 08, 2013 at 11:46:55AM -0400, gwinans wrote:

> Hi folks,
> We setup some nginx instances a few months ago in order to serve up/cache
> video content. Recently, we've noticed that there is *severe* cache overrun
> -- on the order of 1TB + per cache directory.
> It seems like proxy_cache_path is entirely ignoring the max_size value
> specified in the config.
> Here's the config as it stands:
> The actual cache size on-disk is ~1.1-1.4TB rather than the expected 320GB.
> I'm at a loss after having asked for days on end in the #nginx channel on
> freenode.
> Did I pooch the config? Is the nginx cache loader unable to keep up with the
> incoming data rate? Is the max_size value arbitrarily ignored for some
> reason?

Is cache manager process running?  What's in logs?  What "nginx -V" shows?

Maxim Dounin

More information about the nginx mailing list