Using ramfs for incoming queue
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Jun 11 16:14:52 IST 2003
At 15:19 11/06/2003, you wrote:
>Good day all,
>
>I am exploring using ramfs for MS incoming queue.
>
>This is a Redhat 7.3 system with 3GB RAM. I am using the following command:
>
>$ mount -t -o maxsize=n none /var/spool/MailScanner/incoming ramfs
>
>My question is, what is a decent size for n?
>
>I know that is probably site-dependent, but an advice is appreciated. This
>particular system handles an average of 20,000 messages per day.
Use tmpfs and not ramfs and you don't need to worry about it, the OS will
expand and contract it dynamically for you.
mount -t tmpfs tmpfs /var/spool/MailScanner/incoming
(but obviously put the relevant info into your /etc/fstab so it gets
mounted at boot-time).
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list