<div dir="ltr">10 instances ??<div>Im experimenting with 4 recursor instances because I have plenty of cpu and ram:</div><div><br></div><div>top - 16:20:08 up 8 days,  7:36,  3 users,  load average: 0.06, 0.05, 0.05</div><div>Tasks: 383 total,   1 running, 382 sleeping,   0 stopped,   0 zombie</div><div>Cpu(s):  5.5%us,  2.5%sy,  0.0%ni, 91.4%id,  0.1%wa,  0.0%hi,  0.6%si,  0.0%st</div><div>Mem:  32867864k total,  4847800k used, 28020064k free,   149300k buffers</div><div>Swap: 16506872k total,        0k used, 16506872k free,  1395864k cached</div><div><br></div><div> </div><div>dnsdist is reporting around 1200 qps at peak hours, should i benefit with more simultaneous instances? if so, how many? Im starting to beleive this server is oversized for the dns traffic our customers are demanding, what do you think?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 8, 2016 at 3:54 PM, Thomas Mieslinger <span dir="ltr"><<a href="mailto:miesi@pc-h.de" target="_blank">miesi@pc-h.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 08.01.2016 um 17:56 schrieb Nick Williams:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Jan 8, 2016, at 9:46 AM, Pieter Lexis <<a href="mailto:pieter.lexis@powerdns.com" target="_blank">pieter.lexis@powerdns.com</a>> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[..]<br>
/etc/init.d/pdns-recursor-balancer1 start.<br>
</blockquote><span class="">
<br>
You'll need to add '--config-name'[1] to command line options pdns_recursor in the init-script. Virtual hosting as done by the authoritative server is not supported with the recursor init-script.<br>
</span></blockquote><span class="">
<br>
FWIW, this would be a good application for containers, such as Docker containers.<br>
</span></blockquote>
<br>
I run 10 pdns_recoursor instances on each of my recursive server boxes. I'm (still) using a distro with upstart so I just need a short /etc/init/pdns-recursor.conf<br>
<br>
--snip--<br>
description "pdns instance $INSTANCE"<br>
<br>
stop on runlevel [016]<br>
<br>
respawn<br>
<br>
instance $INSTANCE<br>
<br>
exec /usr/sbin/pdns_recursor --daemon=no --config-dir=/etc/pdns-recursor/$INSTANCE --config-name=$INSTANCE --socket-dir=/var/run/pdns-recursor/$INSTANCE<br>
--snap--<br>
<br>
and can as many instances as I have CPU and ram. initctl list nicely lists all running instances... restarts failed processes etc.<br>
<br>
Copying sysV initscripts around is not elegant, but with well written upstart/systemd/svcadm configuration there is absolutely no reason to wrap docker around pdns_recursor or pdns.<br>
<br>
Sorry<span class="HOEnZb"><font color="#888888"><br>
<br>
Thomas</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</div></div></blockquote></div><br></div>