Skip to content

setqload.8

Manvendra Bhangui edited this page Feb 25, 2024 · 3 revisions

NAME

setqload - set queue load manually to dynamically add a new queue

SYNOPSIS

setqload -q qnum qload
or
setqload -q qnum qloadl qloadr

DESCRIPTION

setqload communicates with qscheduler for the queue qnum and instructs it to set it's load as qload. If the average load goes beyond the limit defined by QUEUE_LOAD environment variable, qscheduler will increase the number of queues, provided the current number of queues is below the value of QUEUE_MAX environment variable.

qload is the sum of the concurrency used to concurrency max ratios of the local and remote queue. So if local concurrency is 2/10 and the remote concurrency is 5/20, qload is 45. Both of the below examples are equivalent.

$ setqload -q 10 45/100
$ setqload -q 10 2/10 5/20

SEE ALSO

qscheduler(8), qtop(1), qmail-qread(8), qmonitor(8), multi-queue(8)

Clone this wiki locally