cochen
2015-12-02 06:31:13 UTC
Hello everyone,
When i use command " kill -s SIGUSR1 `cat /var/run/dnsmasq.pid`", the output in log as below:
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
I am so confused that cache size is 10000, but "the total number of names that have been inserted into the cache" is 42649, why these two numbers are not the same? And how can i make cache size bigger than 10000 if my memory is lager enough?
Thanks!
When i use command " kill -s SIGUSR1 `cat /var/run/dnsmasq.pid`", the output in log as below:
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
I am so confused that cache size is 10000, but "the total number of names that have been inserted into the cache" is 42649, why these two numbers are not the same? And how can i make cache size bigger than 10000 if my memory is lager enough?
Thanks!