Re: [systemd-devel] setting cpulimit/iolimit on mysql thread not entire process

2023-11-27 Thread Demi Marie Obenour
On Tue, Nov 28, 2023 at 08:35:29AM +0200, Mantas Mikulėnas wrote: > On Tue, Nov 28, 2023 at 8:27 AM jai wrote: > > > I am able to set cpulimit, iolimit, etc for a process using its pid > > through cgroups v2. But for some threads of a single mysql process, how can > > I achieve that? > > > >

Re: [systemd-devel] setting cpulimit/iolimit on mysql thread not entire process

2023-11-27 Thread Mantas Mikulėnas
On Tue, Nov 28, 2023 at 8:27 AM jai wrote: > I am able to set cpulimit, iolimit, etc for a process using its pid > through cgroups v2. But for some threads of a single mysql process, how can > I achieve that? > You cannot; 1) the limits are per-cgroup and the entire service is a single cgroup;

[systemd-devel] systemd-networkd code design documentation?

2023-11-27 Thread Muggeridge, Matt
Hi, As I start looking at the code, is there any design documentation for developers that describes systemd-networkd? Specifically, I'm looking for an overview of the data-flow when an IPv6 Router Advertisement is received, where it is processed and where it generates the reply. I'm slowly

Re: [systemd-devel] networkd 249.11 fails to create ip6gre and vti6 tunnels

2023-11-27 Thread Mantas Mikulėnas
Kernel and systemd changes aside, I kind of want to say that you need to specify an interface for the link-local endpoint to be bound to – just as with regular sockets. If the tunnel were device-bound and not independent, that would happen by default. It also seems weird that the tunnel has

Re: [systemd-devel] How to properly wait for udev?

2023-11-27 Thread Richard Weinberger
On Mon, Nov 27, 2023 at 9:29 AM Lennart Poettering wrote: > If they conceptually should be considered block device equivalents, we > might want to extend the udev logic to such UBI devices too. Patches > welcome. Why doesn't udev flock() every device it is probing? Or asked differently, why is

[systemd-devel] networkd 249.11 fails to create ip6gre and vti6 tunnels

2023-11-27 Thread Danilo Egea Gondolfo
Hello, I'm looking for help to understand an issue we are observing on Ubuntu 22.04. networkd is failing with "netdev could not be created: Invalid argument" when I try to create either an ip6gre or vti6 device. We believe this problem started when we pulled this change [1] in to the

Re: [systemd-devel] How to properly wait for udev?

2023-11-27 Thread Richard Weinberger
On Mon, Nov 27, 2023 at 9:29 AM Lennart Poettering wrote: > On So, 26.11.23 00:39, Richard Weinberger (richard.weinber...@gmail.com) > wrote: > > > Hello! > > > > After upgrading my main test worker to a recent distribution, the UBI > > test suite [0] fails at various places with -EBUSY. > > The

Re: [systemd-devel] WSL Ubuntu creates XDG_RUNTIME_DIR with incorrect permissions

2023-11-27 Thread Andrei Borzenkov
On Mon, Nov 27, 2023 at 1:06 AM Thomas Larsen Wessel wrote: >> >> WSL does not use systemd by default. > > > According to this article, it systemd has been default on WSL Ubuntu since > june 2023. https://learn.microsoft.com/en-us/windows/wsl/systemd > > "Systemd is now the default for the

Re: [systemd-devel] Performance issues after migrating to systemd

2023-11-27 Thread František Šumšal
It would be great to start with `systemd-analyze blame` and `systemd-analyze critical-chain` to see what's going on during boot and point out the time hog(s). On 11/27/23 07:16, hari.prasat...@microchip.com wrote: Hello All, We recently migrated our Yocto project distribution for our embedded

Re: [systemd-devel] How to properly wait for udev?

2023-11-27 Thread Mantas Mikulėnas
On Mon, Nov 27, 2023 at 10:30 AM Lennart Poettering wrote: > On So, 26.11.23 00:39, Richard Weinberger (richard.weinber...@gmail.com) > wrote: > > > Hello! > > > > After upgrading my main test worker to a recent distribution, the UBI > > test suite [0] fails at various places with -EBUSY. > >

Re: [systemd-devel] How to properly wait for udev?

2023-11-27 Thread Lennart Poettering
On So, 26.11.23 00:39, Richard Weinberger (richard.weinber...@gmail.com) wrote: > Hello! > > After upgrading my main test worker to a recent distribution, the UBI > test suite [0] fails at various places with -EBUSY. > The reason is that these tests create and remove UBI volumes rapidly. > A