What is knot's msg_buffer_size?

Hi,

can anyone please explain the meaning of those configuration options?

    option edns_buffer_size '1232'
    option msg_buffer_size '65552'
    option msg_cache_size '2M'

I want to disable caching, but I cannot find any information in the documentation about msg_buffer_size.

https://knot-resolver.readthedocs.io/en/stable/search.html?q=buffer_size&check_keywords=yes&area=default#

Your search did not match any documents.

@vcunat maybe You might know some internals?

It’s not used. Something historical from other implementations probably. Knot Resolver can’t really completely disable caching; it would be a disaster I suspect. You could clip TTL to a couple seconds or something. That’s here: Cache — Knot Resolver 5.7.4 documentation

2 Likes

You can add lua configuration from those docs like this:
https://wiki.turris.cz/en/public/dns_knot_misc#adding_your_own_custom_configuration_file_to_knot

1 Like

Thanks, seems 5 is the lowest possible number, with anything below knot fails to start. I think I have correctly configured it with cache.max_ttl(5):

root@omnia:/etc/kresd# socat - /tmp/kresd/control/830
> cache.max_ttl()
5

Does this look correct?

I am doing this because I already have a caching Unbound upstream resolver within my local network so I do not need a second layer of caching.

It looks good to me.

1 Like

I think it can get lower, but you first need to decrease the minimum to lower than 5s.

1 Like

Yes, this was the issue. I have set cache.min_ttl(0) and now cache.max_ttl accepts lower values :+1:

root@omnia:~# socat - /tmp/kresd/control/24388
> cache.stats()
{
    ['clear'] = 2,
    ['close'] = 1,
    ['commit'] = 110218,
    ['count'] = 2,
    ['count_entries'] = 1095,
    ['match'] = 0,
    ['match_miss'] = 0,
    ['open'] = 2,
    ['read'] = 2220161,
    ['read_leq'] = 163,
    ['read_leq_miss'] = 80,
    ['read_miss'] = 50537,
    ['remove'] = 0,
    ['remove_miss'] = 0,
    ['usage_percent'] = 18.75,
    ['write'] = 129367,
}

Can this be correct? How can there be more than 1000 entries in the cache if TTL is >=5?

There seems to be more wrong here. Currently kresd keeps consuming memory, a few minutes ago it went up to 1,8 GB for the process, the whole system freezed, Disk IO went up to 100% for a few minutes.

Now kresd is consuming 450 MB RAM and counting.

I have set max TTL to 60 and restarted knot.

Problem occurs now much slower but is still present. kresd keeps consuming memory. It’s at 450 MB. Any idea what happens here?

These are low-level stats. Even expired records are counted, until they’re really purged or overwritten.


The RAM consumption is worrying. That certainly isn’t normal. Can you post all resolver configuration? Maybe it will be easiest to just post the resulting composed /tmp/kresd.config file.

1 Like

Sure, here is my running config:

root@omnia:~# cat /tmp/kresd.config
--Automatically generated file; DO NOT EDIT
modules = {
    'hints > iterate'
  , 'policy'
}
hints.use_nodata(true)
hints.config('/tmp/kresd/hints.tmp')
net.listen('0.0.0.0', 53, { kind = 'dns' })
net.listen('0.0.0.0',   853, { kind = 'tls' })
net.listen('::', 53, { kind = 'dns' })
net.listen('::',   853, { kind = 'tls' })
trust_anchors.remove('.')
trust_anchors.add_file('/etc/root.keys', true)
net.bufsize(1232)
net.ipv4=true
net.ipv6=true
cache.open(1*MB)
cache.clear()
table.insert(policy.special_names, { count = 0, cb = policy.all(
policy.FORWARD(
{'192.168.100.50@53'
,'fda6:7d51:ff03:0:7c5f:89ff:fea8:fa17@53'
}))})

--- Included custom configuration file from: ---
--- /etc/kresd/custom.conf
policy.add(policy.suffix(policy.PASS, {todname('home.arpa.')}))
cache.min_ttl(0)
cache.max_ttl(60)
user('kresd','kresd')

Ram consumption of /usr/sbin/kresd is currently at 497 MB.

Nothing fishy in there.

If you played with larger cache sizes, you might’ve remained with a larger one until a reboot. I don’t expect it’s the issue, but it’s easy to check by

root@turris:~# ls -lh /tmp/kresd/data.mdb
-rw-r-----    1 kresd    kresd      20.0M Jul 31 16:00 /tmp/kresd/data.mdb

And have a glance at logs. I think even by default that would be /var/log/resolver.

root@omnia:~# ls -lh /tmp/kresd/data.mdb
-rw-r-----    1 kresd    kresd       2.0M Jul 30 19:17 /tmp/kresd/data.mdb

Ram usage still increasing, now kresd uses 551 MB.

Here is the log:

