mdadm处理100%CPU

时间:2018-10-25 12:30:07

标签: mdadm

我有一个centos服务器几个月,一切正常。昨天我在上面安装了docker-io来运行映像。

从那里我可以从顶部看到,CPU始终接近100%,并且进程名为 mdadm

检查进程I,某些目录(在/ dev和/ sys上)正试图被访问/更改,但它们处于只读模式。

是什么原因造成的,我应该如何进行?如果我重新启动服务器,它会在几分钟内保持正常状态,但是很快该过程就会开始。

stat("/dev/md1", {st_mode=S_IFBLK|0660, st_rdev=makedev(9, 1), ...}) = 0
open("/dev/md1", O_RDONLY)              = 3
ioctl(3, GET_ARRAY_INFO, 0x7ffe236faee0) = 0
close(3)                                = 0
lseek(4, 0, SEEK_SET)                   = 0
dup(4)                                  = 3
fcntl(3, F_GETFL)                       = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7ce27fc000
lseek(3, 0, SEEK_CUR)                   = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
read(3, "Personalities : [raid1] \nmd2 : a"..., 1024) = 331
read(3, "", 1024)                       = 0
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x7f7ce27fc000, 4096)            = 0
open("/sys/block", O_RDONLY|O_DIRECTORY) = 3
close(3)                                = 0
open("/sys/block/md1/md/array_state", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block/md1/md/level", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block", O_RDONLY|O_DIRECTORY) = 3
close(3)                                = 0
open("/sys/block/md0/md/array_state", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block/md0/md/level", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block", O_RDONLY|O_DIRECTORY) = 3
close(3)                                = 0
open("/sys/block/md2/md/array_state", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block/md2/md/level", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block", O_RDONLY|O_DIRECTORY) = 3
close(3)                                = 0
open("/sys/block/md1/md/array_state", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block/md1/md/level", O_RDWR) = -1 EROFS (Read-only file system)
open("/sys/block", O_RDONLY|O_DIRECTORY) = 3
close(3)                                = 0

0 个答案:

没有答案