[Dnsmasq-discuss] What is memory usage per cached dns address

Urgen Sherpa norbuurgen at gmail.com
Wed Jul 25 18:44:56 BST 2018


Hello :)
Any idea on memory usage per cached dns address ? Lets say if i have
500,000 cache size(and if cache is full) how much memory is expected to be
used on linux server with spare 160G memory?

Currently when cachesize is set to 50, the ps aux RSS is 2500kB with below
logs

Jul 25 17:41:54 servlp6 dnsmasq[15701]: cache size 50, 52/358 cache
insertions re-used unexpired cache entries.

Jul 25 17:41:54 servlp6 dnsmasq[15701]: queries forwarded 687, queries
answered locally 1

Jul 25 17:41:54 servlp6 dnsmasq[15701]: queries for authoritative zones 0

Jul 25 17:41:54 servlp6 dnsmasq[15701]: server 10.0.3.2#53: queries sent
687, retried or failed 144


root at servlp6:~# ps aux | grep dnsmasq

*dnsmasq*  15701  0.0  0.0  52864  2504 ?        S    16:28   0:00
/usr/sbin/*dnsmasq* -x /var/run/*dnsmasq*/*dnsmasq*.pid -u *dnsmasq* -r
/var/run/*dnsmasq*/resolv.conf -7
/etc/*dnsmasq*.d,.dpkg-dist,.dpkg-old,.dpkg-new
--local-service --trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371
607A1A41855200FD2CE1CDDE32F24E8FB5


Warm Regards
Sherpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180725/3cb85219/attachment.html>


More information about the Dnsmasq-discuss mailing list