mod_xfer
The mod_xfer
module handles most of the FTP commands related to
file transfers.
<VirtualHost>
, <Global>
, <Anonymous>
The TransferPriority
directive is used to tweak the process
priority (a la nice(1)
) of the session during data
transfers. For example, large (or anonymous) data transfers can be configured
to have lower priorities, so as to get lower priority than other applications
from the kernel.
The priority parameter can one of the convenient "high", "medium", or
"low" keywords, or it can be an explicit number. As per the
nice(1)
man page, the higher the number, the lower the priority;
the highest priority is -20, and the lower priority is 19.
Examples:
# All data transfers get a low priority TransferPriority APPE,RETR,STOR lowOr maybe only downloads should have lower priorities, but uploads should be fine:
TransferPriority RETR low
mod_xfer
module is always installed.