Re: what is the best way to delete so many queue files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



MontyRee schrieb:
> Hello, all.
>  
>  
> I found that so many unnessary queue files are saved at /var/spool/clientmqueue/ directory.
>  
>  
> I tested two way to delete these files. 
>  
> 1. 
> # rm -rf /var/spool/clientmqueue/* 
>  
> 2. 
> # cd /var/spool/clientmqueue/ ; find . | xargs rm -fv
>  
> But this makes a few load of the system and took too much time to delete.
>  
> What is the best way to delete fast without too much load?
>  
>  
>  
> Thanks in advance.

My first question is: why do you have so many queued messages in the
clientmqueue? This is not normal! Is that a result of excessive testing?

About how many mail in clientmqueue are we speaking?

The source of Sendmail ships with a tool called qtool.pl. Unfortunately
CentOS and upstream does not package it with the sendmail.rpm. Of course
it will not bypass a situation with lots of queue files in the
submission queue.

So, first check why you have need to delete so many queue files.

Alexander

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux