Unbound python performance 1.9.4

Eduard Ahmatgareev e.ahmatgareev at gmail.com
Sun Nov 3 18:36:30 UTC 2019

How is it possible to enable multiple python instances for get  more

I tried to add next:
module-config: "validator python python iterator"

    python-script: "/etc/unbound/dnsrabbit.py"
    python-script: "/etc/unbound/dnsrabbit.py"

but after restart unbound, I got:
 unbound-checkconf[15820]: [1572806018] unbound-checkconf[15820:0] fatal
error: module conf 'validator python python iterator' is not known to work

I use our own custom python script for extend unbound functionality, but
unfortunately after testing I found that unbound can process only 14k
queries per second on ec2 amazon instance
c4.xlarge Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz

num-threads: 8

Version 1.9.4

Configure line: --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --program-prefix=
--disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib
--mandir=/usr/share/man --infodir=/usr/share/info --with-pythonmodule
--with-pyunbound PYTHON=/usr/bin/python2 --with-libevent --with-pthreads
--with-ssl --disable-rpath --disable-static
--with-pidfile=/var/run/unbound/unbound.pid --enable-sha2 --disable-gost
--enable-ecdsa --with-rootkey-file=/var/lib/unbound/root.key
Linked libs: libevent 2.0.21-stable (it uses epoll), OpenSSL 1.0.2k-fips
 26 Jan 2017
Linked modules: dns64 python respip validator iterator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20191103/c7c4eb2f/attachment.htm>

More information about the Unbound-users mailing list