Franchoze Eric
September 15, 2010 11:20AM
010/09/15 07:32:46 [alert] 15486#0: *367785 stalled cache updating, error:0 while closing request, client: unix:, server: unix:/tmp/nginx7080.socket
2010/09/15 07:47:45 [alert] 15486#0: *578765 stalled cache updating, error:0 while closing request, client: unix:, server: unix:/tmp/nginx7080.socket
2010/09/15 07:47:48 [alert] 15489#0: *579275 stalled cache updating, error:0 while closing request, client: unix:, server: unix:/tmp/nginx7080.socket
2010/09/15 07:48:10 [alert] 15486#0: *584688 stalled cache updating, error:0 while closing request, client: unix:, server: unix:/tmp/nginx7080.socket
2010/09/15 07:49:35 [alert] 15487#0: *603386 stalled cache updating, error:0 while closing request, client: unix:, server: unix:/tmp/nginx7080.socket
2010/09/15 08:02:53 [alert] 15489#0: *784723 stalled cache updating, error:0 while closing request, client: unix:, server: unix:/tmp/nginx7080.socket
2010/09/15 08:05:02 [alert] 15489#0: *813570 stalled cache updating, error:0 while closing request, client: unix:t, server: unix:/tmp/nginx7080.socket


Should this if has c->error check?

if (c->updating) {
ngx_log_error(NGX_LOG_ALERT, c->file.log, 0,
"stalled cache updating, error:%ui", c->error);
}


#/usr/local/nginx-testing/sbin/nginx -V
nginx version: afts/0.8.50
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configure arguments: --prefix=/usr/local/nginx-testing --with-debug
#

Happens when cache grows to 2.5G.

#find . |wc -l
208906

#cat /usr/local/nginx-testing/conf/nginx.conf
worker_processes 4;
worker_rlimit_core 10000000000000000;
working_directory /tmp;

events {
use epoll;
worker_connections 10240;
multi_accept on;
}


http {
proxy_cache_path /var/www/cache levels=1:1:2 keys_zone=my-cache:1024m max_size=20g inactive=30m;
proxy_temp_path /var/www/cache/tmp;

include mime.types;
default_type text/plain;
access_log off;
sendfile on;
tcp_nopush on;
keepalive_timeout 1;
keepalive_requests 30;
client_header_buffer_size 32k;
large_client_header_buffers 8 32k;

resolver 127.0.0.1;

server {
listen unix:/tmp/nginx7080.socket;
gzip_proxied any;
error_log logs/error_7080_alert.log alert;
server_name hss;
location / {
proxy_pass http://$host$request_uri;
proxy_cache my-cache;
proxy_buffers 16 64k;
proxy_buffer_size 64k;
proxy_cache_valid 404 1d;
proxy_cache_valid 200 301 302 304 10m;
log_format cache '***$time_local '
'$upstream_cache_status '
'Cache-Control: $upstream_http_cache_control '
'"$request" ($status) ';
access_log logs/cache_nginx_access.log cache;
}
}
}







_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

stalled cache updating, error:0

Franchoze Eric 4723 September 15, 2010 11:20AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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