Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cache Manager не удаляет файлы п осле превышении max size
- To: nginx-ru@xxxxxxxxx
- Subject: Cache Manager не удаляет файлы п осле превышении max size
- From: "Grigory A. Mozhaev" <zcrendel@xxxxxxxxx>
- Date: Thu, 3 Nov 2011 00:37:25 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=IaOI5YNaMw91XAdVeyw2OL1baPZce+P/f6qS30eK4ng=; b=kqB/TnnBaJJQUqdUqLIY6MrKlXphWiFPAO1rczSp0A7f8w/9yGf9Hnlv3pgc4jx3YA TsbSqzEtNI5aZbkaakUrS4/zZsuGgBKcb/FHpMuIiJl/O6YSExVR3Y0iwE4QSIiIoL45 a7+5ixD7iN/dGv+vyUfSv/UKg1fPHsAY4lfxI=
Извиняюсь, запостил случайно не в тот тред :
Cache Manager по-прошествии некоторого времени перестает ограничивать кеш
размером max_size.
С чем может быть связано такое поведение? Куда копать?
Версия nginx 1.0.6
Backtrace:
(gdb) bt full
#0 0x00007faa6cfd67c3 in __epoll_wait_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x000000000042410d in ngx_epoll_process_events (cycle=0x2141430,
timer=1000, flags=1) at src/event/modules/ngx_epoll_module.c:529
events = <value optimized out>
revents = <value optimized out>
instance = <value optimized out>
i = <value optimized out>
level = <value optimized out>
err = <value optimized out>
rev = <value optimized out>
wev = <value optimized out>
queue = <value optimized out>
c = <value optimized out>
#2 0x000000000041bc94 in ngx_process_events_and_timers
(cycle=0x2141430) at src/event/ngx_event.c:245
flags = 1
timer = 1000
delta = 1319339651016
#3 0x000000000042315a in ngx_cache_manager_process_cycle
(cycle=0x2141430, data=<value optimized out>) at
src/os/unix/ngx_process_cycle.c:1328
ctx = <value optimized out>
ident = {0x10, 0x7faa6cf9f675, 0x10, 0xffffffffffffffff}
ev = {data = 0x7ffff82cc410, write = 0, accept = 0, instance =
0, active = 0, disabled = 0, ready = 0, oneshot = 0, complete = 0, eof
= 0, error = 0, timedout = 1,
timer_set = 1, delayed = 0, read_discarded = 0,
unexpected_eof = 0, deferred_accept = 0, pending_eof = 0, posted_ready
= 0, available = 0,
handler = 0x422b50 <ngx_cache_manager_process_handler>,
index = 0, log = 0x2141448, timer = {key = 1319339652016, left =
0x6a8c80, right = 0x6a8c80,
parent = 0x0, color = 0 '\000', data = 0 '\000'}, closed =
0, channel = 0, resolver = 0, next = 0x0, prev = 0x0}
#4 0x00000000004211d7 in ngx_spawn_process (cycle=0x2141430,
proc=0x422f24 <ngx_cache_manager_process_cycle>, data=0x6990e0,
name=0x47b67c "cache manager process",
respawn=-3) at src/os/unix/ngx_process.c:196
on = 1
pid = 0
s = 16
#5 0x0000000000421ef3 in ngx_start_cache_manager_processes
(cycle=0x2141430, respawn=0) at src/os/unix/ngx_process_cycle.c:398
i = <value optimized out>
manager = <value optimized out>
loader = 1
path = <value optimized out>
ch = {command = 15, pid = 35, slot = 3, fd = 95}
#6 0x000000000042332c in ngx_master_process_cycle (cycle=0x2141430)
at src/os/unix/ngx_process_cycle.c:138
title = 0x2175afc "master process
/cachefly/nginx-0.8.54-cf/sbin/nginx -c
/cachefly/local/me/nginx/nginx-ssd.conf"
p = <value optimized out>
size = 95
i = 3
n = <value optimized out>
sigio = <value optimized out>
set = {__val = {0 <repeats 16 times>}}
itv = {it_interval = {tv_sec = 35084872, tv_usec = 1},
it_value = {tv_sec = 6910576, tv_usec = 0}}
live = <value optimized out>
delay = <value optimized out>
ls = <value optimized out>
ccf = 0x2141d10
#7 0x0000000000406760 in main (argc=<value optimized out>,
argv=<value optimized out>) at src/core/nginx.c:405
i = <value optimized out>
log = 0x6a6aa0
cycle = 0x2141430
init_cycle = {conf_ctx = 0x0, pool = 0x21406a0, log =
0x6a6aa0, new_log = {log_level = 0, file = 0x0, connection = 0,
handler = 0, data = 0x0, action = 0x0},
files = 0x0, free_connections = 0x0, free_connection_n = 0,
reusable_connections_queue = {prev = 0x0, next = 0x0}, listening =
{elts = 0x2140ca0, nelts = 1,
size = 184, nalloc = 10, pool = 0x21406a0}, pathes = {elts
= 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, open_files =
{last = 0x0, part = {elts = 0x0,
nelts = 0, next = 0x0}, size = 0, nalloc = 0, pool =
0x0}, shared_memory = {last = 0x0, part = {elts = 0x0, nelts = 0, next
= 0x0}, size = 0, nalloc = 0,
pool = 0x0}, connection_n = 0, files_n = 0, connections =
0x0, read_events = 0x0, write_events = 0x0, old_cycle = 0x0, conf_file
= {len = 39,
data = 0x7ffff82cce75 ""}, conf_param = {len = 0, data =
0x0}, conf_prefix = {len = 25, data = 0x7ffff82cce75 ""}, prefix =
{len = 26,
data = 0x477475 "/cachefly/nginx-0.8.54-cf/"}, lock_file =
{len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}}
ccf = <value optimized out>
--
С уважением,
Можаев Григорий
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|