一年多来,fstab没有变化.没有网络驱动器.
*** 作系统:CentOS 7.0
strace df的输出:
execve("/usr/bin/df",["df"],[/* 22 vars */]) = 0brk(NulL) = 0x1499000mmap(NulL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x7f628668f000access("/etc/ld.so.preload",R_OK) = -1 ENOENT (No such file or directory)open("/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = 3fstat(3,{st_mode=S_IFREG|0644,st_size=45250,...}) = 0mmap(NulL,45250,PROT_READ,MAP_PRIVATE,3,0) = 0x7f6286683000close(3) = 0open("/lib64/libc.so.6",O_RDONLY|O_CLOEXEC) = 3read(3,"7ELF/dev/xvda1 / ext4 defaults,noatime 1 1/swapfile swap swap sw 0 0systemctl restart proc-sys-fs-binfmt_misc.mount>P%"...,832) = 832fstat(3,{st_mode=S_IFREG|0755,st_size=2173512,3981792,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_DENYWRITE,0) = 0x7f62860a2000mprotect(0x7f6286265000,2093056,PROT_NONE) = 0mmap(0x7f6286464000,24576,MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE,0x1c2000) = 0x7f6286464000mmap(0x7f628646a000,16864,MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,0) = 0x7f628646a000close(3) = 0mmap(NulL,0) = 0x7f6286682000mmap(NulL,8192,0) = 0x7f6286680000arch_prctl(ARCH_SET_FS,0x7f6286680740) = 0mprotect(0x7f6286464000,16384,PROT_READ) = 0mprotect(0x616000,PROT_READ) = 0mprotect(0x7f6286690000,PROT_READ) = 0munmap(0x7f6286683000,45250) = 0brk(NulL) = 0x1499000brk(0x14ba000) = 0x14ba000brk(NulL) = 0x14ba000open("/usr/lib/locale/locale-archive",st_size=106070960,106070960,0) = 0x7f627fb79000close(3) = 0open("/usr/share/locale/locale.alias",st_size=2502,0) = 0x7f628668e000read(3,"# Locale name alias data base.\n#"...,4096) = 2502read(3,"",4096) = 0close(3) = 0munmap(0x7f628668e000,4096) = 0open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo",O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo",O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo",O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo",O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo",O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo",O_RDONLY) = -1 ENOENT (No such file or directory)open("/etc/mtab",O_RDONLY|O_CLOEXEC) = 3fstat(3,{st_mode=S_IFREG|0444,st_size=0,"rootfs / rootfs rw 0 0\nsysfs /sy"...,1024) = 1024read(3,"oexec,relatime,memory 0 0\ncgroup"...,"rw,nosuID,nodev,size=14"...,1024) = 167read(3,1024) = 0close(3) = 0munmap(0x7f628668e000,4096) = 0stat("/",{st_mode=S_IFDIR|0555,st_size=4096,...}) = 0stat("/sys",...}) = 0stat("/proc",...}) = 0stat("/dev",{st_mode=S_IFDIR|0755,st_size=2780,...}) = 0stat("/sys/kernel/security",...}) = 0stat("/dev/shm",{st_mode=S_IFDIR|S_ISVTX|0777,st_size=40,...}) = 0stat("/dev/pts",...}) = 0stat("/run",st_size=1100,...}) = 0stat("/sys/fs/cgroup",st_size=340,...}) = 0stat("/sys/fs/cgroup/systemd",...}) = 0stat("/sys/fs/pstore",...}) = 0stat("/sys/fs/cgroup/devices",...}) = 0stat("/sys/fs/cgroup/pIDs",...}) = 0stat("/sys/fs/cgroup/cpu,cpuacct",...}) = 0stat("/sys/fs/cgroup/memory",...}) = 0stat("/sys/fs/cgroup/hugetlb",...}) = 0stat("/sys/fs/cgroup/freezer",...}) = 0stat("/sys/fs/cgroup/blkio",...}) = 0stat("/sys/fs/cgroup/perf_event",...}) = 0stat("/sys/fs/cgroup/cpuset",...}) = 0stat("/sys/fs/cgroup/net_cls,net_prio",...}) = 0stat("/sys/kernel/config",...}) = 0stat("/",...}) = 0stat("/proc/sys/fs/binfmt_misc",
fstab文件:
解决方法 7.5升级后,在几台服务器上开始出现此问题.快速重启将解决问题,但我无法负担重启生产主机,经过数小时的故障排除后,为我修复了它. 总结以上是内存溢出为你收集整理的linux – CentOS 7:df开始挂起全部内容,希望文章能够帮你解决linux – CentOS 7:df开始挂起所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)