Created attachment 95344
requested diagnostics for a bug report
I'm dealing with problem that in some cases, randomly, udisks-daemon can take 100% of one CPU core and stops only when I kill it. I must admit also that my system battery is below 3V and I haven't changed it yet so there can be some connection.
Messages which appeared in journalctl when udisks-daemon hanged up:
lut 18 09:30:51 linux udisks-daemon[301]: **** Refreshing ATA SMART data for /sys/devices/pci0000:00/0000:00:08.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
lut 18 09:30:52 linux udisks-daemon[301]: helper(pid 1868): launched job udisks-helper-ata-smart-collect on /dev/sda
lut 18 09:30:52 linux udisks-daemon[301]: **** Refreshing ATA SMART data for /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb
lut 18 09:30:52 linux udisks-daemon[301]: helper(pid 1869): launched job udisks-helper-ata-smart-collect on /dev/sdb
lut 18 09:30:52 linux udisks-daemon[301]: helper(pid 1868): completed with exit code 0
lut 18 09:30:52 linux udisks-daemon[301]: **** EMITTING CHANGED for /sys/devices/pci0000:00/0000:00:08.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
I mounted and unmnounted /dev/sdb thinking this could cause the problem:
lut 18 09:35:14 linux su[2030]: (to root) mk on pts/0
lut 18 09:35:14 linux su[2030]: pam_unix(su:session): session opened for user root by mk(uid=1000)
lut 18 09:35:20 linux kernel: XFS (sdb5): Mounting Filesystem
lut 18 09:35:20 linux udisks-daemon[301]: **** /proc/self/mountinfo changed
lut 18 09:35:20 linux udisks-daemon[301]: **** MOUNTED /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:20 linux udisks-daemon[301]: **** CHANGING /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:20 linux udisks-daemon[301]: **** UPDATING /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:20 linux udisks-daemon[301]: **** EMITTING CHANGED for /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:20 linux udisks-daemon[301]: **** CHANGED /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:20 linux kernel: XFS (sdb5): Ending clean mount
Then I killed udisks-daemon:
lut 18 09:35:27 linux udisks-daemon[301]: **** /proc/self/mountinfo changed
lut 18 09:35:27 linux udisks-daemon[301]: **** UNMOUNTED /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:27 linux udisks-daemon[301]: **** CHANGING /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:27 linux udisks-daemon[301]: **** UPDATING /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:27 linux udisks-daemon[301]: **** EMITTING CHANGED for /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:27 linux udisks-daemon[301]: **** CHANGED /sys/devices/pci0000:00/0000:00:08.1/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb5
lut 18 09:35:27 linux org.gtk.Private.UDisks2VolumeMonitor[407]: ### debug: emit_signal: 0x1447470
lut 18 09:35:27 linux org.gtk.Private.UDisks2VolumeMonitor[407]: ### debug: emit_signal: 0x149b0f0
lut 18 09:35:27 linux org.gtk.Private.UDisks2VolumeMonitor[407]: ### debug: emit_signal: 0x149b0f0
Steps to reproduce:
Unknown. It happens even if PC is playing music and nothing is done on it.
Created attachment 95344
requested diagnostics for a bug report
I'm dealing with problem that in some cases, randomly, udisks-daemon can take 100% of one CPU core and stops only when I kill it. I must admit also that my system battery is below 3V and I haven't changed it yet so there can be some connection.
I also found here: https:/ /forums. gentoo. org/viewtopic- p-6472936. html#6472936
that it can be a problem with locale.
There is a post which suggests that the problem occurs when user is not having quote mark at the first line of the locale:
[root@linux mk]# locale "pl_PL. UTF-8" "pl_PL. UTF-8"
LANG=pl_PL.UTF-8 << missing "quote" mark
LC_CTYPE=
LC_NUMERIC=
[...]
Messages which appeared in journalctl when udisks-daemon hanged up:
lut 18 09:30:51 linux udisks-daemon[301]: **** Refreshing ATA SMART data for /sys/devices/ pci0000: 00/0000: 00:08.0/ ata1/host0/ target0: 0:0/0:0: 0:0/block/ sda helper- ata-smart- collect on /dev/sda pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb helper- ata-smart- collect on /dev/sdb pci0000: 00/0000: 00:08.0/ ata1/host0/ target0: 0:0/0:0: 0:0/block/ sda
lut 18 09:30:52 linux udisks-daemon[301]: helper(pid 1868): launched job udisks-
lut 18 09:30:52 linux udisks-daemon[301]: **** Refreshing ATA SMART data for /sys/devices/
lut 18 09:30:52 linux udisks-daemon[301]: helper(pid 1869): launched job udisks-
lut 18 09:30:52 linux udisks-daemon[301]: helper(pid 1868): completed with exit code 0
lut 18 09:30:52 linux udisks-daemon[301]: **** EMITTING CHANGED for /sys/devices/
I mounted and unmnounted /dev/sdb thinking this could cause the problem:
lut 18 09:35:14 linux su[2030]: (to root) mk on pts/0 su:session) : session opened for user root by mk(uid=1000) mountinfo changed pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5
lut 18 09:35:14 linux su[2030]: pam_unix(
lut 18 09:35:20 linux kernel: XFS (sdb5): Mounting Filesystem
lut 18 09:35:20 linux udisks-daemon[301]: **** /proc/self/
lut 18 09:35:20 linux udisks-daemon[301]: **** MOUNTED /sys/devices/
lut 18 09:35:20 linux udisks-daemon[301]: **** CHANGING /sys/devices/
lut 18 09:35:20 linux udisks-daemon[301]: **** UPDATING /sys/devices/
lut 18 09:35:20 linux udisks-daemon[301]: **** EMITTING CHANGED for /sys/devices/
lut 18 09:35:20 linux udisks-daemon[301]: **** CHANGED /sys/devices/
lut 18 09:35:20 linux kernel: XFS (sdb5): Ending clean mount
Then I killed udisks-daemon:
lut 18 09:35:27 linux udisks-daemon[301]: **** /proc/self/ mountinfo changed pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 pci0000: 00/0000: 00:08.1/ ata3/host2/ target2: 0:0/2:0: 0:0/block/ sdb/sdb5 Private. UDisks2VolumeMo nitor[407] : ### debug: emit_signal: 0x1447470 Private. UDisks2VolumeMo nitor[407] : ### debug: emit_signal: 0x149b0f0 Private. UDisks2VolumeMo nitor[407] : ### debug: emit_signal: 0x149b0f0
lut 18 09:35:27 linux udisks-daemon[301]: **** UNMOUNTED /sys/devices/
lut 18 09:35:27 linux udisks-daemon[301]: **** CHANGING /sys/devices/
lut 18 09:35:27 linux udisks-daemon[301]: **** UPDATING /sys/devices/
lut 18 09:35:27 linux udisks-daemon[301]: **** EMITTING CHANGED for /sys/devices/
lut 18 09:35:27 linux udisks-daemon[301]: **** CHANGED /sys/devices/
lut 18 09:35:27 linux org.gtk.
lut 18 09:35:27 linux org.gtk.
lut 18 09:35:27 linux org.gtk.
Steps to reproduce:
Unknown. It happens even if PC is playing music and nothing is done on it.
Here's more or less the same report for Archlinux: https:/ /bugs.archlinux .org/task/ 38952