Добрый день. После обновления nginx до 0.8.54 в логи сыпятся ошибки:
[alert] 48374#0: *13944719 stalled cache updating, error:0 while closing
request
[alert] 48374#0: *13944725 stalled cache updating, error:0 while closing
request
самому смоделировать ситуацию их проявления не получилось.
посмотрел на 0.7.66 - таких ошибок не было.
вот такой конфиг для кэширования:
location / {
proxy_pass http://127.0.0.1:80;
proxy_set_header Host test.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_next_upstream error timeout invalid_header http_500
http_503;
proxy_cache one;
proxy_cache_key $host$uri?$args|$cookie_newcw_lg|;
proxy_no_cache $cookie_newcw_lg $http_x_requested_with;
proxy_cache_bypass $cookie_newcw_lg $http_x_requested_with;
proxy_pass_header Set-Cookie;
proxy_ignore_headers "Expires";
proxy_cache_valid 200 301 302 304 3h;
}
Спасибо.
--
С уважением,
Смородин Александр
mailto: agsmorodin@gmail.com
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru