Yes /var/qmail/queue. That folder has most of the I/O and where a ram disk has the most benefit. And when you create the ramdisk use 'noatime' so the CPU doesn't waste time logging meaningless access timestamps. You could do a tarzip backup of the queue folder every 10 minutes. If you have a substantial risk of unplanned shutdowns and crashes and you're dealing with critical emails I wouldn't use a ram disk.

Jeff

On 6/6/2024 1:20 PM, William Silverstein wrote:
I didn't think about the qmail log files, which would be good.

Where is qmail-queue? What is that? Do you mean /var/qmail/queue? I don't
want to risk mail being lost if the system was unexpectedly shutdown.





On Thu, June 6, 2024 5:39 am, Jeff Koch wrote:
We've used ramdisks to hold the qmail-queue and it did make a big
difference in speed. Depending on the size of ram disk you could also
consider including /var/log/qmail which also uses a lot of IO.  Although
we backed up the ram disk before planned reboots we weren't particularly
concerned if those two directories were accidentally wiped.

Jeff

On 6/6/2024 3:28 AM, William Silverstein wrote:
I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
processing, i.e., handling scanning (using qmail-scanner)?

Is this a crazy idea?




Reply via email to