Community discussions

 
Nemoo
just joined
Topic Author
Posts: 7
Joined: Fri Oct 19, 2012 6:13 pm

Problem with simple queues

Tue May 28, 2013 9:49 pm

Hello
I have problem with simple queues

I have global queue main and 2 sub queues with services:

1. services1 - whith piorytety 6
2. services2 - whith piorytety 5

But working only 1 sub queuer.

Example when working service1:
main
|
|--services1
|         |
|         |--http
|         |--ftp
|         |--smtp
|
|
|--services2
        |
        |-ssh
        |-pptp


Example when working service2:
main
|
|--services2
|        |
|        |-ssh
|        |-pptp
|
|--services1
         |
         |--http
         |--ftp
         |--smtp


What I am doing wrong?

Example configuration when working services1:
/queue simple> print
Flags: X - disabled, I - invalid, D - dynamic 
 0    name="main" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=none packet-marks="" direction=both priority=1 queue=default/default limit-at=520k/4M 
      max-limit=520k/4M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default 

 1    name="services1" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=main packet-marks="" direction=both priority=6 queue=moja/default-small 
      limit-at=400k/4M max-limit=400k/4M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small 

 2	  name="services2" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=main packet-marks="" direction=both priority=5 
      queue=default-small/default-small limit-at=90k/100k max-limit=210k/1080k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small 
	  
 ......
      name="http" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=services1 packet-marks=http direction=both priority=4 queue=default/default 
      limit-at=230k/2M max-limit=400k/3M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default 
	  
 ......
      name="ssh" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=services2 packet-marks=ssh direction=both priority=2 
      queue=default-small/default-small limit-at=30k/30k max-limit=80k/80k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small 

Example configuration when working services2:
/queue simple> print
Flags: X - disabled, I - invalid, D - dynamic 
 0    name="main" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=none packet-marks="" direction=both priority=1 queue=default/default limit-at=520k/4M 
      max-limit=520k/4M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default 

 1	  name="services2" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=main packet-marks="" direction=both priority=5 
      queue=default-small/default-small limit-at=90k/100k max-limit=210k/1080k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small 
	  
	  
 2    name="services1" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=main packet-marks="" direction=both priority=6 queue=moja/default-small 
      limit-at=400k/4M max-limit=400k/4M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small 

	  
 ......
      name="http" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=services1 packet-marks=http direction=both priority=4 queue=default/default 
      limit-at=230k/2M max-limit=400k/3M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default 
	  
 ......
      name="ssh" target-addresses=xxx.xxx.xxx.xxx/29 interface=all parent=services2 packet-marks=ssh direction=both priority=2 
      queue=default-small/default-small limit-at=30k/30k max-limit=80k/80k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small 

Who is online

Users browsing this forum: Google [Bot] and 40 guests