Hi Daniel, Anand
I am running knot from the copr fedora repo.
I managed to get knot 3.4.0 running with mod-rrl in global-module.
I had mod-rrl mentioned twice, in global-module and once in module. I
made a mistake there.
I did some further tests with 3000 zones.
Knot version 3.3.9 in with mod-rrl global-module uses 140MB memory.
Knot version 3.3.9 in with mod-rrl in module uses 200MB memory.
Knot version 3.4.0 in with mod-rrl in global-module uses 170MB memory.
Knot version 3.4.0 with mod-rrl in module crashes with out of memory.
(it uses more then 7GB memory before it crashes)
I understand that I should run mod-rrl in global-module, it seems more
evident.
I think it is resolved now, thank you for your help.
Thank you.
Kind regards
Dries Pattyn
On 18/09/2024 19:39, Daniel Salzman wrote:
Are you sure there was just one mod-rrl instance (global-module)?
Based on
https://www.knot-dns.cz/docs/latest/singlehtml/index.html#table-size
one module instance consumes approximately 8M.
There are no additional dynamic allocations in the module.
I see the module is statically linked. Do you compile Knot on your own?
BTW, how do you know it leaks memory?
Daniel
On 9/18/24 17:43, Dries Pattyn via knot-dns-users wrote:
Hi Daniel
I have 3000 zones loaded.
I configured the module in global-module, but I have the same issue.
I've started knot in verbose mode, but that didnt point me in the
right direction either.
The server runs with 8GB memory, nothing else runs on it.
If you need more info, let me know.
2024-09-18T17:34:41+0200 debug: module 'mod-authsignal', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-cookies', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-dnsproxy', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-noudp', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-onlinesign', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-probe', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-queryacl', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-rrl', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-stats', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-synthrecord', loaded static
2024-09-18T17:34:41+0200 debug: module 'mod-whoami', loaded static
Killed
Kind regards
Dries Pattyn
--
--