为确保系统正常稳定运行,如果出现大量 sendmail和postdrop进程,
解决办法:
先把僵尸进程都干掉ps -ef | egrep "sendmail|postdrop" | grep -v grep |xargs kill,让内存降下来。
为防以后postfix挂了再出现类似问题,可以进行如下配置,将/etc/crontab和/etc/cron.d/0hourly里的MAILTO=root修改为MAILTO=""
另外建议各位在每一条crontab 执行任务后面增加 &>/dev/null