Skip to main content
Topic: daemon resource control (Read 1020 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

daemon resource control

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.

Re: daemon resource control

Reply #1
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.


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?

Re: daemon resource control

Reply #2
.........
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.