The canary thread is apparently starving

I’ve just upgraded from Leap 15.0 to 15.1 and the /var/log/messages has an entry every two or three minutes telling me that the rtkit-daemon is reporting the The canary thread is apparently starving and it is Taking action. However there is nothing else to indicate that it is actually doing anything. I wouldn’t mind seeing this if it appeared to be doing anything useful but as it doesn’t I have currently stopped it running.
Can anyone help to find out why this is happening please.

Please always show something to underline your story. When you have messages every two or three minutes, it must be easy to show at least some of it.

It might be semi-normal, or at least indicating your system is functioning properly.

The more important question is whether your system i freezing, pausing or showing any other signs that essential processes might be affected.
If not, then canary threads might be detecting your system’s working on the edge of capability, but detecting in a timely manner so that your system can make on the fly adjustments.

TSU

Checking logs, I see:


% grep -i canary /var/log/messages
2019-12-26T18:10:21.022043-06:00 nwr2 rtkit-daemon[2790]: Canary thread running.

The time stamp is from when I last rebooted.

Checking on another system, where I had upgraded from 15.0, I see something similar. That is, I see the startup line from each recent boot.

I had hoped that the messaging from rtlit-daemon might have given some indication as to what was causing the issue but in the absence of such I had a look at top output and was somewhat surprised to find a firefox process running when I had no console or vnc windows running. Then I remembered that I’d had a problem yesterday where a vnc console had stopped responding and I guess the parent process didn’t get cleaned up properly when I closed the vnc window. I restarts the display-manager process which then cleaned up the firefox and other processes left hanging and rtkit-daemon is no longer complaining.