Bug#810687: mdadm: eats all cpu time on all cores

2023-02-25 Thread Daniel Baumann
close 810687
thanks

Hi Michael,

thank you for reporting this and sorry for the inconvenience.

Given that the bug is 7 years old, I guess you fixed that system (if it
still exists) in the meantime. As nobody else submitted similar bugs
like that, I must assume that it was a "one off"-thing specific to your
setup, or, most likely a corner case probably fixed in any of the newer
mdadm/kernel versions since and thus closing the bug.

If you still have the problem, feel free to reopen the bug.

Regards,
Daniel



Bug#810687: mdadm: eats all cpu time on all cores

2016-01-11 Thread Michal Suchanek
Package: mdadm
Version: 3.3.4-1.1+b1
Severity: normal

hello,

mdadm eats all CPU time of all cores.

This ShouldNotHappen(tm)

I had a lvm volume on a disk which failed while I was trying to upgrade
the volume to raid1 so my raid configureation is very broken.

killing mdadm only helps temporarily. it restarts itself.

Is there any debug information I can provide before I trash the disks?

Thanks

Michal


-- Package-specific info:
--- mdadm.conf
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST 
MAILADDR root
ARRAY metadata=ddf UUID=587baab3:c41402e5:c334b912:99c2ce3f
ARRAY container=587baab3:c41402e5:c334b912:99c2ce3f member=0 
UUID=363fa001:b5660ad0:24715b0d:afaecdb2

--- /etc/default/mdadm
INITRDSTART='none'
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [linear] [raid1] 
md126 : inactive sdg[0]
  975585280 blocks super external:/md127/0
   
md127 : inactive sdg[0](S)
  1177304 blocks super external:ddf
   
unused devices: 

--- /proc/partitions:
major minor  #blocks  name

   8   80   31266648 sdf
   8   814193280 sdf1
   8   82   27070464 sdf2
   8   96  976762584 sdg
   8  112  244198584 sdh
   8  113  244197376 sdh1
   8  128  244198584 sdi
   8  129   20481024 sdi1
   8  1303148740 sdi2
   8  132  220564417 sdi4
   70   55562240 loop0
   80   30310400 sda
   81   30310384 sda1

--- LVM physical volumes:
  PV VG   Fmt  Attr PSize   PFree
  /dev/sdg   scratchg lvm2 a--  931.51g 8.00m
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1005252,mode=755)
devpts on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=1612848k,mode=755)
/dev/sdf2 on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs 
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup 
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup 
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup 
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup 
(rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup 
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup 
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs 
(rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
/dev/sdh1 on /srv/rhev type ext4 (rw,relatime,data=ordered)
/dev/sdi1 on /home type ext3 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sdi4 on /scratch type ext3 (rw,relatime,data=ordered)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/1000 type tmpfs 
(rw,nosuid,nodev,relatime,size=806424k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
usmb on /home/hramrach/mnt type fuse.usmb 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,max_read=32768)
servo:/srv/samba/au on /home/hramrach/au type fuse.sshfs 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
servo:/srv/scratch/Incoming on /home/hramrach/inc type fuse.sshfs 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
usmb on /home/hramrach/win type fuse.usmb 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,max_read=32768)
/dev/sda1 on /srv/flash type ext4 (rw,relatime,data=ordered)
usmb on /home/hramrach/data type fuse.usmb 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,max_read=32768)
usmb on /home/hramrach/inst type fuse.usmb 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,max_read=32768)
heretic:/media/sdg1 on /home/hramrach/test type fuse.sshfs 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

--- initrd.img-3.16.0-4-amd64:

gzip: /boot/initrd.img-3.16.0-4-amd64: not