当我使用命令“kill -s SIGUSR1 cat /var/run/dnsmasq.pid
”时,日志中的输出如下:
Dec 2 14:23:48 dnsmasq[22548]: cache size 10000, 22230/42649 cache insertions re-used unexpired cache entries.
Dec 2 14:23:48 dnsmasq[22548]: queries forwarded 97058, queries answered locally 544818
我很困惑,缓存大小是10000,但是“已插入缓存的名称总数”是42649,为什么这两个数字不一样?如果我的内存足够大,如何使缓存大小大于 10000?