Maintained by: NLnet Labs

Multiple unbound instances

lst_hoe02 at kwsoft.de
Fri Mar 4 17:12:05 CET 2016


Zitat von Miguel Miranda via Unbound-users <unbound-users at unbound.net>:

> Hello to all, im installing a load balancer and i want to run multiple
> unbound instances, im doing this because my it experts says  it is not
> recommended to have a huge cache (i have 32GB available) it is better to
> have 2 or 3 GB cache in multiple unbound instances, this is good for high
> availability too, so if a instances dies the balancer notices it and the
>  other instances take the load,  what do you think about it ? if this a is
> a good idea, how to run multiple unbound instances, i am running unbound
> 1.5.1 Centos 6.7.
> regards.

I would not suspect that the cache size would be a limiting factor for  
Unbound. It *can* be problematic if you need a lot of CPU power and  
therefore have a lot (>> 8) of threads using the same cache because of  
lock contention.
For details have a look here :  
http://www.unbound.net/documentation/howto_optimise.html
If you need high availability multiple instances will not help that  
much if they use the same kernel and/or the same hardware, so you have  
to split the multiple instances on multiple machines and maybe even  
different OS.

Regards

Andreas