cache file is too small

Maxim Dounin mdounin at mdounin.ru
Wed Dec 28 13:05:50 UTC 2016


Hello!

On Wed, Dec 28, 2016 at 05:25:49AM -0500, omkar_jadhav_20 wrote:

> Hi,
> 
> I am using nginx 1.10.2. We are getting continuous error as 'cache file is
> too small':
> 2016/12/28 15:49:38 [crit] 55253#55253: cache file
> "/cache/12003/2/c3/4ab93b7d3126d7f7f79487c6dc9dbc32.0579642579" is too
> small
> 
> Below is the config line set for 12003 :
> proxy_cache_path    /cache/12003 keys_zone=a12003:200m levels=1:2
> max_size=700g inactive=10d;
> 
> Kindly let me know how can we eliminate this error.
> We are using nginx as web service to handle media traffic.

The message suggests that you are trying to use cache directory 
from nginx 1.11.6+ with use_temp_path=off.  There are temporary 
files left in the cache directories, and the older version doesn't 
recognize them and complains.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx mailing list