[Mimedefang] recommended memory for mimedefang

John Scully jscully at isupportisp.com
Tue Sep 23 17:05:01 EDT 2003


The tmpfs is a standard "ram disk" using some system memory as disk
space (hence the "temp" part of tmpfs - at shutdown you lose anything on
that "disk").

You gain performance two ways - mimedefang, spamassassin, clamav, DCC
all open, read and close the COMMANDS, HEADERS and MESSAGE files over,
and over, and over...some more then others, but the net effect is a LOT
of disk IO.  A ram disk speeds that up a lot.

The second benefit is that this tmpfs disk IO is not ON your other file
system, and is therefore not slowing down the diskio for the rest of the
system.

We use a mySQL based mail platform and when I moved
/var/spool/MIMEDefang to a tmpfs the database reads and writes improved
markedly.

Some OS platforms do tmpfs better then others - on Linux it is dynamic -
you set it to have a max size of say 100 Meg, but at any one time it is
only using as much as there is in that file system.  i.e. write a 5 meg
file to that "disk" and your free ram drops by 5 meg.  Delete it and
free ram goes back up.

John Scully

-----Original Message-----
From: mimedefang-admin at lists.roaringpenguin.com
[mailto:mimedefang-admin at lists.roaringpenguin.com] On Behalf Of Mark
Emerle
Sent: Tuesday, September 23, 2003 1:36 PM
To: mimedefang at lists.roaringpenguin.com
Subject: RE: [Mimedefang] recommended memory for mimedefang

David-

	Can you further comment on this? I have been running Mimedefang
for a
couple of months now and we do not use a tmpfs for
/var/spool/MIMEDefang.
Recently we have seen errors from Mimedefang "Too many open files"...

-Mark Emerle
Vision Data Equipment Corp.
(518) 434-2193

-----Original Message-----
From: mimedefang-admin at lists.roaringpenguin.com
[mailto:mimedefang-admin at lists.roaringpenguin.com]On Behalf Of David F.
Skoll
Sent: Tuesday, September 23, 2003 12:26 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] recommended memory for mimedefang


On Tue, 23 Sep 2003, Datereactor wrote:

> Daily mail volume = 28000 msgs
> Average Mail size=   50KB
> Peak message per min = 40 msg
> Average message per min= 25
> Local mail volume= 30 %

OK.  First of all, on Solaris, it is mandatory to put
/var/spool/MIMEDefang
on a tmpfs file system; otherwise, your machine will buckle under the
load.

I would try it as-is; it should be powerful enough.  Limit your max
slaves
to around 9 or 10 to avoid swapping too much.  If the machine seems slow
and often runs out of slaves, add another 256MB.

Regards,

David.
_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




This email scanned for Viruses and Spam by iSupportISP using SpamViper. 
For more information on our best in class VISP Solutions please visit us at http://www.isupportisp.com


More information about the MIMEDefang mailing list