Welcome! Log In Create A New Profile

Advanced

cache file has too long header (bug) ?

September 10, 2015 01:30PM
Hey Guys,

I've been using nginx 1.8.0 for a couple of months, and I noticed a critical message at error log informing that "cache file has too long header".

2015/09/10 17:11:03 [crit] 27245#0: *10686 cache file "/data/smallfiles/http/6/d8/f5df8d6eda60819319688d1bc0cb2d86" has too long header

However, as you can see at the example bellow, there is nothing abnormal with the file:

cat /data/smallfiles/http/6/d8/f5df8d6eda60819319688d1bc0cb2d86

KEY: static.myhosthere.com.br/bundles/1234567890123456789012?v=saUVIhIUFNX8o0JpMT9rspK0l6klR4JQBnJXIV1MXkE1
HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/javascript; charset=utf-8
Content-Encoding: gzip
Expires: Fri, 09 Sep 2016 17:22:25 GMT
Last-Modified: Thu, 10 Sep 2015 17:22:25 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,OPTIONS
Access-Control-Allow-Headers: Content-Type
X-Frame-Options: SAMEORIGIN
Date: Thu, 10 Sep 2015 17:22:24 GMT
Content-Length: 1301

<here is the body>

I thought it would be the header buffer size, but I'm using a very large value:

client_body_buffer_size 128k;
client_header_buffer_size 32k;
large_client_header_buffers 4 64k;

When this error occurs, the object is fetched from the origin again.

Any ideia ?

Thanks in advance.
Subject Author Posted

cache file has too long header (bug) ?

biazus September 10, 2015 01:30PM

Re: cache file has too long header (bug) ?

Maxim Dounin September 10, 2015 02:20PM

Re: cache file has too long header (bug) ?

biazus September 10, 2015 04:52PM

Re: cache file has too long header (bug) ?

Maxim Dounin September 11, 2015 10:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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