<div dir="ltr"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;text-align:left;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hello :)</span><div><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;text-align:left;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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?</span></div><div><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><br></font></div><div><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif">Currently when cachesize is set to 50, the ps aux RSS is 2500kB with below logs</font></div><div><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><br></font></div><div><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif">




<span></span>





<p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">Jul 25 17:41:54 servlp6 dnsmasq[15701]: cache size 50, 52/358 cache insertions re-used unexpired cache entries.</span></p>
<p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">Jul 25 17:41:54 servlp6 dnsmasq[15701]: queries forwarded 687, queries answered locally 1</span></p>
<p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">Jul 25 17:41:54 servlp6 dnsmasq[15701]: queries for authoritative zones 0</span></p>
<p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">Jul 25 17:41:54 servlp6 dnsmasq[15701]: server 10.0.3.2#53: queries sent 687, retried or failed 144</span></p><p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p>
<p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">root@servlp6:~# ps aux | grep dnsmasq</span></p>
<p class="m_8646529766122726274gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_8646529766122726274gmail-Apple-converted-space">  </span>15701<span class="m_8646529766122726274gmail-Apple-converted-space">  </span>0.0<span class="m_8646529766122726274gmail-Apple-converted-space">  </span>0.0<span class="m_8646529766122726274gmail-Apple-converted-space">  </span>52864<span class="m_8646529766122726274gmail-Apple-converted-space">  </span>2504 ?<span class="m_8646529766122726274gmail-Apple-converted-space">        </span>S<span class="m_8646529766122726274gmail-Apple-converted-space">    </span>16:28 <span class="m_8646529766122726274gmail-Apple-converted-space">  </span>0:00 /usr/sbin/</span><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures"> -x /var/run/</span><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">/</span><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">.pid -u </span><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures"> -r /var/run/</span><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">/resolv.conf -7 /etc/</span><span class="m_8646529766122726274gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>dnsmasq</b></span><span class="m_8646529766122726274gmail-s1" style="font-variant-ligatures:no-common-ligatures">.d,.dpkg-dist,.<wbr>dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,<wbr>49AAC11D7B6F6446702E54A1607371<wbr>607A1A41855200FD2CE1CDDE32F24E<wbr>8FB5</span></p>


<br clear="all"></font><div><div class="m_8646529766122726274gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Warm Regards<br></div>Sherpa<br></div></div></div>
</div></div>