The problem is tha there is that one VPS and I wanted 2nd opinions about my dirty plan.
Thanks

On 2015-11-15 19:03, Matthew McGehrin wrote:
Is it possible to configure a 2nd VPS instance just for
fallback_relay? That way your primary queue is only for deliveries,
and your 2nd instance can handle the bounces.

I was working for an Online Gaming company and we would deliver 1-2
million messages per day, we had 3 active queues, and 1 delayed queue.

On the active queues we would set the fallback_relay to the delayed
queue, thus ensuring only active mail was being sent first.



Istvan Prosinger wrote:


On 13.11.2015 22:53, Phil Stracchino wrote:
On 11/13/15 14:17, Istvan Prosinger wrote:
I got two options that I know of. Signifficantly shortening the queue
lifetime, or (not) losing the queue from the RAM disk.
Just trying to measure which is worse (or to hear something new for me)

If you lack disk space for the queue, the server instance isn't up to
the job in the first place.

If you really think that keeping the queue in RAM is a better option
than on disk, despite that you probably have far more disk than RAM,
consider using a tmpfs instead of a RAMdisk, with the size of the tmpfs capped at the size RAMdisk you were plannind. A RAMdisk will use all of
that RAM all of the time, whether needed for queued mail or not.  A
tmpfs will consume only as much RAM at any given time as it needs right
then.


Reply via email to