-
-
Notifications
You must be signed in to change notification settings - Fork 3
qmonitor.8
qmonitor - monitor queue loads and increase it dynamically
qmonitor [-t threshold] [-i interval] [-nv]
qmonitor monitors the queue load when indimail-mta is running in IPC mode (see qscheduler(8)). queue load is the ratio of current concurrency to the max concurrency. The max concurrency is defined by the control files concurrencylocal for the local queue and concurrencyremote for the remote queue. So the total queue load is the sum of the queue load for local and remote concurrency. The threshold for both local and remote concurrency is defined at compile time as 90. The sum for the two queues (local and remote) is therefore 180. When the total queue load crosses this value, qmonitor instructs qscheduler to increase the queue count. The queue count is increased only if the number of queues is below the value of the QUEUE_MAX environment variable (default 20). The current load is calculated by the formula
(threshold * (lcur / lmax)) + (threshold * (rcur / rmax))
where
lcur = current local concurrency
lmax = max local concurrency
rcur = current remote concurrency.
rmax = max remote concurrency
-t threshold
increment queue if the load crosses threshold. The default threshold
is 180
-i interval
Monitor queue every interval seconds instead of the default 60 seconds
-v
verbose mode. Display local and remote queue loads. Normally load is
reported only when load threshold is exceeded.
qscheduler(8), qmail-qread(8), setqload(8), qtop(1), multi-queue(8)