Lxd daemon high cpu usage processing inotify watch on /dev/net/tun

Yes indeed. It just seems odd to me that watching a directory will see WRITES to files within it.
Anyway its a side topic and not really relevant, as its clearly a problem.

1 Like

Got a fix here:

has this been merged? released? if yes, in which version? I have just upgraded to latest 5.10/stable and I’m seeing no improvement in CPU usage.

It was in LXD 5.9 and LXD 5.0.2

Looks like its something else causing the issue then.

Can you re-run your initial analysis and confirm?

yes, you are right, stracing lxd shows almost no activity, it must be something else then.

1 Like