Message warning: Hard limit for number of file-descriptors

TOS 5 … HBS

What is this serious this repeated warnings in syslog ?

Apr 21 16:56:46 turris kresd[803]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 16:58:29 turris kresd[2002]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 16:59:06 turris kresd[2530]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 16:59:32 turris kresd[3007]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 17:03:12 turris kresd[3597]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 17:04:34 turris kresd[3841]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 18:06:08 turris kresd[10371]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 18:09:20 turris kresd[11282]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 18:13:38 turris kresd[12262]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288
Apr 21 22:09:05 turris kresd[3841]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288

The most serious part I see is that your kresd is getting restarted a lot. Assuming you don’t change its configuration so often, does it write anything else into syslog?

I have not yet associated these warnings with my configuration interventions. I’ve been changing Statistics - Graph a lot lately. I’ll keep an eye on it …

Try find hotplug in syslog, near (after) run sentinel_nikola by cron by approximately 15 min.
This script /etc/hotplug.d/iface/40-ip-resolver-reload is probably somehow confused by running sentinel_nikola and restarting resolver even if the IP address of the WAN remains unchanged.

No one hotplug in syslog

One similar:

Apr 23 04:09:01 turris adblock-4.0.7[6354]: adblock instance started ::: action: reload, priority: 0, pid: 6354
Apr 23 04:09:05 turris kresd[6581]: [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288

Footnote: Since I’m not a connoisseur, I mention other reapeated specialties

Apr 23 03:39:20 turris sentinel-dynfw-client[3177]: ipset v7.3: Error in line 1: Element cannot be deleted from the set: it's not added
Apr 23 03:39:20 turris sentinel-dynfw-client[3177]: 2021-04-23 05:39:20,591 - WARNING - Error running ipset command: return code 1.

==
Apr 23 05:36:01 turris crond[14318]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Apr 23 05:36:01 turris crond[14317]: (root) CMD (/root/connCheck.sh > /dev/null 2>&1)
Apr 23 05:36:04 turris haas-proxy-start[5649]: 2021-04-23T07:36:04 CRITICAL twisted ‘channel open failed, direct-tcpip is not allowed’

Souhrn
Apr 23 05:36:04 turris haas-proxy-start[5649]: 2021-04-23T07:36:04 CRITICAL twisted 'channel open failed, direct-tcpip is not allowed'
Apr 23 05:36:05 turris haas-proxy-start[5649]: 2021-04-23T07:36:05 CRITICAL twisted 'channel open failed, direct-tcpip is not allowed'
Apr 23 05:37:01 turris crond[14413]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Apr 23 05:38:01 turris crond[14486]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Apr 23 05:39:01 turris crond[14561]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Apr 23 05:39:01 turris crond[14566]: (root) CMD (/root/connCheck.sh > /dev/null 2>&1)
Apr 23 05:40:01 turris crond[14653]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Apr 23 05:40:01 turris crond[14654]: (root) CMD (/usr/bin/notifier)
Apr 23 05:40:01 turris crond[14651]: (root) CMDOUT (There is no message to send.)
Apr 23 05:40:45 turris haas-proxy-start[5649]: 2021-04-23T07:40:45 CRITICAL twisted 'channel open failed, direct-tcpip is not allowed'
Apr 23 05:41:01 turris crond[14756]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Apr 23 05:42:01 turris crond[14828]: (root) CMD (/usr/bin/rainbow_button_sy

nc.sh)