daemon resource control 21 July 2025, 09:43:06 This thread considers some aspect of systemd ie the ability to control various system resources. One specific case in the thread is network control/filtering.This seems to be a relevant page which describes what systemd can control about a service (or group of services). Can I do this sort of control in Artix? Do I have to learn all about cgroups?I don't have any specific need, but security is becoming more important so these controls might be needed one day. Quote Selected
Re: daemon resource control Reply #1 – 21 July 2025, 13:59:41 Quote from: replabrobin – on 21 July 2025, 09:43:06This thread considers some aspect of systemd ie the ability to control various system resources. One specific case in the thread is network control/filtering.This seems to be a relevant page which describes what systemd can control about a service (or group of services). Can I do this sort of control in Artix? Do I have to learn all about cgroups?I don't have any specific need, but security is becoming more important so these controls might be needed one day.How is it part of the init system to control dameans once they are launched.What happend to the OS tools like renice and linux containers? Quote Selected
Re: daemon resource control Reply #2 – 21 July 2025, 15:35:45 Quote from: mrbrklyn – on 21 July 2025, 13:59:41Quote from: replabrobin – on 21 July 2025, 09:43:06.........How is it part of the init system to control dameans once they are launched.What happend to the OS tools like renice and linux containers?I don't know why Poettering et al. decided to move this sort of functionality into the init system. I feel that's sort of wrong.What is available to do resource control for any process? I have no idea if this just comes down to using ulimit in my run shell scripts. I don't think ulimit can prevent network access, but that might be needed. Apparently there is a tool called unshare, but I have never used it and it involves namespaces which I don't know about. Quote Selected
Re: daemon resource control Reply #3 – 21 July 2025, 18:55:38 https://linuxcontainers.org/https://man7.org/linux/man-pages/man7/namespaces.7.htmlhttps://docs.kernel.org/admin-guide/cgroup-v1/cgroups.htmlhttps://man7.org/linux/man-pages/man1/renice.1.html Quote Selected