[CentOS] Huge mailq

nate centos at linuxpowered.net
Tue Feb 26 02:46:37 UTC 2008


Jason Pyeron wrote:
> Where should we start on preventing this type of problem?
>
> [root at server34 mqueue]# find | wc -l
> 185259

/etc/init.d/sendmail stop
chkconfig --level 2345 sendmail off
find /var/spool/mqueue -type f -exec rm -f {} \;

That'll empty out your queue and you won't have to worry about
it building up again, pesky thing!

:)

nate




More information about the CentOS mailing list