Queue Size - Rule Queueing


All traffic processed by the system is in the form of network packets. Packets range from 48 to 1540 bytes in size and contain both the control data and application data for the stream.

Rules perform speed limiting by placing the packets into a queue until there is enough free bandwidth to send them onto their destination. If a rule is limited severely, the queued packets can build up until there is no more space to store them.

The queue size property allows the administrator to set the maximum number of packets that can be stored for the rule. If the value is exceeded, any additional traffic is discarded until there is a free slot in the packet queue. This prevents a single stream from using up all available memory by queueing packets. Long queues are unnecessary as most applications treat queued packets as discarded because they are not received within the protocol's strict time limit.


The maximum queue size for a rule may be set bewteen 1 and 100 packets (inclusive). The default value is 50 but any size above 15 or 20 is fine for most applications. A typical packet is 1,500 bytes long so a queue size of 50 will hold up to 75 KB of traffic.

Note that dynamic rules apply the queue size separately to each user. So a dynamic rule that is processing 100 users will have an effective queue size of 5,000.

User Interface

In the queue size field, enter a value ranging from 1 to 100. This sets the maximum queue size that is to be reserved for the rule's queue.


Name Value
Property Name Queue size
Category Rule Queuing
Values A value between 1 and 100
Default 50
XML file rules.xml
XML name <queueSize>
XML values Integer between 1 and 100 inclusive.