[Mimedefang] really high cpu

-ray ray at ops.selu.edu
Sun Mar 20 18:57:11 EST 2005


On Sun, 20 Mar 2005, John Nemeth wrote:

> copies).  BTW, 1 MB may not be that large of a file by today's
> standards, but relatively speaking it is huge for /etc/hosts.  A far
> more common problem that I see is extremely large /etc/passwds (another
> file that is linearly searched many times).

Far more common i see is an extremely large /var/spool/mqueue dir on very 
slow (ext2) filesystem.  Consider splitting it into several queues, and 
move old messages into slower queues.

I have 10 /var/spool/mqueue/q[0-9] dirs.  Using re-mqueue.pl, messages 
older than 1 hour get moved to a 1hr queue, older than 6hrs to a 6hr 
queue, older than 1 day to a 1d queue.  1hr queue runs every 15 minutes, 
6hr once per hour, 1d once every 2 hours.

ray
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean  				       	 http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist  	      AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the MIMEDefang mailing list