Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

qmail queue in RAM

Status
Not open for further replies.

Shaad

Technical User
Mar 21, 2002
46
US
hello, I saw someone mention running qmail's queue in RAM
so every message that can be delivered in the first attempt
never hits the disk. Has anyone seen any documents or packages that do this? Any info greatly appriciated. This could really speed things up on my system.

Nick
 
This doesn't make sense to me. If your system is small enough to run the queue in RAM then you probably don't have a speed issue with the queue. If your system is large enough to need some speed improvement, it doesn't sound like a good size fit for the queue.

That said, you'll need to create a RAM drive out of your /var/qmail/queue folder - creating a RAM drive is documented on tldp.org.

I cannot speak to whether qmail itself will write to the "partition type" for a RAM drive, or whether the RAM drive can be formatted to a partition format that qmail supports.

Oh, and what if the power goes out or the machine freezes? Bye-Bye queue.

Is this really a good idea? You'll also be taking available memory away from tasks such as SpamAssassin and your anti-virus scanner, which you have already dedicated memory to, right?!?!!!?!

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
This would be for outgoing newsletters...

So, The newsletter management interface would
give me a close place to restart the task
in the case of 'power failure'. Also, Since this
is a newsletter delivery MTA, It will not run things
like spammassasin, Virus scanning.. no POP3 at all..

I think it makes good sense, And I've heard of people
setting it up, They just will not share the details.

Imagine taking 400MB or more of your 2GB of ram and
having a majority of your messages never hit the disk
because they were delivered from RAM.. Seems like a good
idea to me.. If it maxes out, Or they have to be stored
they simply write to disk.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top