Linux服務器,查看日誌發現程序沒法繼續寫文件,可是用df -h查看磁盤容量還有剩餘。node
排查思路:懷疑是機器的inode節點被佔滿,使用df -i查看磁盤inode節點使用狀況,果真是inode節點滿了。服務器
進行以下步驟進行排查:app
1,df -i查看磁盤節點使用狀況,查看到inode節點已滿。spa
[aig_sg_automation_test@xen18-52 aig_sg_automation_test]$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-LogVol00
3000592 462749 2537843 16% /
tmpfs 1023253 5 1023248 1% /dev/shm
/dev/xvda1 51200 42 51158 1% /boot
172.16.29.199:/backup100/SoftWare
4487457984 552476 4486905508 1% /mnt日誌
2,進入到可能的目錄,運行for i in ./*; do echo i;findi;findi | wc -l; done統計當前目錄使用節點的狀況xml
3,發現io
/usr/local/was/IBM/WebSphere/AppServer/profiles/aig_sg_automation_test/EBAO_ARCH_HOME/print_archive_data/document/pdfclass
天天有10000+ pdf生成,直接刪除歷史文件,pdf
。test