Hello Zdenek,

Am 07.12.20 um 09:29 schrieb Zdenek Novy:
Hello,
we are facing the issue with "Too many transactions" during configuring knot via knotc - we are using confdb. We are using Python3 worker and popen function to knotc socket.

This is the log from the Python worker:
[2020-12-07 08:58:13,001] [INFO] adding zone xxxxxxxx
[2020-12-07 08:58:13,016] [ERROR] [event worker.job] Exception in job 'dns.add_zone'
Traceback (most recent call last):
......
ACK Exception: error running command: 'conf-begin'
retcode: 1
out: error: (too many transactions)

Is there any limitation for number of open transactions and are we able to increase it? Is it possible to see, how many open transactions there are now?

I can't see any message in the log file, is it possible to log conf-begin requests? Or are there any other ways, how to determine and guard the situation?

Many thanks for your help


To my knowledge you can only have one open transaction per section (conf/per zone), so i think you have an already open transaction from another session.

Frank
--
Frank Matthieß                             Mail: [email protected]
                                           phone:       +49 521 44 81 58 17
                  GnuPG: 9F81 BD57 C898 6059 86AA  0E9B 6B23 DE93 01BB 63D1

virtion GmbH                                 Südring 11, DE 33647 Bielefeld
Geschäftsführer: Michael Kutzner
Handelsregister HRB 40374, Amtsgericht Bielefeld,    USt-IdNr.: DE278312983
--
https://lists.nic.cz/mailman/listinfo/knot-dns-users

Reply via email to