system freezes occasionally for several minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
pulseaudio (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Occasionally, the system freezes: display does not show mouse move, clock display does not update itself, ssh impossible. But the machine remains pingable. This lasts for 2 to 20 minutes.
This is with Ubuntu 16.04.2, now upgraded to kernel version 4.8.0-46-generic.
At the end of the freeze, a bunch of messages get written to /var/log/syslog. Examples:
Aug 19 00:03:48 quimper rtkit-daemon[2276]: The canary thread is apparently starving. Taking action.
Aug 19 00:03:48 quimper rtkit-daemon[2276]: Demoting known real-time threads.
Aug 19 00:03:48 quimper rtkit-daemon[2276]: Successfully demoted thread 2607 of process 2275 (n/a).
Aug 19 00:03:48 quimper rtkit-daemon[2276]: Successfully demoted thread 2606 of process 2275 (n/a).
Aug 19 00:03:48 quimper rtkit-daemon[2276]: Successfully demoted thread 2604 of process 2275 (n/a).
Aug 19 00:03:48 quimper rtkit-daemon[2276]: Successfully demoted thread 2275 of process 2275 (n/a).
Aug 19 00:03:48 quimper rtkit-daemon[2276]: Demoted 4 threads.
Aug 19 08:06:19 quimper rtkit-daemon[2276]: The canary thread is apparently starving. Taking action.
Aug 19 08:06:19 quimper rtkit-daemon[2276]: Demoting known real-time threads.
Aug 19 08:06:19 quimper rtkit-daemon[2276]: Successfully demoted thread 2607 of process 2275 (n/a).
Aug 19 08:06:19 quimper rtkit-daemon[2276]: Successfully demoted thread 2606 of process 2275 (n/a).
Aug 19 08:06:19 quimper rtkit-daemon[2276]: Successfully demoted thread 2604 of process 2275 (n/a).
Aug 19 08:06:19 quimper rtkit-daemon[2276]: Successfully demoted thread 2275 of process 2275 (n/a).
Aug 19 08:06:19 quimper rtkit-daemon[2276]: Demoted 4 threads.
Aug 19 08:06:20 quimper systemd[1]: systemd-
Aug 19 08:06:20 quimper systemd[1]: systemd-
Aug 19 08:06:20 quimper systemd[1]: systemd-
Aug 19 08:06:20 quimper systemd[1]: systemd-
Aug 19 08:06:20 quimper systemd[1]: systemd-
Aug 19 08:06:20 quimper systemd[1]: Stopped udev Kernel Device Manager.
Aug 19 08:06:20 quimper systemd[1]: Starting udev Kernel Device Manager...
Aug 19 08:06:24 quimper systemd[1]: Started udev Kernel Device Manager.
Aug 19 15:04:55 quimper rtkit-daemon[2276]: The canary thread is apparently starving. Taking action.
Aug 19 15:04:55 quimper rtkit-daemon[2276]: Demoting known real-time threads.
Aug 19 15:04:55 quimper rtkit-daemon[2276]: Successfully demoted thread 2607 of process 2275 (n/a).
Aug 19 15:04:55 quimper rtkit-daemon[2276]: Successfully demoted thread 2606 of process 2275 (n/a).
Aug 19 15:04:55 quimper rtkit-daemon[2276]: Successfully demoted thread 2604 of process 2275 (n/a).
Aug 19 15:04:55 quimper rtkit-daemon[2276]: Successfully demoted thread 2275 of process 2275 (n/a).
Aug 19 15:04:55 quimper rtkit-daemon[2276]: Demoted 4 threads.
Aug 19 15:04:55 quimper systemd[1]: systemd-
Aug 19 15:04:59 quimper systemd[1]: systemd-
Aug 19 15:04:59 quimper systemd[1]: systemd-
Aug 19 15:04:59 quimper systemd[1]: systemd-
Aug 19 15:05:00 quimper systemd[1]: systemd-
Aug 19 15:05:00 quimper systemd[1]: Stopped Network Time Synchronization.
Aug 19 15:05:00 quimper systemd[1]: Starting Network Time Synchronization...
Aug 19 15:05:00 quimper systemd[1]: Started Network Time Synchronization.
Aug 19 15:05:00 quimper systemd-
Aug 20 06:03:28 quimper rtkit-daemon[2276]: The canary thread is apparently starving. Taking action.
Aug 20 06:03:28 quimper rtkit-daemon[2276]: Demoting known real-time threads.
Aug 20 06:03:28 quimper rtkit-daemon[2276]: Successfully demoted thread 2607 of process 2275 (n/a).
Aug 20 06:03:28 quimper rtkit-daemon[2276]: Successfully demoted thread 2606 of process 2275 (n/a).
Aug 20 06:03:28 quimper rtkit-daemon[2276]: Successfully demoted thread 2604 of process 2275 (n/a).
Aug 20 06:03:28 quimper rtkit-daemon[2276]: Successfully demoted thread 2275 of process 2275 (n/a).
Aug 20 06:03:28 quimper rtkit-daemon[2276]: Demoted 4 threads.
Aug 20 15:09:22 quimper rtkit-daemon[2276]: The canary thread is apparently starving. Taking action.
Aug 20 15:09:26 quimper systemd[1]: systemd-
Aug 20 15:09:26 quimper rtkit-daemon[2276]: Demoting known real-time threads.
Aug 20 15:09:26 quimper systemd[1]: systemd-
Aug 20 15:09:26 quimper rtkit-daemon[2276]: Successfully demoted thread 2607 of process 2275 (n/a).
Aug 20 15:09:26 quimper systemd[1]: systemd-
Aug 20 15:09:26 quimper rtkit-daemon[2276]: Successfully demoted thread 2606 of process 2275 (n/a).
Aug 20 15:09:26 quimper systemd[1]: systemd-
Aug 20 15:09:26 quimper rtkit-daemon[2276]: Successfully demoted thread 2604 of process 2275 (n/a).
Aug 20 15:09:26 quimper systemd[1]: systemd-
Aug 20 15:09:26 quimper rtkit-daemon[2276]: Successfully demoted thread 2275 of process 2275 (n/a).
Aug 20 15:09:26 quimper systemd[1]: Stopped udev Kernel Device Manager.
Aug 20 15:09:26 quimper rtkit-daemon[2276]: Demoted 4 threads.
Aug 20 15:09:26 quimper systemd[1]: Starting udev Kernel Device Manager...
Aug 20 15:09:27 quimper systemd[1]: Started udev Kernel Device Manager.
The process the rtkit-daemon talks about is, in all cases, /usr/bin/
$ ps auxw | grep 2275
haible 2275 0.0 0.0 519164 8576 ? Sl Jul11 3:47 /usr/bin/pulseaudio --start --log-target=syslog
I have not used 'pavucontrol' on this machine in 3 months.
Info:
$ lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
$ apt-cache policy pulseaudio
pulseaudio:
Installed: 1:8.0-0ubuntu3.2
Candidate: 1:8.0-0ubuntu3.3
Version table:
1:
500 http://
*** 1:8.0-0ubuntu3.2 100
100 /var/lib/
1:8.0-0ubuntu3 500
500 http://
It appears you are missing a few months of updates. In particular, missing a bug fix update:
pulseaudio 1:8.0-0ubuntu3.3
Please update your system using these commands:
sudo apt update
sudo apt full-upgrade
After you have updated and rebooted, check if the problem continues. If the problem persists then please run this command to send more information:
apport-collect 1712858