continue;
}
TAILQ_REMOVE(&exp_deathrow, o, deathrow);
+ VSL_stats->n_deathrow--;
+ VSL_stats->n_expired++;
AZ(pthread_mutex_unlock(&exp_mtx));
- VSL(SLT_ExpKill, 0, "%u", o->xid);
+ VSL(SLT_ExpKill, 0, "%u %d", o->xid, (int)(o->ttl - t));
HSH_Deref(o);
}
}
if (sp->handling == VCL_RET_DISCARD) {
AZ(pthread_mutex_lock(&exp_mtx));
TAILQ_INSERT_TAIL(&exp_deathrow, o, deathrow);
+ VSL_stats->n_deathrow++;
AZ(pthread_mutex_unlock(&exp_mtx));
continue;
}
MAC_STAT(n_wrk_busy, uint64_t, "u", "N busy worker threads")
MAC_STAT(n_wrk_queue, uint64_t, "u", "N queued work requests")
+MAC_STAT(n_expired, uint64_t, "u", "N expired objects")
+MAC_STAT(n_deathrow, uint64_t, "u", "N objects on deathrow")
+
MAC_STAT(losthdr, uint64_t, "u", "HTTP header overflows")