Public bug reported: Logging in to an iSCSI target sends udev/lvm/multipath into an endless loop using 100% cpu pounding the iSCSI target.
# uptime 15:42:56 up 48 min, 1 user, load average: 10.05, 9.37, 8.90 # vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 8 0 0 7706652 66392 85540 0 0 4713 14 157 863 13 56 29 2 8 1 0 7704424 66400 85544 0 0 36508 132 30954 66627 16 54 29 1 12 0 0 7705376 66400 85560 0 0 37020 92 30885 66863 15 59 25 1 8 0 0 7705468 66400 85568 0 0 35992 96 30462 65656 12 58 29 1 These entries changes pid constantly: # ps ax | grep -E "lvm|multipath" 1272 ? SLl 0:14 /sbin/multipathd 6403 ? R< 0:00 /sbin/multipath -v0 /dev/sdp 6462 ? R< 0:00 /sbin/multipath -v0 /dev/sdu 6480 ? S< 0:00 /sbin/multipath -v0 /dev/sdt 6519 ? R< 0:00 /sbin/multipath -v0 /dev/sdr 6571 ? S< 0:00 /sbin/multipath -v0 /dev/sds 6572 ? R< 0:00 /sbin/multipath -v0 /dev/sdy 6606 ? S< 0:00 /sbin/multipath -v0 /dev/sdq 6641 ? S< 0:00 /lib/udev/watershed sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y 6644 ? S< 0:00 sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y 6649 ? D< 0:00 /sbin/lvm vgscan # ps ax | grep -E "lvm|multipath" 1272 ? SLl 0:14 /sbin/multipathd 10467 ? S< 0:00 /sbin/multipath -v0 /dev/sdv 10498 ? R< 0:00 /sbin/multipath -v0 /dev/sdy 10506 ? S< 0:00 /lib/udev/watershed sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y 10507 ? S< 0:00 sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y 10536 ? S< 0:00 /sbin/multipath -v0 /dev/sdu 10571 ? S< 0:00 /sbin/multipath -v0 /dev/sdz 10647 ? R< 0:00 /sbin/lvm vgchange -a y 10656 ? S< 0:00 /sbin/multipath -v0 /dev/sdr # apt-cache policy udev lvm2 open-iscsi multipath-tools udev: Installed: 151-12.1 Candidate: 151-12.1 Version table: *** 151-12.1 0 500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 100 /var/lib/dpkg/status 151-12 0 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages lvm2: Installed: 2.02.54-1ubuntu4.1 Candidate: 2.02.54-1ubuntu4.1 Version table: *** 2.02.54-1ubuntu4.1 0 500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages 100 /var/lib/dpkg/status 2.02.54-1ubuntu4 0 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages open-iscsi: Installed: 2.0.871-0ubuntu4 Candidate: 2.0.871-0ubuntu4 Version table: *** 2.0.871-0ubuntu4 0 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages 100 /var/lib/dpkg/status multipath-tools: Installed: 0.4.8-14ubuntu4 Candidate: 0.4.8-14ubuntu4 Version table: *** 0.4.8-14ubuntu4 0 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages 100 /var/lib/dpkg/status # lsb_release -rd Description: Ubuntu 10.04.1 LTS Release: 10.04 ** Affects: ubuntu Importance: Undecided Status: New ** Description changed: Logging in to an iSCSI target sends udev/lvm/multipath into an endless loop using 100% cpu pounding the iSCSI target. # uptime - 15:42:56 up 48 min, 1 user, load average: 10.05, 9.37, 8.90 + 15:42:56 up 48 min, 1 user, load average: 10.05, 9.37, 8.90 # vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- - r b swpd free buff cache si so bi bo in cs us sy id wa - 8 0 0 7706652 66392 85540 0 0 4713 14 157 863 13 56 29 2 - 8 1 0 7704424 66400 85544 0 0 36508 132 30954 66627 16 54 29 1 + r b swpd free buff cache si so bi bo in cs us sy id wa + 8 0 0 7706652 66392 85540 0 0 4713 14 157 863 13 56 29 2 + 8 1 0 7704424 66400 85544 0 0 36508 132 30954 66627 16 54 29 1 12 0 0 7705376 66400 85560 0 0 37020 92 30885 66863 15 59 25 1 - 8 0 0 7705468 66400 85568 0 0 35992 96 30462 65656 12 58 29 1 + 8 0 0 7705468 66400 85568 0 0 35992 96 30462 65656 12 58 29 1 These entries changes pid constantly: # ps ax | grep -E "lvm|multipath" - 1272 ? SLl 0:14 /sbin/multipathd - 6403 ? R< 0:00 /sbin/multipath -v0 /dev/sdp - 6462 ? R< 0:00 /sbin/multipath -v0 /dev/sdu - 6480 ? S< 0:00 /sbin/multipath -v0 /dev/sdt - 6519 ? R< 0:00 /sbin/multipath -v0 /dev/sdr - 6571 ? S< 0:00 /sbin/multipath -v0 /dev/sds - 6572 ? R< 0:00 /sbin/multipath -v0 /dev/sdy - 6606 ? S< 0:00 /sbin/multipath -v0 /dev/sdq - 6641 ? S< 0:00 /lib/udev/watershed sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y - 6644 ? S< 0:00 sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y - 6649 ? D< 0:00 /sbin/lvm vgscan + 1272 ? SLl 0:14 /sbin/multipathd + 6403 ? R< 0:00 /sbin/multipath -v0 /dev/sdp + 6462 ? R< 0:00 /sbin/multipath -v0 /dev/sdu + 6480 ? S< 0:00 /sbin/multipath -v0 /dev/sdt + 6519 ? R< 0:00 /sbin/multipath -v0 /dev/sdr + 6571 ? S< 0:00 /sbin/multipath -v0 /dev/sds + 6572 ? R< 0:00 /sbin/multipath -v0 /dev/sdy + 6606 ? S< 0:00 /sbin/multipath -v0 /dev/sdq + 6641 ? S< 0:00 /lib/udev/watershed sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y + 6644 ? S< 0:00 sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y + 6649 ? D< 0:00 /sbin/lvm vgscan # ps ax | grep -E "lvm|multipath" - 1272 ? SLl 0:14 /sbin/multipathd + 1272 ? SLl 0:14 /sbin/multipathd 10467 ? S< 0:00 /sbin/multipath -v0 /dev/sdv 10498 ? R< 0:00 /sbin/multipath -v0 /dev/sdy 10506 ? S< 0:00 /lib/udev/watershed sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y 10507 ? S< 0:00 sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y 10536 ? S< 0:00 /sbin/multipath -v0 /dev/sdu 10571 ? S< 0:00 /sbin/multipath -v0 /dev/sdz 10647 ? R< 0:00 /sbin/lvm vgchange -a y 10656 ? S< 0:00 /sbin/multipath -v0 /dev/sdr # apt-cache policy udev lvm2 open-iscsi multipath-tools udev: - Installed: 151-12.1 - Candidate: 151-12.1 - Version table: - *** 151-12.1 0 - 500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages - 100 /var/lib/dpkg/status - 151-12 0 - 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages + Installed: 151-12.1 + Candidate: 151-12.1 + Version table: + *** 151-12.1 0 + 500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages + 100 /var/lib/dpkg/status + 151-12 0 + 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages lvm2: - Installed: 2.02.54-1ubuntu4.1 - Candidate: 2.02.54-1ubuntu4.1 - Version table: - *** 2.02.54-1ubuntu4.1 0 - 500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages - 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages - 100 /var/lib/dpkg/status - 2.02.54-1ubuntu4 0 - 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages + Installed: 2.02.54-1ubuntu4.1 + Candidate: 2.02.54-1ubuntu4.1 + Version table: + *** 2.02.54-1ubuntu4.1 0 + 500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages + 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages + 100 /var/lib/dpkg/status + 2.02.54-1ubuntu4 0 + 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages open-iscsi: - Installed: 2.0.871-0ubuntu4 - Candidate: 2.0.871-0ubuntu4 - Version table: - *** 2.0.871-0ubuntu4 0 - 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages - 100 /var/lib/dpkg/status + Installed: 2.0.871-0ubuntu4 + Candidate: 2.0.871-0ubuntu4 + Version table: + *** 2.0.871-0ubuntu4 0 + 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages + 100 /var/lib/dpkg/status multipath-tools: - Installed: 0.4.8-14ubuntu4 - Candidate: 0.4.8-14ubuntu4 - Version table: - *** 0.4.8-14ubuntu4 0 - 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages - 100 /var/lib/dpkg/status + Installed: 0.4.8-14ubuntu4 + Candidate: 0.4.8-14ubuntu4 + Version table: + *** 0.4.8-14ubuntu4 0 + 500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages + 100 /var/lib/dpkg/status + + # lsb_release -rd + Description: Ubuntu 10.04.1 LTS + Release: 10.04 -- udev/lvm/iscsi/multipath scanning loop https://bugs.launchpad.net/bugs/663283 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
