solaris 下sendmail出现多个进程,机器变得很慢。
今天发现Unix server 非常慢,后来一查是有多个sendmail process, 原因是root 有很多的mail.是cron 里发来的
在网上找了一下资料后便在server 上清除下面的文件。
http://www.linuxeden.com/html/sysadmin/20010313/19057.html
clear the following file.
/var/spool/clientmqueue
/var/spool/mqueue
/var/mail/
Stop the unix server and restart.
/etc/init.d/sendmail stop
/etc/init.d/sendmail start
防止以后收太多的mail, cron program 做了修改。
crontab -e username
若是你不希望收到这样的信,请在每一行空一格之后加上 > /dev/null 2>&1
页:
[1]