Hi, I'm trying varnish with small-objects. System had enough free-memory,(varnishstat: N bytes free) and objects ttl was live. but "N expired objectse" increased.
Envelopment is this. OS: FreeBSD 6.2-RELEASE-p11 Varnish: rev.4088 start up with /usr/local/sbin/varnishd \ -T 127.0.0.1:10401 \ -f /var/home/yu/etc/test.vcl \ -s file,/tmp/cache,20g \ -p thread_pool_min=5 \ -p thread_pool_max=30 \ -p thread_pools=1 \ -p client_http11=on \ -P /var/run/varnishd.pid \ -w 5,300,300 \ -u www \ -a 0.0.0.0:80 vcl: backend store_1 { .host = "rs1.file.ryne.jp"; .port = "80"; } sub vcl_recv { set req.backend = store_1; set req.url = regsub(req.url, "^/(.)(.)(.+)", "/\1/\2/\1\2\3"); lookup; } sub vcl_hit { set obj.ttl = 14d; } "obj.ttl = 14d" defined here, It will fix all objects ttl to 14days, force. "N expired objectse" increases when the object TTL was over, or cache-out by LRU based algorithm I understood. Why did varnish expire under alive objects? thanks for your help, regards. ================= 島村 優太郎 / Yutaro Shimamura y...@irx.jp _______________________________________________ varnish-dev mailing list varnish-dev@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-dev