Disk-based queuing and VM/DISKQ_PERCENT environment variable
These cases can trigger disk-based queuing:
- for the process is selected and the total RAM that is required for the queues exceeds the configured threshold. The message count in queue is more than or equal to the default minimum message count.
- The used virtual memory percent exceeds the threshold. The message count in queue is more than or equal to the default minimum message count.
You can tune the trigger condition by setting the environment variables
DISKQ_PERCENT
and DISKQ_MINMSGS
before starting a process.
DISKQ_PERCENT
: The defaultDiskQue
Virtual Memory percent is 75. (75%).DISKQ_MINMSGS
: The defaultDiskQue
Minimum # of Messages/que is 50.