GreenArrow Documentation

Don’t fsync Messages

When the opt.queue_no_fsync boolean setting is turned on, GreenArrow does not fsync() when writing messages to the disk-queue. This improves performance but increases the risk that if there is a crash it will cause message(s) to get lost or corrupted.

To enable, run:

echo 1 > /var/hvmail/control/opt.queue_no_fsync
hvmail_init restart_send_processes

To disable, run:

echo 0 > /var/hvmail/control/opt.queue_no_fsync
hvmail_init restart_send_processes

This is disabled by default.