Jul  8 10:36:10 omnia kresd[26398]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 10:37:03 omnia kresd[27014]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 10:37:04 omnia kresd[27151]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 10:37:13 omnia kresd[28987]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 10:37:34 omnia kresd[29339]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 10:37:42 omnia kresd[29339]: [timesk] cannot resolve '.' NS
Jul  8 10:37:51 omnia kresd[29339]: [taupd ] active refresh failed for . with rcode: 2
Jul  8 10:37:51 omnia kresd[29699]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 13:08:50 omnia kresd[10721]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 13:26:49 omnia kresd[16497]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 13:26:50 omnia kresd[16642]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 13:27:16 omnia kresd[17755]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 13:32:33 omnia kresd[19810]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 13:32:34 omnia kresd[19810]: [cache ] Warning: real cache size is 104857600 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 14:46:50 omnia kresd[9279]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 14:46:50 omnia kresd[9279]: [cache ] Warning: real cache size is 104857600 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:00:53 omnia kresd[20982]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:00:54 omnia kresd[20982]: [cache ] Warning: real cache size is 104857600 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:05:15 omnia kresd[22428]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:05:16 omnia kresd[22428]: [system] error while loading config: /tmp/kresd.config:30: unexpected symbol near '#' (workdir '/tmp/kresd')
Jul  8 21:05:21 omnia kresd[22503]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:05:21 omnia kresd[22503]: [system] error while loading config: /tmp/kresd.config:30: unexpected symbol near '#' (workdir '/tmp/kresd')
Jul  8 21:05:26 omnia kresd[22525]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:05:26 omnia kresd[22525]: [system] error while loading config: /tmp/kresd.config:30: unexpected symbol near '#' (workdir '/tmp/kresd')
Jul  8 21:05:31 omnia kresd[22547]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:05:31 omnia kresd[22547]: [system] error while loading config: /tmp/kresd.config:30: unexpected symbol near '#' (workdir '/tmp/kresd')
Jul  8 21:05:36 omnia kresd[22567]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:05:36 omnia kresd[22567]: [system] error while loading config: /tmp/kresd.config:30: unexpected symbol near '#' (workdir '/tmp/kresd')
Jul  8 21:05:41 omnia kresd[22589]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:05:41 omnia kresd[22589]: [system] error while loading config: /tmp/kresd.config:30: unexpected symbol near '#' (workdir '/tmp/kresd')
Jul  8 21:06:04 omnia kresd[22826]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:06:04 omnia kresd[22826]: [cache ] Warning: real cache size is 104857600 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:09:24 omnia kresd[24005]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:09:25 omnia kresd[24005]: [cache ] Warning: real cache size is 104857600 instead of the requested 10485760 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:18:05 omnia kresd[26662]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:18:05 omnia kresd[26662]: [cache ] Warning: real cache size is 104857600 instead of the requested 10485760 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:26:13 omnia kresd[29149]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:26:13 omnia kresd[29149]: [cache ] Warning: real cache size is 104857600 instead of the requested 10485760 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:27:01 omnia kresd[29594]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:27:01 omnia kresd[29594]: [cache ] Warning: real cache size is 104857600 instead of the requested 5242880 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:35:59 omnia kresd[32301]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:35:59 omnia kresd[32301]: [system] error while loading config: /tmp/kresd.config:29: '=' expected near '-' (workdir '/tmp/kresd')
Jul  8 21:36:04 omnia kresd[32371]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:36:04 omnia kresd[32371]: [system] error while loading config: /tmp/kresd.config:29: '=' expected near '-' (workdir '/tmp/kresd')
Jul  8 21:36:09 omnia kresd[32392]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:36:09 omnia kresd[32392]: [system] error while loading config: /tmp/kresd.config:29: '=' expected near '-' (workdir '/tmp/kresd')
Jul  8 21:36:14 omnia kresd[32414]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:36:14 omnia kresd[32414]: [system] error while loading config: /tmp/kresd.config:29: '=' expected near '-' (workdir '/tmp/kresd')
Jul  8 21:36:19 omnia kresd[32434]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:36:19 omnia kresd[32434]: [system] error while loading config: /tmp/kresd.config:29: '=' expected near '-' (workdir '/tmp/kresd')
Jul  8 21:36:24 omnia kresd[32498]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:36:24 omnia kresd[32498]: [system] error while loading config: /tmp/kresd.config:29: '=' expected near '-' (workdir '/tmp/kresd')
Jul  8 21:38:45 omnia kresd[865]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:38:45 omnia kresd[865]: [cache ] Warning: real cache size is 104857600 instead of the requested 5242880 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  8 21:42:12 omnia kresd[2032]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  8 21:42:12 omnia kresd[2032]: [cache ] Warning: real cache size is 104857600 instead of the requested 2097152 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  9 07:41:15 omnia kresd[8751]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  9 07:41:15 omnia kresd[8751]: [cache ] Warning: real cache size is 104857600 instead of the requested 2097152 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  9 08:54:29 omnia kresd[32169]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  9 08:54:29 omnia kresd[32169]: [cache ] Warning: real cache size is 104857600 instead of the requested 2097152 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul  9 09:35:50 omnia kresd[11611]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul  9 09:36:34 omnia kresd[12002]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 16 12:26:53 omnia kresd[12002]: [hint  ] [     ]/tmp/dhcp.leases.dynamic:30: invalid syntax
Jul 17 16:56:34 omnia kresd[12002]: [hint  ] [     ]/tmp/dhcp.leases.dynamic:30: invalid syntax
Jul 24 07:59:53 omnia kresd[12002]: [hint  ] [     ]/tmp/dhcp.leases.dynamic:30: invalid syntax
Jul 28 13:58:10 omnia kresd[12002]: [hint  ] [     ]/tmp/dhcp.leases.dynamic:29: invalid syntax
Jul 29 17:58:24 omnia kresd[1749]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:58:24 omnia kresd[1749]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:58:24 omnia kresd[1749]: stack traceback:
Jul 29 17:58:24 omnia kresd[1749]: 	[C]: in function 'open'
Jul 29 17:58:24 omnia kresd[1749]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:58:24 omnia kresd[1749]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:58:29 omnia kresd[1822]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:58:29 omnia kresd[1822]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:58:29 omnia kresd[1822]: stack traceback:
Jul 29 17:58:29 omnia kresd[1822]: 	[C]: in function 'open'
Jul 29 17:58:29 omnia kresd[1822]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:58:29 omnia kresd[1822]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:58:34 omnia kresd[1855]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:58:34 omnia kresd[1855]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:58:34 omnia kresd[1855]: stack traceback:
Jul 29 17:58:34 omnia kresd[1855]: 	[C]: in function 'open'
Jul 29 17:58:34 omnia kresd[1855]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:58:34 omnia kresd[1855]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:58:39 omnia kresd[1880]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:58:39 omnia kresd[1880]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:58:39 omnia kresd[1880]: stack traceback:
Jul 29 17:58:39 omnia kresd[1880]: 	[C]: in function 'open'
Jul 29 17:58:39 omnia kresd[1880]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:58:39 omnia kresd[1880]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:58:44 omnia kresd[1897]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:58:44 omnia kresd[1897]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:58:44 omnia kresd[1897]: stack traceback:
Jul 29 17:58:44 omnia kresd[1897]: 	[C]: in function 'open'
Jul 29 17:58:44 omnia kresd[1897]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:58:44 omnia kresd[1897]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:58:49 omnia kresd[1923]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:58:49 omnia kresd[1923]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:58:49 omnia kresd[1923]: stack traceback:
Jul 29 17:58:49 omnia kresd[1923]: 	[C]: in function 'open'
Jul 29 17:58:49 omnia kresd[1923]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:58:49 omnia kresd[1923]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:59:44 omnia kresd[2319]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:59:44 omnia kresd[2319]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:59:44 omnia kresd[2319]: stack traceback:
Jul 29 17:59:44 omnia kresd[2319]: 	[C]: in function 'open'
Jul 29 17:59:44 omnia kresd[2319]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:59:44 omnia kresd[2319]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:59:49 omnia kresd[2388]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:59:49 omnia kresd[2388]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:59:49 omnia kresd[2388]: stack traceback:
Jul 29 17:59:49 omnia kresd[2388]: 	[C]: in function 'open'
Jul 29 17:59:49 omnia kresd[2388]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:59:49 omnia kresd[2388]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:59:54 omnia kresd[2410]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:59:54 omnia kresd[2410]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:59:54 omnia kresd[2410]: stack traceback:
Jul 29 17:59:54 omnia kresd[2410]: 	[C]: in function 'open'
Jul 29 17:59:54 omnia kresd[2410]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:59:54 omnia kresd[2410]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 17:59:59 omnia kresd[2430]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 17:59:59 omnia kresd[2430]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 17:59:59 omnia kresd[2430]: stack traceback:
Jul 29 17:59:59 omnia kresd[2430]: 	[C]: in function 'open'
Jul 29 17:59:59 omnia kresd[2430]: 	/tmp/kresd.config:17: in main chunk
Jul 29 17:59:59 omnia kresd[2430]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 18:00:04 omnia kresd[2508]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 18:00:04 omnia kresd[2508]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 18:00:04 omnia kresd[2508]: stack traceback:
Jul 29 18:00:04 omnia kresd[2508]: 	[C]: in function 'open'
Jul 29 18:00:04 omnia kresd[2508]: 	/tmp/kresd.config:17: in main chunk
Jul 29 18:00:04 omnia kresd[2508]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 18:00:09 omnia kresd[2529]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 18:00:09 omnia kresd[2529]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 18:00:09 omnia kresd[2529]: stack traceback:
Jul 29 18:00:09 omnia kresd[2529]: 	[C]: in function 'open'
Jul 29 18:00:09 omnia kresd[2529]: 	/tmp/kresd.config:17: in main chunk
Jul 29 18:00:09 omnia kresd[2529]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 18:00:13 omnia kresd[2731]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 18:00:13 omnia kresd[2731]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:58:41 omnia kresd[21729]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:58:41 omnia kresd[21729]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:58:41 omnia kresd[21729]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 20:58:41 omnia kresd[21729]: stack traceback:
Jul 29 20:58:41 omnia kresd[21729]: 	[C]: in function 'max_ttl'
Jul 29 20:58:41 omnia kresd[21729]: 	/tmp/kresd.config:28: in main chunk
Jul 29 20:58:41 omnia kresd[21729]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 20:58:46 omnia kresd[21799]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:58:46 omnia kresd[21799]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:58:46 omnia kresd[21799]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 20:58:46 omnia kresd[21799]: stack traceback:
Jul 29 20:58:46 omnia kresd[21799]: 	[C]: in function 'max_ttl'
Jul 29 20:58:46 omnia kresd[21799]: 	/tmp/kresd.config:28: in main chunk
Jul 29 20:58:46 omnia kresd[21799]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 20:58:51 omnia kresd[21819]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:58:51 omnia kresd[21819]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:58:51 omnia kresd[21819]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 20:58:51 omnia kresd[21819]: stack traceback:
Jul 29 20:58:51 omnia kresd[21819]: 	[C]: in function 'max_ttl'
Jul 29 20:58:51 omnia kresd[21819]: 	/tmp/kresd.config:28: in main chunk
Jul 29 20:58:51 omnia kresd[21819]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 20:58:56 omnia kresd[21842]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:58:56 omnia kresd[21842]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:58:56 omnia kresd[21842]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 20:58:56 omnia kresd[21842]: stack traceback:
Jul 29 20:58:56 omnia kresd[21842]: 	[C]: in function 'max_ttl'
Jul 29 20:58:56 omnia kresd[21842]: 	/tmp/kresd.config:28: in main chunk
Jul 29 20:58:56 omnia kresd[21842]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 20:59:02 omnia kresd[21862]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:59:02 omnia kresd[21862]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:59:02 omnia kresd[21862]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 20:59:02 omnia kresd[21862]: stack traceback:
Jul 29 20:59:02 omnia kresd[21862]: 	[C]: in function 'max_ttl'
Jul 29 20:59:02 omnia kresd[21862]: 	/tmp/kresd.config:28: in main chunk
Jul 29 20:59:02 omnia kresd[21862]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 20:59:07 omnia kresd[21884]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:59:07 omnia kresd[21884]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 20:59:07 omnia kresd[21884]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 20:59:07 omnia kresd[21884]: stack traceback:
Jul 29 20:59:07 omnia kresd[21884]: 	[C]: in function 'max_ttl'
Jul 29 20:59:07 omnia kresd[21884]: 	/tmp/kresd.config:28: in main chunk
Jul 29 20:59:07 omnia kresd[21884]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 20:59:19 omnia kresd[22131]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 20:59:19 omnia kresd[22131]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:22:55 omnia kresd[22131]: [contrl] > e[A
Jul 29 21:22:55 omnia kresd[22131]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: (binary): cannot load incompatible bytecode
Jul 29 21:22:59 omnia kresd[22131]: [contrl] > e[A
Jul 29 21:22:59 omnia kresd[22131]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: (binary): cannot load incompatible bytecode
Jul 29 21:25:13 omnia kresd[29593]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:25:13 omnia kresd[29593]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:04 omnia kresd[30012]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:04 omnia kresd[30012]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:33 omnia kresd[30340]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:33 omnia kresd[30340]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:33 omnia kresd[30340]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:26:33 omnia kresd[30340]: stack traceback:
Jul 29 21:26:33 omnia kresd[30340]: 	[C]: in function 'max_ttl'
Jul 29 21:26:33 omnia kresd[30340]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:26:33 omnia kresd[30340]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:26:38 omnia kresd[30389]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:38 omnia kresd[30389]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:38 omnia kresd[30389]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:26:38 omnia kresd[30389]: stack traceback:
Jul 29 21:26:38 omnia kresd[30389]: 	[C]: in function 'max_ttl'
Jul 29 21:26:38 omnia kresd[30389]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:26:38 omnia kresd[30389]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:26:43 omnia kresd[30416]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:43 omnia kresd[30416]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:43 omnia kresd[30416]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:26:43 omnia kresd[30416]: stack traceback:
Jul 29 21:26:43 omnia kresd[30416]: 	[C]: in function 'max_ttl'
Jul 29 21:26:43 omnia kresd[30416]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:26:43 omnia kresd[30416]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:26:48 omnia kresd[30433]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:48 omnia kresd[30433]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:48 omnia kresd[30433]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:26:48 omnia kresd[30433]: stack traceback:
Jul 29 21:26:48 omnia kresd[30433]: 	[C]: in function 'max_ttl'
Jul 29 21:26:48 omnia kresd[30433]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:26:48 omnia kresd[30433]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:26:52 omnia kresd[30592]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:52 omnia kresd[30592]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:52 omnia kresd[30592]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:26:52 omnia kresd[30592]: stack traceback:
Jul 29 21:26:52 omnia kresd[30592]: 	[C]: in function 'max_ttl'
Jul 29 21:26:52 omnia kresd[30592]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:26:52 omnia kresd[30592]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:26:57 omnia kresd[30667]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:26:57 omnia kresd[30667]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:26:57 omnia kresd[30667]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:26:57 omnia kresd[30667]: stack traceback:
Jul 29 21:26:57 omnia kresd[30667]: 	[C]: in function 'max_ttl'
Jul 29 21:26:57 omnia kresd[30667]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:26:57 omnia kresd[30667]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:02 omnia kresd[30706]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:02 omnia kresd[30706]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:02 omnia kresd[30706]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:02 omnia kresd[30706]: stack traceback:
Jul 29 21:27:02 omnia kresd[30706]: 	[C]: in function 'max_ttl'
Jul 29 21:27:02 omnia kresd[30706]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:02 omnia kresd[30706]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:07 omnia kresd[30732]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:07 omnia kresd[30732]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:07 omnia kresd[30732]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:07 omnia kresd[30732]: stack traceback:
Jul 29 21:27:07 omnia kresd[30732]: 	[C]: in function 'max_ttl'
Jul 29 21:27:07 omnia kresd[30732]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:07 omnia kresd[30732]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:08 omnia kresd[30875]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:08 omnia kresd[30875]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:08 omnia kresd[30875]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:08 omnia kresd[30875]: stack traceback:
Jul 29 21:27:08 omnia kresd[30875]: 	[C]: in function 'max_ttl'
Jul 29 21:27:08 omnia kresd[30875]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:08 omnia kresd[30875]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:13 omnia kresd[30991]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:13 omnia kresd[30991]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:13 omnia kresd[30991]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:13 omnia kresd[30991]: stack traceback:
Jul 29 21:27:13 omnia kresd[30991]: 	[C]: in function 'max_ttl'
Jul 29 21:27:13 omnia kresd[30991]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:13 omnia kresd[30991]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:18 omnia kresd[31010]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:18 omnia kresd[31010]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:18 omnia kresd[31010]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:18 omnia kresd[31010]: stack traceback:
Jul 29 21:27:18 omnia kresd[31010]: 	[C]: in function 'max_ttl'
Jul 29 21:27:18 omnia kresd[31010]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:18 omnia kresd[31010]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:23 omnia kresd[31035]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:23 omnia kresd[31035]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:23 omnia kresd[31035]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:23 omnia kresd[31035]: stack traceback:
Jul 29 21:27:23 omnia kresd[31035]: 	[C]: in function 'max_ttl'
Jul 29 21:27:23 omnia kresd[31035]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:23 omnia kresd[31035]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:26 omnia kresd[31186]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:26 omnia kresd[31186]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:26 omnia kresd[31186]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:26 omnia kresd[31186]: stack traceback:
Jul 29 21:27:26 omnia kresd[31186]: 	[C]: in function 'max_ttl'
Jul 29 21:27:26 omnia kresd[31186]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:26 omnia kresd[31186]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:31 omnia kresd[31260]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:31 omnia kresd[31260]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:31 omnia kresd[31260]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:31 omnia kresd[31260]: stack traceback:
Jul 29 21:27:31 omnia kresd[31260]: 	[C]: in function 'max_ttl'
Jul 29 21:27:31 omnia kresd[31260]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:31 omnia kresd[31260]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:36 omnia kresd[31279]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:36 omnia kresd[31279]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:36 omnia kresd[31279]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:36 omnia kresd[31279]: stack traceback:
Jul 29 21:27:36 omnia kresd[31279]: 	[C]: in function 'max_ttl'
Jul 29 21:27:36 omnia kresd[31279]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:36 omnia kresd[31279]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:41 omnia kresd[31304]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:41 omnia kresd[31304]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:27:41 omnia kresd[31304]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:27:41 omnia kresd[31304]: stack traceback:
Jul 29 21:27:41 omnia kresd[31304]: 	[C]: in function 'max_ttl'
Jul 29 21:27:41 omnia kresd[31304]: 	/tmp/kresd.config:28: in main chunk
Jul 29 21:27:41 omnia kresd[31304]: ERROR: max_ttl must be larger than minimum TTL, and in range <1, ((1u << 31) - 1)>' (workdir '/tmp/kresd')
Jul 29 21:27:44 omnia kresd[31455]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:27:44 omnia kresd[31455]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:28:07 omnia kresd[31901]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:28:07 omnia kresd[31901]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:30:11 omnia kresd[319]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:30:11 omnia kresd[319]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:31:11 omnia kresd[830]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:31:11 omnia kresd[830]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:36:19 omnia kresd[830]: [contrl] > cache.size
Jul 29 21:36:19 omnia kresd[830]: [contrl] error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:36:19 omnia kresd[830]: stack traceback:
Jul 29 21:36:19 omnia kresd[830]: 	[C]: in function 'get'
Jul 29 21:36:19 omnia kresd[830]: 	/usr/lib/knot-resolver/sandbox.lua:454: in function '__index'
Jul 29 21:36:19 omnia kresd[830]: 	[string "return table_print(cache.size)"]:1: in main chunk
Jul 29 21:36:19 omnia kresd[830]: ERROR: Function not implemented
Jul 29 21:36:23 omnia kresd[830]: [contrl] > cache.size()
Jul 29 21:36:23 omnia kresd[830]: [contrl] error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:36:23 omnia kresd[830]: stack traceback:
Jul 29 21:36:23 omnia kresd[830]: 	[C]: in function 'get'
Jul 29 21:36:23 omnia kresd[830]: 	/usr/lib/knot-resolver/sandbox.lua:454: in function '__index'
Jul 29 21:36:23 omnia kresd[830]: 	[string "return table_print(cache.size())"]:1: in main chunk
Jul 29 21:36:23 omnia kresd[830]: ERROR: Function not implemented
Jul 29 21:36:36 omnia kresd[830]: 1048576
Jul 29 21:36:41 omnia kresd[830]: 1048576
Jul 29 21:36:48 omnia kresd[830]: [contrl] > print(cache.current_storage)
Jul 29 21:36:48 omnia kresd[830]: [contrl] error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:36:48 omnia kresd[830]: stack traceback:
Jul 29 21:36:48 omnia kresd[830]: 	[C]: in function 'get'
Jul 29 21:36:48 omnia kresd[830]: 	/usr/lib/knot-resolver/sandbox.lua:454: in function '__index'
Jul 29 21:36:48 omnia kresd[830]: 	[string "return table_print(print(cache.current_storage))"]:1: in main chunk
Jul 29 21:36:48 omnia kresd[830]: ERROR: Function not implemented
Jul 29 21:38:22 omnia kresd[3036]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:22 omnia kresd[3036]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:22 omnia kresd[3036]: stack traceback:
Jul 29 21:38:22 omnia kresd[3036]: 	[C]: in function 'open'
Jul 29 21:38:22 omnia kresd[3036]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:22 omnia kresd[3036]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:38:27 omnia kresd[3111]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:27 omnia kresd[3111]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:27 omnia kresd[3111]: stack traceback:
Jul 29 21:38:27 omnia kresd[3111]: 	[C]: in function 'open'
Jul 29 21:38:27 omnia kresd[3111]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:27 omnia kresd[3111]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:38:32 omnia kresd[3131]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:32 omnia kresd[3131]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:32 omnia kresd[3131]: stack traceback:
Jul 29 21:38:32 omnia kresd[3131]: 	[C]: in function 'open'
Jul 29 21:38:32 omnia kresd[3131]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:32 omnia kresd[3131]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:38:37 omnia kresd[3156]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:37 omnia kresd[3156]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:37 omnia kresd[3156]: stack traceback:
Jul 29 21:38:37 omnia kresd[3156]: 	[C]: in function 'open'
Jul 29 21:38:37 omnia kresd[3156]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:37 omnia kresd[3156]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:38:42 omnia kresd[3173]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:42 omnia kresd[3173]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:42 omnia kresd[3173]: stack traceback:
Jul 29 21:38:42 omnia kresd[3173]: 	[C]: in function 'open'
Jul 29 21:38:42 omnia kresd[3173]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:42 omnia kresd[3173]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:38:47 omnia kresd[3199]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:47 omnia kresd[3199]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:47 omnia kresd[3199]: stack traceback:
Jul 29 21:38:47 omnia kresd[3199]: 	[C]: in function 'open'
Jul 29 21:38:47 omnia kresd[3199]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:47 omnia kresd[3199]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:38:59 omnia kresd[3394]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:38:59 omnia kresd[3394]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:38:59 omnia kresd[3394]: stack traceback:
Jul 29 21:38:59 omnia kresd[3394]: 	[C]: in function 'open'
Jul 29 21:38:59 omnia kresd[3394]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:38:59 omnia kresd[3394]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:04 omnia kresd[3466]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:04 omnia kresd[3466]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:04 omnia kresd[3466]: stack traceback:
Jul 29 21:39:04 omnia kresd[3466]: 	[C]: in function 'open'
Jul 29 21:39:04 omnia kresd[3466]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:04 omnia kresd[3466]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:09 omnia kresd[3541]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:09 omnia kresd[3541]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:09 omnia kresd[3541]: stack traceback:
Jul 29 21:39:09 omnia kresd[3541]: 	[C]: in function 'open'
Jul 29 21:39:09 omnia kresd[3541]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:09 omnia kresd[3541]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:14 omnia kresd[3571]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:14 omnia kresd[3571]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:14 omnia kresd[3571]: stack traceback:
Jul 29 21:39:14 omnia kresd[3571]: 	[C]: in function 'open'
Jul 29 21:39:14 omnia kresd[3571]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:14 omnia kresd[3571]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:19 omnia kresd[3614]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:20 omnia kresd[3614]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:20 omnia kresd[3614]: stack traceback:
Jul 29 21:39:20 omnia kresd[3614]: 	[C]: in function 'open'
Jul 29 21:39:20 omnia kresd[3614]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:20 omnia kresd[3614]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:22 omnia kresd[3765]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:22 omnia kresd[3765]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:22 omnia kresd[3765]: stack traceback:
Jul 29 21:39:22 omnia kresd[3765]: 	[C]: in function 'open'
Jul 29 21:39:22 omnia kresd[3765]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:22 omnia kresd[3765]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:27 omnia kresd[3836]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:27 omnia kresd[3836]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:27 omnia kresd[3836]: stack traceback:
Jul 29 21:39:27 omnia kresd[3836]: 	[C]: in function 'open'
Jul 29 21:39:27 omnia kresd[3836]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:27 omnia kresd[3836]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:32 omnia kresd[3859]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:32 omnia kresd[3859]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:32 omnia kresd[3859]: stack traceback:
Jul 29 21:39:32 omnia kresd[3859]: 	[C]: in function 'open'
Jul 29 21:39:32 omnia kresd[3859]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:32 omnia kresd[3859]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:37 omnia kresd[3879]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:37 omnia kresd[3879]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved):
Jul 29 21:39:37 omnia kresd[3879]: stack traceback:
Jul 29 21:39:37 omnia kresd[3879]: 	[C]: in function 'open'
Jul 29 21:39:37 omnia kresd[3879]: 	/tmp/kresd.config:17: in main chunk
Jul 29 21:39:37 omnia kresd[3879]: ERROR: invalid cache size specified, it must be in range <8192, (0xffffffffu)> (workdir '/tmp/kresd')
Jul 29 21:39:40 omnia kresd[4035]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:39:40 omnia kresd[4035]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:40:58 omnia kresd[4817]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:40:58 omnia kresd[4817]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:54:15 omnia kresd[8856]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 29 21:54:15 omnia kresd[8856]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 29 21:54:56 omnia kresd[8856]: [contrl] > e[A
Jul 29 21:54:56 omnia kresd[8856]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: (binary): cannot load incompatible bytecode
Jul 30 05:47:08 omnia kresd[12916]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 30 05:47:08 omnia kresd[12916]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 30 11:25:54 omnia kresd[13076]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 30 11:25:54 omnia kresd[13076]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 30 15:54:31 omnia kresd[23477]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 30 15:54:31 omnia kresd[23477]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 30 15:55:10 omnia kresd[24388]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 30 15:55:10 omnia kresd[24388]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 30 16:53:21 omnia kresd[10279]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 30 16:53:21 omnia kresd[10279]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 30 17:16:45 omnia kresd[10279]: [contrl] >     83.135.2.235
Jul 30 17:16:45 omnia kresd[10279]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: [string "    83.135.2.235"]:1: malformed number near '83.135.2.235'
Jul 30 17:17:32 omnia kresd[17656]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Jul 30 17:17:32 omnia kresd[17656]: [cache ] Warning: real cache size is 2097152 instead of the requested 1048576 bytes.  To reduce the size you need to remove the file '/tmp/kresd/data.mdb' by hand.
Jul 30 17:18:16 omnia kresd[17656]: [contrl] > > cache.clear()
Jul 30 17:18:16 omnia kresd[17656]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: [string "> cache.clear()"]:1: unexpected symbol near '>'
Jul 30 17:18:16 omnia kresd[17656]: [contrl] > {
Jul 30 17:18:16 omnia kresd[17656]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: [string "{"]:1: unexpected symbol near '{'
Jul 30 17:18:16 omnia kresd[17656]: [contrl] >     ['count'] = 511,
Jul 30 17:18:16 omnia kresd[17656]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: [string "    ['count'] = 511,"]:1: unexpected symbol near '['
Jul 30 17:18:23 omnia kresd[17656]: [contrl] > }cache.clear()
Jul 30 17:18:23 omnia kresd[17656]: [contrl] /usr/lib/knot-resolver/sandbox.lua:540: [string "}cache.clear()"]:1: unexpected symbol near '}'

Basically nothing in there today. The cache file is 2 MB right now. And you put in some invalid commands over the control socket, but none of that should cause any issue :thinking:

Searching the internet shows that there are some tools suitable to debug memory issues.

strace
pmap
gdb
valgrind

But none of these tools are available in turris repos. But I guess I wouldn’t be able to use them properly anyway.

Is this helpful in any way?

root@omnia:~# cat /proc/17656/maps
004e0000-00510000 r-xp 00000000 00:0e 120247     /usr/sbin/kresd
00520000-00521000 r--p 00030000 00:0e 120247     /usr/sbin/kresd
00521000-00522000 rw-p 00031000 00:0e 120247     /usr/sbin/kresd
00522000-00532000 rw-p 00000000 00:00 0
01ccb000-01ccc000 ---p 00000000 00:00 0          [heap]
01ccc000-01ce8000 rw-p 00000000 00:00 0          [heap]
93ca9000-93cc9000 rw-p 00000000 00:00 0
93d29000-96949000 rw-p 00000000 00:00 0
96961000-a0329000 rw-p 00000000 00:00 0
a0338000-a0358000 rw-p 00000000 00:00 0
a0369000-b05a9000 rw-p 00000000 00:00 0
b05aa000-b22fa000 rw-p 00000000 00:00 0
b2302000-b3f46000 rw-p 00000000 00:00 0
b3f47000-b59d7000 rw-p 00000000 00:00 0
b59e8000-b6248000 rw-p 00000000 00:00 0
b6259000-b6351000 rw-p 00000000 00:00 0
b6352000-b63c4000 rw-p 00000000 00:00 0
b63c9000-b63d1000 rw-p 00000000 00:00 0
b63d3000-b6402000 rw-p 00000000 00:00 0
b6406000-b640c000 rw-p 00000000 00:00 0
b6410000-b6416000 rw-p 00000000 00:00 0
b6418000-b6461000 rw-p 00000000 00:00 0
b6464000-b646b000 rw-p 00000000 00:00 0
b646f000-b6475000 rw-p 00000000 00:00 0
b6476000-b6676000 rw-s 00000000 00:16 83579      /tmp/kresd/data.mdb
b6676000-b6678000 rw-s 00000000 00:16 74377      /tmp/kresd/lock.mdb
b6678000-b67fa000 rw-p 00000000 00:00 0
b6805000-b6831000 rw-p 00000000 00:00 0
b6831000-b6832000 r--s 00000000 00:0e 124160     /usr/share/zoneinfo/Europe/Berlin
b6832000-b6845000 r-xp 00000000 00:0e 120216     /usr/lib/knot-resolver/kres_modules/hints.so
b6845000-b6846000 r--p 00003000 00:0e 120216     /usr/lib/knot-resolver/kres_modules/hints.so
b6846000-b6847000 rw-p 00004000 00:0e 120216     /usr/lib/knot-resolver/kres_modules/hints.so
b6848000-b6850000 rw-p 00000000 00:00 0
b6857000-b685c000 rw-p 00000000 00:00 0
b685f000-b6869000 rw-p 00000000 00:00 0
b686a000-b686f000 rw-p 00000000 00:00 0
b686f000-b6873000 rw-p 00000000 00:00 0
b6873000-b6874000 rw-p 00000000 00:00 0
b6875000-b6878000 rw-p 00000000 00:00 0
b6878000-b687a000 rw-p 00000000 00:00 0
b687a000-b688a000 r-xp 00000000 00:0e 120214     /usr/lib/knot-resolver/kres_modules/extended_error.so
b688a000-b688b000 r--p 00000000 00:0e 120214     /usr/lib/knot-resolver/kres_modules/extended_error.so
b688b000-b688c000 rw-p 00001000 00:0e 120214     /usr/lib/knot-resolver/kres_modules/extended_error.so
b688c000-b689c000 r-xp 00000000 00:0e 120228     /usr/lib/knot-resolver/kres_modules/refuse_nord.so
b689c000-b689d000 r--p 00000000 00:0e 120228     /usr/lib/knot-resolver/kres_modules/refuse_nord.so
b689d000-b689e000 rw-p 00001000 00:0e 120228     /usr/lib/knot-resolver/kres_modules/refuse_nord.so
b689e000-b68ae000 r-xp 00000000 00:0e 120211     /usr/lib/knot-resolver/kres_modules/edns_keepalive.so
b68ae000-b68af000 r--p 00000000 00:0e 120211     /usr/lib/knot-resolver/kres_modules/edns_keepalive.so
b68af000-b68b0000 rw-p 00001000 00:0e 120211     /usr/lib/knot-resolver/kres_modules/edns_keepalive.so
b68b0000-b68b5000 rw-p 00000000 00:00 0
b68b5000-b69c2000 r-xp 00000000 00:0e 120134     /usr/lib/libstdc++.so.6.0.29
b69c2000-b69c6000 r--p 000fd000 00:0e 120134     /usr/lib/libstdc++.so.6.0.29
b69c6000-b69c8000 rw-p 00101000 00:0e 120134     /usr/lib/libstdc++.so.6.0.29
b69c8000-b69ca000 rw-p 00000000 00:00 0
b69ca000-b69dd000 r-xp 00000000 00:0e 120198     /usr/lib/knot-resolver/ahocorasick.so
b69dd000-b69de000 r--p 00003000 00:0e 120198     /usr/lib/knot-resolver/ahocorasick.so
b69de000-b69df000 rw-p 00004000 00:0e 120198     /usr/lib/knot-resolver/ahocorasick.so
b69df000-b6a5f000 rw-p 00000000 00:00 0
b6a5f000-b6a60000 r-xp 00000000 00:00 0
b6a60000-b6a84000 rw-p 00000000 00:00 0
b6a84000-b6ae8000 r-xp 00000000 00:0e 42145      /usr/lib/libgmp.so.10.4.1
b6ae8000-b6ae9000 r--p 00054000 00:0e 42145      /usr/lib/libgmp.so.10.4.1
b6ae9000-b6aea000 rw-p 00055000 00:0e 42145      /usr/lib/libgmp.so.10.4.1
b6aea000-b6b36000 r-xp 00000000 00:0e 120166     /usr/lib/libhogweed.so.6.4
b6b36000-b6b37000 r--p 0003c000 00:0e 120166     /usr/lib/libhogweed.so.6.4
b6b37000-b6b38000 rw-p 0003d000 00:0e 120166     /usr/lib/libhogweed.so.6.4
b6b38000-b6b8b000 r-xp 00000000 00:0e 120168     /usr/lib/libnettle.so.8.4
b6b8b000-b6b8c000 r--p 00043000 00:0e 120168     /usr/lib/libnettle.so.8.4
b6b8c000-b6b8d000 rw-p 00044000 00:0e 120168     /usr/lib/libnettle.so.8.4
b6b8d000-b6bac000 r-xp 00000000 00:0e 120111     /usr/lib/liblmdb.so
b6bac000-b6bad000 r--p 0000f000 00:0e 120111     /usr/lib/liblmdb.so
b6bad000-b6bae000 rw-p 00010000 00:0e 120111     /usr/lib/liblmdb.so
b6bae000-b6bc7000 r-xp 00000000 00:0e 118120     /lib/libgcc_s.so.1
b6bc7000-b6bc8000 r--p 00009000 00:0e 118120     /lib/libgcc_s.so.1
b6bc8000-b6bc9000 rw-p 0000a000 00:0e 118120     /lib/libgcc_s.so.1
b6bc9000-b6bf4000 r-xp 00000000 00:0e 119513     /usr/lib/libnghttp2.so.14.20.2
b6bf4000-b6bf6000 r--p 0001b000 00:0e 119513     /usr/lib/libnghttp2.so.14.20.2
b6bf6000-b6bf7000 rw-p 0001d000 00:0e 119513     /usr/lib/libnghttp2.so.14.20.2
b6bf7000-b6dd0000 r-xp 00000000 00:0e 42169      /usr/lib/libgnutls.so.30.29.1
b6dd0000-b6ddb000 r--p 001c9000 00:0e 42169      /usr/lib/libgnutls.so.30.29.1
b6ddb000-b6ddc000 rw-p 001d4000 00:0e 42169      /usr/lib/libgnutls.so.30.29.1
b6ddc000-b6ddd000 rw-p 00000000 00:00 0
b6ddd000-b6e48000 r-xp 00000000 00:0e 120101     /usr/lib/libluajit-5.1.so.2.1.0
b6e48000-b6e49000 r--p 0005b000 00:0e 120101     /usr/lib/libluajit-5.1.so.2.1.0
b6e49000-b6e4a000 rw-p 0005c000 00:0e 120101     /usr/lib/libluajit-5.1.so.2.1.0
b6e4a000-b6e77000 r-xp 00000000 00:0e 120123     /usr/lib/libuv.so.1.0.0
b6e77000-b6e78000 r--p 0001d000 00:0e 120123     /usr/lib/libuv.so.1.0.0
b6e78000-b6e79000 rw-p 0001e000 00:0e 120123     /usr/lib/libuv.so.1.0.0
b6e79000-b6e9c000 r-xp 00000000 00:0e 120179     /usr/lib/libdnssec.so.9.0.0
b6e9c000-b6e9d000 r--p 00013000 00:0e 120179     /usr/lib/libdnssec.so.9.0.0
b6e9d000-b6e9e000 rw-p 00014000 00:0e 120179     /usr/lib/libdnssec.so.9.0.0
b6e9e000-b6ecd000 r-xp 00000000 00:0e 120145     /usr/lib/libzscanner.so.4.0.0
b6ecd000-b6ece000 r--p 0001f000 00:0e 120145     /usr/lib/libzscanner.so.4.0.0
b6ece000-b6ecf000 rw-p 00020000 00:0e 120145     /usr/lib/libzscanner.so.4.0.0
b6ecf000-b6f06000 r-xp 00000000 00:0e 120181     /usr/lib/libknot.so.14.0.0
b6f06000-b6f0a000 r--p 00027000 00:0e 120181     /usr/lib/libknot.so.14.0.0
b6f0a000-b6f0b000 rw-p 0002b000 00:0e 120181     /usr/lib/libknot.so.14.0.0
b6f0b000-b6f4c000 r-xp 00000000 00:0e 120245     /usr/lib/libkres.so.9
b6f4c000-b6f4d000 r--p 00031000 00:0e 120245     /usr/lib/libkres.so.9
b6f4d000-b6f4e000 rw-p 00032000 00:0e 120245     /usr/lib/libkres.so.9
b6f4e000-b6f5e000 rw-p 00000000 00:00 0
b6f5e000-b6f6e000 r-xp 00000000 00:0e 118239     /lib/libsetlbf.so
b6f6e000-b6f6f000 r--p 00000000 00:0e 118239     /lib/libsetlbf.so
b6f6f000-b6f70000 rw-p 00001000 00:0e 118239     /lib/libsetlbf.so
b6f70000-b6fec000 r-xp 00000000 00:0e 118130     /lib/libc.so
b6fec000-b6ffb000 rw-p 00000000 00:00 0
b6ffb000-b6ffd000 rw-p 0007b000 00:0e 118130     /lib/libc.so
b6ffd000-b6ffe000 rw-p 00000000 00:00 0
b7a48000-b7a58000 r-xp 00000000 00:00 0
bef12000-bef49000 rw-p 00000000 00:00 0          [stack]
befb1000-befb2000 r-xp 00000000 00:00 0          [sigpage]
befb2000-befb3000 r--p 00000000 00:00 0          [vvar]
befb3000-befb4000 r-xp 00000000 00:00 0          [vdso]
ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]

Any more ideas? Is the only way to regularly restart kresd via cronjob? Right now the process is using 1,3 GB of RAM.

Any idea anyone? Do I need to register at Gitlab and open a bug report there?

These things are really hard to improve unless we can reproduce the issue, and so far I don’t know how.

gitlab.nic.cz doesn’t have free registration anymore; you’d have to go through a human to get one. (lots of automatic spamming)