/var/spool/postfix/maildrop filling up inodes.

foreverlee發表於2016-12-20
inodes were filled up 100%.
[root@p07pub1 subsys]# df -i
檔案系統              Inode  已用(I)  可用(I) 已用(I)%% 掛載點
/dev/mapper/VG00-LogVol00
                      262144    7470  254674    3% /
tmpfs                2036378      64 2036314    1% /dev/shm
/dev/mapper/VG00-LogVol06
                     10289152     143 10289009    1% /backup
/dev/sda1             102400      39  102361    1% /boot
/dev/mapper/VG00-LogVol01
                     5120000    3839 5116161    1% /home
/dev/mapper/VG00-LogVol03
                      512064     201  511863    1% /tmp
/dev/mapper/VG00-LogVol04
                      512064  142563  369501   28% /usr
/dev/mapper/VG00-LogVol05
                      256000  256000       0  100% /var
/dev/mapper/VG01-lvusrsap
                     10864202  570912 10293290    6% /usr/sap
/dev/mapper/VG01-lvsapmnt
                     4240162    8428 4231734    1% /sapmnt
/dev/mapper/VG01-lvoracle
                     246085578   65550 246020028    1% /oracle
/dev/mapper/VG01-lvsms
                     231530134   97379 231432755    1% /sms

Over 1000 "/usr/sbin/postdrop -r" found by ps.
[root@p07pub1 subsys]# ps -ef|grep "/usr/sbin/postdrop -r"
root        640    634  0 Dec13 ?        00:00:09 /usr/sbin/postdrop -r
root        886    880  0 Dec08 ?        00:00:16 /usr/sbin/postdrop -r
root       2511   2505  0 Dec15 ?        00:00:06 /usr/sbin/postdrop -r
root       7105   7100  0 Dec09 ?        00:00:15 /usr/sbin/postdrop -r
root       8243   8241  0 Dec14 ?        00:00:07 /usr/sbin/postdrop -r
root       8595   8590  0 10:39 ?        00:00:00 /usr/sbin/postdrop -r

Killed the processes.
ps -ef|grep "/usr/sbin/postdrop -r"|grep -v grep |awk '{print $2}'|xargs kill


Release Inodes locks.
[root@p07pub1 maildrop]# rm -f *
[root@p07pub1 maildrop]# df -i
檔案系統              Inode  已用(I)  可用(I) 已用(I)%% 掛載點
/dev/mapper/VG00-LogVol00
                      262144    7470  254674    3% /
tmpfs                2036378      64 2036314    1% /dev/shm
/dev/mapper/VG00-LogVol06
                     10289152     143 10289009    1% /backup
/dev/sda1             102400      39  102361    1% /boot
/dev/mapper/VG00-LogVol01
                     5120000    3839 5116161    1% /home
/dev/mapper/VG00-LogVol03
                      512064     201  511863    1% /tmp
/dev/mapper/VG00-LogVol04
                      512064  142563  369501   28% /usr
/dev/mapper/VG00-LogVol05
                      256000    4110  251890    2% /var
/dev/mapper/VG01-lvusrsap
                     10864202  570912 10293290    6% /usr/sap
/dev/mapper/VG01-lvsapmnt
                     4240162    8428 4231734    1% /sapmnt
/dev/mapper/VG01-lvoracle
                     246085578   65552 246020026    1% /oracle
/dev/mapper/VG01-lvsms
                     231530134   97379 231432755    1% /sms
[root@p07pub1 maildrop]#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/76065/viewspace-2131008/,如需轉載,請註明出處,否則將追究法律責任。

相關文章